Difference between revisions of "User:Dr. Strangelove/ReadModule"

From RimWorld Wiki
Jump to navigation Jump to search
m
m (Replaced content with "{{#invoke:Test|query|Races|Hare|description}} {{#invoke:Test|query|Biomes|SeaIce|description}} {{User:Dr. Strangelove/Test/Alpha/sandbox|animal| |name = Hare |image = Ha...")
Tag: Replaced
Line 1: Line 1:
{{#invoke:Test|get|Hare|description}}
+
{{#invoke:Test|query|Races|Hare|description}}
  
<!-- Original -->
+
{{#invoke:Test|query|Biomes|SeaIce|description}}
{{infobox main|animal|
 
|name = Hare (original way)
 
|image = Hare.png
 
|description = "This small, solitary herbivore can swiftly hop away from danger."
 
|type = Animals
 
|type2 = Wild
 
|bodysize = 0.2
 
|healthscale = 0.4
 
|movespeed = 6.0
 
|attack1dmg = 3
 
|attack1type = bite
 
|attack1part = teeth
 
|attack1cool = 100
 
|leathername = lightleather
 
|leatheryield = 15
 
|manhunter = 0.0125
 
|hungerrate = 0.23
 
|diet = herbivorous
 
|trainable = none
 
|wildness = 0.75
 
|gestation = 13
 
|lifespan = 8
 
|offspring = 1-2
 
|maturityage = 0.3
 
<!--matemtbhours = 4-->
 
|nuzzleMtb = 36
 
|marketvalue = 50
 
|livesin_borealforest = true
 
|livesin_temperateforest = true
 
|livesin_tundra = true
 
|massadult = 14
 
|petness = 0.08
 
|min comfortable temperature = -30
 
|max comfortable temperature = 40
 
}}
 
 
 
<!-- Automatic: invoked for each parameter value -->
 
{{infobox main|animal|
 
|name = Hare (modified way)
 
|image = Hare.png
 
|description = {{#invoke:Test|get|Hare|description}}
 
|type = Animals
 
|type2 = Wild
 
|bodysize = {{#invoke:Test|get|Hare|baseBodySize}}
 
|healthscale = {{#invoke:Test|get|Hare|baseHealthScale}}
 
|movespeed = {{#invoke:Test|get|Hare|MoveSpeed}}
 
|attack1dmg = 3
 
|attack1type = bite
 
|attack1part = teeth
 
|attack1cool = 100
 
|leathername = {{#invoke:Test|get|Hare|leatherDef}}
 
|leatheryield = 15
 
|manhunter = {{#invoke:Test|get|Hare|manhunterOnDamageChance}}
 
|hungerrate = {{#invoke:Test|get|Hare|baseHungerRate}}
 
|diet = {{#invoke:Test|get|Hare|foodType}}
 
|trainable = {{#invoke:Test|get|Hare|trainability}}
 
|wildness = {{#invoke:Test|get|Hare|wildness}}
 
|gestation = {{#invoke:Test|get|Hare|gestationPeriodDays}}
 
|lifespan = {{#invoke:Test|get|Hare|lifeExpectancy}}
 
|offspring = 1-2
 
|maturityage = 0.3
 
|matemtbhours = {{#invoke:Test|get|Hare|mateMtbHours}}
 
|nuzzleMtb = {{#invoke:Test|get|Hare|nuzzleMtbHours}}
 
|marketvalue = {{#invoke:Test|get|Hare|MarketValue}}
 
|livesin_borealforest = true
 
|livesin_temperateforest = true
 
|livesin_tundra = true
 
|massadult = 14
 
|petness = {{#invoke:Test|get|Hare|petness}}
 
|min comfortable temperature = {{#invoke:Test|get|Hare|ComfyTemperatureMin}}
 
|max comfortable temperature = 40
 
}}
 
  
<!-- Automatic: invoked for each parameter value but from a modified template-->
 
 
{{User:Dr. Strangelove/Test/Alpha/sandbox|animal|
 
{{User:Dr. Strangelove/Test/Alpha/sandbox|animal|
|name = Hare (better way)
+
|name = Hare
 
|image = Hare.png
 
|image = Hare.png
 
|type = Animals
 
|type = Animals
 
|type2 = Wild
 
|type2 = Wild
|attack1dmg = 3
 
|attack1type = bite
 
|attack1part = teeth
 
|attack1cool = 100
 
|leatheryield = 15
 
|offspring = 1-2
 
|maturityage = 0.3
 
|livesin_borealforest = true
 
|livesin_temperateforest = true
 
|livesin_tundra = true
 
|massadult = 14
 
|max comfortable temperature = 40
 
 
}}
 
}}

Revision as of 02:15, 13 March 2021