Difference between revisions of "User:Alistaire/Tag:ThingDef"

From RimWorld Wiki
Jump to navigation Jump to search
(Changed category type link)
(Added more (comment)'s to value types)
Line 88: Line 88:
 
| [[User:Alistaire/Tag:fertility|<fertility>]] || ''float''
 
| [[User:Alistaire/Tag:fertility|<fertility>]] || ''float''
 
|-
 
|-
| [[User:Alistaire/Tag:fillPercent|<fillPercent>]] || ''float''
+
| [[User:Alistaire/Tag:fillPercent|<fillPercent>]] || ''float'' (0.0 to 1.0)
 
|-
 
|-
 
| [[User:Alistaire/Tag:graphicClass|<graphicClass>]] || ''[[User:Alistaire/Type:graphicClass|graphicClass]]''
 
| [[User:Alistaire/Tag:graphicClass|<graphicClass>]] || ''[[User:Alistaire/Type:graphicClass|graphicClass]]''
Line 98: Line 98:
 
| [[User:Alistaire/Tag:label|<label>]] || ''string''
 
| [[User:Alistaire/Tag:label|<label>]] || ''string''
 
|-
 
|-
| [[User:Alistaire/Tag:onGroundRandomRotateAngle|<onGroundRandomRotateAngle>]] || ''rotation''
+
| [[User:Alistaire/Tag:onGroundRandomRotateAngle|<onGroundRandomRotateAngle>]] || ''integer'' (degrees)
 
|-
 
|-
 
| [[User:Alistaire/Tag:passability|<passability>]] || ''[[User:Alistaire/Type:passability|passability]]''
 
| [[User:Alistaire/Tag:passability|<passability>]] || ''[[User:Alistaire/Type:passability|passability]]''
Line 110: Line 110:
 
| [[User:Alistaire/Tag:shaderType|<shaderType>]] || ''[[User:Alistaire/Type:shaderType|shaderType]]''
 
| [[User:Alistaire/Tag:shaderType|<shaderType>]] || ''[[User:Alistaire/Type:shaderType|shaderType]]''
 
|-
 
|-
| [[User:Alistaire/Tag:size|<size>]] || ''vector2''
+
| [[User:Alistaire/Tag:size|<size>]] || ''vector2'' (width, height)
 
|-
 
|-
 
| [[User:Alistaire/Tag:soundImpactDefault|<soundImpactDefault>]] || ''[[User:Alistaire/Type:sound|sound]]''
 
| [[User:Alistaire/Tag:soundImpactDefault|<soundImpactDefault>]] || ''[[User:Alistaire/Type:sound|sound]]''
Line 124: Line 124:
 
! Parameters
 
! Parameters
 
|-
 
|-
| [[User:Alistaire/Tag:ThingDef/Abstract|Abstract]] || ''boolean''
+
| [[User:Alistaire/Tag:ThingDef/Abstract|Abstract]] || ''boolean'' (default: false)
 
|-
 
|-
 
| [[User:Alistaire/Tag:ThingDef/Name|Name]] || ''string''
 
| [[User:Alistaire/Tag:ThingDef/Name|Name]] || ''string''

Revision as of 18:32, 1 February 2015

<ThingDef>

Parents: <Defs>, <ThingDefinitions>, <ThingDefs>

Values
..of which simple lists
<comps>
<inspectorTabs>
<placeWorkers>
<stuffCategories>
<thingCategories>
..other
<apparel>
<building>
<costList>
<colorGenerator> ( Class )
<equippedStatOffsets>
<filthLeavings>
<killedLeavings>
<recipeMaker>
<recipes>
<statBases>
Children tags
..of which boolean
<alwaysHaulable> boolean (default: false)
<castEdgeShadows> boolean (default: false)
<graphicOverdraw> boolean (default: false)
<hasInteractionCell> boolean (default: false)
<itemSurface> boolean (default: false)
<leaveResourcesWhenKilled> boolean (default: false)
<neverMultiSelect> boolean (default: false)
<rotatable> boolean (default: false)
<selectable> boolean (default: false)
<tradersCarry> boolean (default: false)
<useStandardHealth> boolean (default: false)
..other
<altitudeLayer> altitudeLayer
<category> thingDefCategory
<constructEffect> effect
<costStuffCount> integer
<defName> defName
<description> string
<designationCategory> designationCategory
<designationHotKey> hotkey
<drawerType> drawerType
<eType> eType
<fertility> float
<fillPercent> float (0.0 to 1.0)
<graphicClass> graphicClass
<graphicPath> graphicPath
<interactionSquareOffset> vector3
<label> string
<onGroundRandomRotateAngle> integer (degrees)
<passability> passability
<pathCost> float
<repairEffect> effect
<researchPrerequisite> research
<shaderType> shaderType
<size> vector2 (width, height)
<soundImpactDefault> sound
<staticSunShadowHeight> float
<terrainAffordanceNeeded> terrainAffordance
<thingClass> thingClass
<tickerType> tickerType
Parameters
Abstract boolean (default: false)
Name string
ParentName string