User:Alistaire/DefsStdExample

From RimWorld Wiki
< User:Alistaire
Revision as of 16:21, 12 April 2015 by Alistaire (talk | contribs) (Updated parameters)
Jump to navigation Jump to search

researchProjectDef

Parents: <>Defs,<>ResearchProjectDefs

<>researchProjectDef
Element Contents Notes Examples
<>defName defName The in-script defName of this research project, referenced by other research projects. <defName>Brewing</defName>
<>label string (lc) The in-game name of this research project. Its first character is uppercased in some in-game instances. Existing labels can be found on the Research page. <label>stonecutting</label>
<>description string (ucfirst) The in-game description of this research project, shown in the research window. Existing descriptions can be found on the Research page. <description>Miner's picks are 20% more effective.</description>
<>totalCost int The reseach cost of this research project. Existing costs can be found on the Research page. <totalCost>1000</totalCost>
<>researchMods list item A list with list items containing <>specialAction tags. <researchMods>
   <li>
      <specialAction>ResearchModsSpecial.GunTurretCooling</specialAction>
   </li>
</researchMods>
<>prerequisites list item What research projects are required to see this one. A list with list items containing defName tags from other research projects. Existing prerequisites can be found on the Research page. <prerequisites>
   <li>ShipBasics</li>
   <li>Cryptosleep</li>
</prerequisites>