Difference between revisions of "Template:Acquisition"
Line 2: | Line 2: | ||
VARIABLES | VARIABLES | ||
− | -->{{#vardefine: | + | -->{{#vardefine:pageName | {{{ 1 | {{pageName}} }}} }}{{#vardefine:displayName|{{Q|{{#var:pageName}}|Type}}}}{{#ifeq:{{Q|{{#var:pageName}}|Type}}|Psycast|There are two ways to acquire {{#var:displayName}}: |
− | # A randomly selected level {{#vardefineecho:psylinkLevel|{{Q|{{#var: | + | # A randomly selected level {{#vardefineecho:psylinkLevel|{{Q|{{#var:pageName}}|Psylink Level}}}} psycast is granted to the psycaster when they gain psylink level {{#var:psylinkLevel}}. {{#var:displayName}} is one of the options that may be selected. Note that this occurs regardless of how the psylink level is gained. |
− | # {{#var: | + | # {{#var:displayName}} can also be acquired from a [[psytrainer]] naming it. See the [[psytrainer]] page for further details. |
|<!-- | |<!-- | ||
− | -->{{#vardefine:verb | {{#switch: {{Q|{{#var: | + | -->{{#vardefine:verb | {{#switch: {{Q|{{#var:pageName}}|Type}} | Building = constructed | Mechanoid = gestated | #default = crafted}} }}<!-- |
− | -->{{#vardefine:prodFac1 | {{lc:{{Q|{{#var: | + | -->{{#vardefine:prodFac1 | {{lc:{{Q|{{#var:pageName}}|Production Facility 1}} }} }}<!-- |
-->{{#vardefine:prodFac | {{#if: {{#var:prodFac1}} | <nowiki> </nowiki>at a{{#switch:{{#sub:{{#var:prodFac1}}|0|1}}|a|e|i|o|u|y=n}} [[{{#var:prodFac1}}]]<!-- | -->{{#vardefine:prodFac | {{#if: {{#var:prodFac1}} | <nowiki> </nowiki>at a{{#switch:{{#sub:{{#var:prodFac1}}|0|1}}|a|e|i|o|u|y=n}} [[{{#var:prodFac1}}]]<!-- | ||
− | -->{{#if: {{Q|{{#var: | + | -->{{#if: {{Q|{{#var:pageName}}|Production Facility 3}} | , [[{{lc:{{Q|{{#var:pageName}}|Production Facility 2}} }}]], or [[{{lc:{{Q|{{#var:pageName}}|Production Facility 3}} }}]] |
− | | {{#if: {{Q|{{#var: | + | | {{#if: {{Q|{{#var:pageName}}|Production Facility 2}} | <nowiki> </nowiki>or [[{{lc:{{Q|{{#var:pageName}}|Production Facility 2}} }}]] }} |
}} }} }}<!-- | }} }} }}<!-- | ||
− | -->{{#vardefine:tech | {{Q|{{#var: | + | -->{{#vardefine:tech | {{Q|{{#var:pageName}}|Required Research}} }}<!-- |
-->{{#vardefine:tech1 | {{#explode:{{#var:tech}}|,|0}} }}<!-- | -->{{#vardefine:tech1 | {{#explode:{{#var:tech}}|,|0}} }}<!-- | ||
-->{{#vardefine:tech2 | {{#explode:{{#var:tech}}|,|1}} }}<!-- | -->{{#vardefine:tech2 | {{#explode:{{#var:tech}}|,|1}} }}<!-- | ||
-->{{#vardefine:tech3 | {{#explode:{{#var:tech}}|,|2}} }}<!-- | -->{{#vardefine:tech3 | {{#explode:{{#var:tech}}|,|2}} }}<!-- | ||
-->{{#vardefine:researchRequirementNote | {{#if: {{#pos:Artificial metabolism, Brain wiring, Circadian influence, Compact weaponry, Flesh shaping, Healing factors, Jump packs, Molecular analysis, Neural computation, Poison synthesis, Specialized limbs, Skin hardening | {{#var:tech}} }} | Note that this research requires a [[techprint]]. | {{#if: {{#pos:Cataphract armor | {{#var:tech}} }} | Note that this research requires two [[techprint]]s.| {{#if: {{#pos:Bioferrite harvesting, Bioferrite shaping, Bioferrite weaponry, Bioferrite generator, Void sculptures, Insanity weaponry, Mutation weaponry, Atmospheric heater, Frenzy inducer, Sleep suppressor, Entity containment, Electroharvester, Disruptor flares, Proximity detector, Void provocation, Draw animals, Draw shamblers, Chronophagy, Psychophagy, Skip abduction, Summon fleshbeasts, Advanced psychic rituals, Provoke pit gate, Death refusal, Philophagy, Pleasure pulse, Neurosis pulse, Blood rain, Brainwipe, Serum synthesis, Metalblood serum, Mind-numb serum, Juggernaut serum, Bliss lobotomy, Ghoul infusion, Ghoul enhancements, Ghoul resurrection, Deadlife dust, Revenant invisibility| {{#var:tech}} }} | Note that this research requires [[Research#Anomaly|dark study]] to unlock.}} }} }} }}<!-- | -->{{#vardefine:researchRequirementNote | {{#if: {{#pos:Artificial metabolism, Brain wiring, Circadian influence, Compact weaponry, Flesh shaping, Healing factors, Jump packs, Molecular analysis, Neural computation, Poison synthesis, Specialized limbs, Skin hardening | {{#var:tech}} }} | Note that this research requires a [[techprint]]. | {{#if: {{#pos:Cataphract armor | {{#var:tech}} }} | Note that this research requires two [[techprint]]s.| {{#if: {{#pos:Bioferrite harvesting, Bioferrite shaping, Bioferrite weaponry, Bioferrite generator, Void sculptures, Insanity weaponry, Mutation weaponry, Atmospheric heater, Frenzy inducer, Sleep suppressor, Entity containment, Electroharvester, Disruptor flares, Proximity detector, Void provocation, Draw animals, Draw shamblers, Chronophagy, Psychophagy, Skip abduction, Summon fleshbeasts, Advanced psychic rituals, Provoke pit gate, Death refusal, Philophagy, Pleasure pulse, Neurosis pulse, Blood rain, Brainwipe, Serum synthesis, Metalblood serum, Mind-numb serum, Juggernaut serum, Bliss lobotomy, Ghoul infusion, Ghoul enhancements, Ghoul resurrection, Deadlife dust, Revenant invisibility| {{#var:tech}} }} | Note that this research requires [[Research#Anomaly|dark study]] to unlock.}} }} }} }}<!-- | ||
− | -->{{#vardefine:work/gestation | {{#switch: {{#expr:{{Q|{{#var: | + | -->{{#vardefine:work/gestation | {{#switch: {{#expr:{{Q|{{#var:pageName}}|Gestation Cycles}}-1}} | 0 = 1 [[gestation cycle]] taking {{Ticks|1800}} to initiate | -1 = {{Ticks|{{Q|{{#var:pageName}}|Work To Make}} }} of work modified by the {{#switch: {{#var:verb}} | constructed = [[construction speed]] of the builder | crafted = [[{{Q|{{#var:pageName}}|Work Speed Stat|General Labor Speed}}|{{lc:{{Q|{{#var:pageName}}|Work Speed Stat|general labor speed}} }}]] of the crafter}}{{#ifeq:{{Q|{{#var:pageName}}|Resource 1}}|Stuff|<nowiki></nowiki> and the {{#switch: {{#var:verb}} | constructed = [[Property:Work To Build Factor|work to build factor]] and [[Property:Work To Build Offset|offset]] | crafted = [[Property:Work To Make Factor|work to make factor]]}} of the material}} | #default = {{Q|{{#var:pageName}}|Gestation Cycles}} [[gestation cycle]]s taking {{Ticks|1800}} each to initiate}} }}<!-- |
TEXT | TEXT | ||
− | -->{{Plural||{{#var: | + | -->{{Plural||{{#var:displayName}} }} can be {{#var:verb}}{{#var:prodFac}}{{#if:{{#var:tech1}}|<nowiki> </nowiki>once the [[Research#{{#var:tech1}}|{{lc:{{#var:tech1}} }}]]{{#if: {{#var:tech3}} | , [[Research#{{#var:tech3}}|{{lc:{{#var:tech3}} }}]]}}{{#if: {{#var:tech2}} | <nowiki> </nowiki>and [[Research#{{#var:tech2}}|{{lc:{{#var:tech2}} }}]]}} research {{#if: {{#var:tech2}} | projects have | project has}} been completed. {{#var:researchRequirementNote}} Each requires|, each requiring}} {{Required Resources|{{#var:pageName}} }}{{#if: {{Q|{{#var:pageName}}|Skill 1}}|,|<nowiki> </nowiki>and}} {{#var:work/gestation}}{{#if: {{Q|{{#var:pageName}}|Skill 1}}|, and a [[{{lc:{{Q|{{#var:pageName}}|Skill 1}} }}]] skill of {{Q|{{#var:pageName}}|Skill 1 Level}} }}. {{#if:{{Q|{{#var:pageName}}|Bandwidth}}| They take up {{Q|{{#var:pageName}}|Bandwidth}} [[bandwidth]] from their linked mechanitor.}}<!--Sleep accelerators can only be constructed by colonist with an [[Ideoligion]] containing the [[Ideoligion#Transhumanist|Transhumanist]] meme. -->{{#ifeq: {{Q|{{#var:pageName}}|Minifiable}} | false | <nowiki> </nowiki> |
− | Once constructed, they cannot be re-installed, they can only be deconstructed.}}<!--NOT ALL TRADE TAGGED THINGS ARE PURCHASABLE {{#if: {{Q|{{#var: | + | Once constructed, they cannot be re-installed, they can only be deconstructed.}}<!--NOT ALL TRADE TAGGED THINGS ARE PURCHASABLE {{#if: {{Q|{{#var:pageName}}|TradeTags}} | <nowiki> </nowiki> |
− | {{Plural||{{#var: | + | {{Plural||{{#var:displayName}} }} can also be bought from [[traders]].}}-->}}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 11:56, 18 May 2024
This page has been suggested for recoding. Reason: 1) Ideology requirements 3) mech resurrection 4) The tradeTags check has been disabled, at least for now - just because something has trade tags, doesn't mean that it can actually be purchased from traders. E.g. Psylink neuroformer, antigrain warhead, Clawer 5) Should we mention crafting spot doubling crafting time?. You can help RimWorld Wiki by improving it. |
Usage
Goal is to be able to automate the initial paragraph of acquisition. Not finished.
- Whether it can be build or crafted.
- Handle things that can be mined
- Handle things that can't be made by the player
- Workbench/es
- Research
- Up to three
- If it requires a mech commander chip(hardcoded list)
- Which?(hardcoded list)
- If is Anomaly research (hardcoded list)
- Techprint (hardcoded list)
- Number of techprints (hardcoded list)
- Required resources
- Crafting time
- Note which stats modify the crafting/construction time (defaults to general labor speed)
- Minimum skill
- Gestation cycles
- Ideoligion requirements (requires infobox update)
- Note when it can't be minified.
- Whether it can be bought from traders. / (a lot of pages are missing the Property:TradeTags though, and not every thing with TradeTags is actually purchasable)
- Which traders it can be bought from
- Mech resurrection? ?
Examples
Flak vest
Gears can be crafted at a machining table once the flak armor research project has been completed. Each requires 60 Steel, 30 Cloth, 1 Component, 9,000 ticks (2.5 mins) of work modified by the general labor speed of the crafter, and a crafting skill of 4.
Machining table
Buildings can be constructed once the machining research project has been completed. Each requires 150 Steel, 5 Components, 3,000 ticks (50 secs) of work modified by the construction speed of the builder, and a construction skill of 4.
War mask
Gears can be crafted at a crafting spot, hand tailor bench, or electric tailor bench, each requiring 25 Stuff (Woody) and 3,000 ticks (50 secs) of work modified by the general labor speed of the crafter and the work to make factor of the material.
Stool
Buildings can be constructed, each requiring 25 Stuff (Metallic/Woody/Stony, 250 for SMVs) and 450 ticks (7.5 secs) of work modified by the construction speed of the builder and the work to build factor and offset of the material.
Cataphract armor
Gears can be crafted at a fabrication bench once the cataphract armor research project has been completed. Note that this research requires two techprints. Each requires 150 Plasteel, 50 Uranium, 6 Advanced components, 75,000 ticks (20.83 mins) of work modified by the general labor speed of the crafter, and a crafting skill of 8.
Incinerator
Equipments can be crafted at a bioferrite shaper once the bioferrite weaponry research project has been completed. Note that this research requires dark study to unlock. Each requires 75 Steel, 6 Components, 30 Bioferrite and 48,000 ticks (13.33 mins) of work modified by the general labor speed of the crafter.
Bandwidth pack
Gears can be crafted at a machining table once the standard mechtech research project has been completed. Each requires 50 Steel, 8 Components, 2 Signal chips, 3,200 ticks (53.33 secs) of work modified by the general labor speed of the crafter, and a crafting skill of 4.
Centurion
Mechanoids can be gestated at a large mech gestator once the ultra mechtech research project has been completed. Each requires 300 Steel, 200 Plasteel, 2 Advanced components, 1 Powerfocus chip, 1 High subcore and 12 gestation cycles taking 1,800 ticks (30 secs) each to initiate.
Totemic stone tile
Floors can be crafted once the stonecutting research project has been completed. Each requires 20 Stuff (Stony), 5,000 ticks (1.39 mins) of work modified by the general labor speed of the crafter and the work to make factor of the material, and a construction skill of 6.
Berserk pulse
There are two ways to acquire Psycast:
- A randomly selected level 6 psycast is granted to the psycaster when they gain psylink level 6. Psycast is one of the options that may be selected. Note that this occurs regardless of how the psylink level is gained.
- Psycast can also be acquired from a psytrainer naming it. See the psytrainer page for further details.
The above documentation is transcluded from Template:Acquisition/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |