User talk:Syntaxaire: Difference between revisions

Jump to navigation Jump to search
2,565 bytes added ,  18:14, 28 July 2019
 
(3 intermediate revisions by the same user not shown)
Line 48: Line 48:
** in addition <code>reflect</code> that takes an integer that represents the % of damage reflected. this can be found on ModGlassArmor tier="_".
** in addition <code>reflect</code> that takes an integer that represents the % of damage reflected. this can be found on ModGlassArmor tier="_".
** sort of bug, but the current build of qud explorer only returns cold resistance and none of the other types. see: chrome mantle and quartzfur cloak. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 00:59, 22 July 2019 (UTC)
** sort of bug, but the current build of qud explorer only returns cold resistance and none of the other types. see: chrome mantle and quartzfur cloak. [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 00:59, 22 July 2019 (UTC)
* one tiny addition, <code>empsensitive</code> is a boolean (yes/no) that is based off of the value IsEMPSensitive="_". defaults to no [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 15:15, 24 July 2019 (UTC)


== new values for template character==
== new values for template character==
Line 61: Line 62:
[[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)
Line 68: Line 73:
[[User:Syntaxaire|Syntaxaire]] ([[User talk:Syntaxaire|talk]]) 17:35, 8 July 2019 (UTC)
[[User:Syntaxaire|Syntaxaire]] ([[User talk:Syntaxaire|talk]]) 17:35, 8 July 2019 (UTC)
** Done [[User:Syntaxaire|Syntaxaire]] ([[User talk:Syntaxaire|talk]]) 02:06, 11 July 2019 (UTC)
** Done [[User:Syntaxaire|Syntaxaire]] ([[User talk:Syntaxaire|talk]]) 02:06, 11 July 2019 (UTC)
== The Great Item Template Rehaul (and related templates) ==
Due to the giant column bloat, I separated more niche attributes to their own template. As such:
* the regular Item template will no longer take food related attributes except <code>preservedinto</code>/<code>preservedquantity</code> (although I am tempted to make tonics their own template as well).
* I also combined several of the boolean values (twohanded etc) to all be stored in the Extra attribute, but this won't effect how this data is being inputted.
* New template for foodstuffs, [[Template:Food]]. uses all the attribute names that Item used to have, just in a different template
* [[Template:Corpse]] is not an infobox, but a row similar to [[Template:Cybernetic]] that will be located in [[Corpse]]. This also means that this is the only template that stores <code>butchersinto</code> now.
** All attributes are the same except <code>disassemblesinto</code>,which takes the bits of a robot corpse.
** Corpse template is only for objects with "corpse" in the name, not just because it inherits from Corpse! [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 18:13, 28 July 2019 (UTC)
I have to finish setting up Corpses and related tables before I am able to make some pushes to qbe myself, but I plan on getting these eventually if you're not on them.
Let me know if there are any issues or questions you have! - [[User:Teamtoto|Teamtoto]] ([[User talk:Teamtoto|talk]]) 16:31, 28 July 2019 (UTC)

Navigation menu