Difference between revisions of "Template:Define/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Actually, I'll redo this thing with the stats that actually take effect in the infobox. Most of these stats are redundant...)
(Cleared up the stats that have no effect on the infobox, and added the rest in.)
Line 1: Line 1:
 
===Description===
 
===Description===
This template defines the stats for an item that, after a long and confusing chain of transclusions, will end up in [[Template:Infobox/Thing]]. It's usage is just like other Infobox templates, but for the first parameter you have to type either Medicine, Material, Exotic Item or Textile. Most parameters are optional. Note: Some stats may no longer have any effect in the Infobox. The best thing to do is to fill in as much as possible.
+
This template defines the stats for an item that, after a long and confusing chain of transclusions, will end up in [[Template:Infobox/Thing]]. It's usage is just like other Infobox templates, but for the first parameter you have to type either Medicine, Material, Exotic Item or Textile. Most parameters are optional. Note: Some stats may no longer have any effect on the infobox.
  
 
===Keywords===
 
===Keywords===
Line 11: Line 11:
 
<pre style="word-wrap:break-word">
 
<pre style="word-wrap:break-word">
 
{{Define | (Medicine/Material/Textile/Exotic Item)
 
{{Define | (Medicine/Material/Textile/Exotic Item)
| category = (Deprecated? Needs verification)
 
| color = No apparent effect. (Deprecated?)
 
 
| image = Define a specific image name to be used in the Infobox. Not needed if the image name is the same as the page name.
 
| image = Define a specific image name to be used in the Infobox. Not needed if the image name is the same as the page name.
 
| accuracy (long) base =  
 
| accuracy (long) base =  
Line 18: Line 16:
 
| accuracy (short) base =
 
| accuracy (short) base =
 
| accuracy (touch) base =
 
| accuracy (touch) base =
| addictiveness = % suffix
 
| allow color generators =
 
| altitude layer =
 
| always haulable =
 
| appearance =
 
 
| armor - (blunt/sharp) base = no prefix or suffix
 
| armor - (blunt/sharp) base = no prefix or suffix
| armor - (blunt/electric/heat/sharp) factor = x prefix
+
| armor - (blunt/electric/heat/sharp) factor/offset = x prefix
| armor - (blunt/electric/heat/sharp) offset = add a - or + sign
+
| beauty base/factor/offset =
| beauty base = no prefix or suffix
 
| beauty factor = x prefix
 
| beauty offset = add a - or + sign, wiki will not fill in anything extra
 
| block adjacent sow = (for trees)
 
 
| blood filtration factor/offset =  
 
| blood filtration factor/offset =  
 
| blood pumping factor/offset =  
 
| blood pumping factor/offset =  
 
| breathing factor/offset =  
 
| breathing factor/offset =  
| commonality =
 
 
| consciousness factor/offset =
 
| consciousness factor/offset =
| construct effect =
+
| days to rot = (base)
| days to rot =
+
| description = the description in-game about the object
| def name =
 
| default color = (Deprecated?)
 
| default color two = (Deprecated?)
 
| description =
 
| destroy on drop =
 
 
| deterioration rate base =
 
| deterioration rate base =
| die if leafless =
 
 
| door opening speed factor =
 
| door opening speed factor =
| DPS =
 
| draw gui overlay =
 
| drawer type =
 
| drug category =
 
| e type =
 
| eat effect =
 
| equipment type =
 
 
| equipped angle offset =
 
| equipped angle offset =
| equipped texture path =
 
| fertility =
 
| fertility factor growth rate =
 
| fertility factor plant chance =
 
| fertility min =
 
| fill percent =
 
 
| flammability base/factor =
 
| flammability base/factor =
| food preference =
 
 
| global work speed offset =
 
| global work speed offset =
| graphic class =
 
| graphic on ground random rotate angle =
 
| graphic overdraw =
 
| graphic path =
 
| graphic shader type =
 
| grow days =
 
| grow min glow =
 
| harvest destroys =
 
| harvest min growth =
 
| harvest tag =
 
| harvest work =
 
| harvest yield =
 
| harvest yield range max =
 
| harvest yield range min =
 
| harvested thing def =
 
 
| hearing factor/offset =
 
| hearing factor/offset =
| hide at snow depth =
 
 
| hunger factor/offset =  
 
| hunger factor/offset =  
| ingested direct thought =
 
 
| insulation - cold factor =
 
| insulation - cold factor =
 
| insulation - heat factor =  
 
| insulation - heat factor =  
| is body part =
 
| is pleasurable drug =
 
| joy =
 
 
| joy offset =
 
| joy offset =
| joy factor =
+
| manipulation factor/offset =
| label =
+
| market value base/factor =
| leafless graphic graph =  
+
| mass = (base)
 
+
| max hit points base =
 +
| max hit points factor =
 +
| maximum comfortable temperature base =
 +
| medical potency base =
 +
| melee blunt damage base =
 +
| melee cooldown base/factor =
 +
| melee damage base =
 +
| melee sharp damage base =
 +
| metabolism factor/offset =
 +
| minimum comfortable temperature base =
 +
| move speed base =
 +
| moving factor/offset =
 +
| pain factor/offset =
 +
| ranged cooldown base =
 +
| rest effectiveness factor =
 +
| rest factor/offset=
 +
| sell price multiplier base =
 +
| sight factor/offset =
 +
| talking factor/offset =
 +
| target hit chance factor =
 +
| work to make base/factor/offset =
 +
| work to build factor/offset =
 
</pre>
 
</pre>

Revision as of 22:46, 8 January 2017

Description

This template defines the stats for an item that, after a long and confusing chain of transclusions, will end up in Template:Infobox/Thing. It's usage is just like other Infobox templates, but for the first parameter you have to type either Medicine, Material, Exotic Item or Textile. Most parameters are optional. Note: Some stats may no longer have any effect on the infobox.

Keywords

base = write in decimal form about a base stat.
factor = how many times your item affects something, eg. 2.5 would show on the Infobox: 2.5x
offset = add a + or - to say how much using this item will offset a stat

Detailed Usage

{{Define | (Medicine/Material/Textile/Exotic Item)
| image = Define a specific image name to be used in the Infobox. Not needed if the image name is the same as the page name.
| accuracy (long) base = 
| accuracy (medium) base = 
| accuracy (short) base =
| accuracy (touch) base =
| armor - (blunt/sharp) base = no prefix or suffix
| armor - (blunt/electric/heat/sharp) factor/offset = x prefix
| beauty base/factor/offset =
| blood filtration factor/offset = 
| blood pumping factor/offset = 
| breathing factor/offset = 
| consciousness factor/offset =
| days to rot = (base)
| description = the description in-game about the object
| deterioration rate base =
| door opening speed factor =
| equipped angle offset =
| flammability base/factor =
| global work speed offset =
| hearing factor/offset =
| hunger factor/offset = 
| insulation - cold factor =
| insulation - heat factor = 
| joy offset =
| manipulation factor/offset =
| market value base/factor =
| mass = (base)
| max hit points base = 
| max hit points factor =
| maximum comfortable temperature base =
| medical potency base =
| melee blunt damage base =
| melee cooldown base/factor =
| melee damage base =
| melee sharp damage base =
| metabolism factor/offset =
| minimum comfortable temperature base =
| move speed base =
| moving factor/offset =
| pain factor/offset =
| ranged cooldown base =
| rest effectiveness factor =
| rest factor/offset=
| sell price multiplier base =
| sight factor/offset =
| talking factor/offset =
| target hit chance factor =
| work to make base/factor/offset =
| work to build factor/offset =