User talk:Syntaxaire: Difference between revisions

Line 61: Line 61:
[[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 14:58, 9 July 2019 (UTC)
[[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 14:58, 9 July 2019 (UTC)
** edited the inventory template so it takes unnamed arguments. It's much easier to read and type now [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 16:10, 11 July 2019 (UTC)
** edited the inventory template so it takes unnamed arguments. It's much easier to read and type now [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 16:10, 11 July 2019 (UTC)
*** inventory template has been edited to take equip status. it defaults to yes, so it should check for noequip/ if its not considered equipment to set to no. the usage is now:<syntaxhighlight lang="sql">
| inventory = {{Inventory|(item)|(quantity, defaults to 1)|(if equipped,yes/no)}}
{{Inventory|(item2)|(quantity2, defaults to 1)|(yes/no)}}
{{Inventory|(item3)|(quantity3, defaults to 1)|(yes/no)}} etc...}}</syntaxhighlight> not sure if there are cases where creatures have multiple of the same equipment, where one is equipped and one is not. please let me know if you find such cases! Specifically, this is for checking AV/DV granted by equipment. After including the base AV,DV, I plan on letting a cargo query determine the bonus av and dv granted by equipment and skills. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 01:20, 22 July 2019 (UTC)


* new: not sure if it's the way to do it, but there are new values for each attribute: egodice, egotierdice for example. attributedice is NdM, and tierdice is (t-1)dM. the base attribute value is the same and takes the base integer value. Right now, these will not show up on the infobox because i'm mulling over how to present this information in a digestible format. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 23:10, 10 July 2019 (UTC)
* new: not sure if it's the way to do it, but there are new values for each attribute: egodice, egotierdice for example. attributedice is NdM, and tierdice is (t-1)dM. the base attribute value is the same and takes the base integer value. Right now, these will not show up on the infobox because i'm mulling over how to present this information in a digestible format. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 23:10, 10 July 2019 (UTC)