Difference between revisions of "User:Alistaire/DefsStdExample"
Jump to navigation
Jump to search
(Created) |
(Updated parameters) |
||
Line 1: | Line 1: | ||
==researchProjectDef== | ==researchProjectDef== | ||
− | {{User:Alistaire/Template:DefsStdTemplateHeader|tag=researchProjectDef| | + | {{User:Alistaire/Template:DefsStdTemplateHeader|tag=researchProjectDef|showExamples=1|parents={{User:Alistaire/Template:DefsStdFormatter|Defs}},{{User:Alistaire/Template:DefsStdFormatter|ResearchProjectDefs}}}} |
{{User:Alistaire/Template:DefsStdTemplate|tag=defName|type=defName|notes=The in-script defName of this research project, referenced by other research projects.|examples=Brewing}} | {{User:Alistaire/Template:DefsStdTemplate|tag=defName|type=defName|notes=The in-script defName of this research project, referenced by other research projects.|examples=Brewing}} | ||
{{User:Alistaire/Template:DefsStdTemplate|tag=label|type=str|examples=stonecutting|typeInfo=[[Typeinfo:lc|lc]]|notes=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.}} | {{User:Alistaire/Template:DefsStdTemplate|tag=label|type=str|examples=stonecutting|typeInfo=[[Typeinfo:lc|lc]]|notes=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.}} |
Revision as of 16:21, 12 April 2015
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>
|
<>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>
|