Difference between revisions of "Template:Infobox main"
m |
(added chance factor to the infobox. whitspace) |
||
Line 18: | Line 18: | ||
| production = c_25 | | production = c_25 | ||
}} }}"> | }} }}"> | ||
− | <p class="heading">{{#vardefine:Name|{{{name|{{BASEPAGENAME}}}}} }} {{#var:Name}} {{#if: {{#var:setProperty}} | {{#set:Name = {{#var:Name}} }} }}</p> | + | <p class="heading">{{#vardefine:Name|{{{name|{{BASEPAGENAME}} }}} }} {{#var:Name}} {{#if: {{#var:setProperty}} | {{#set:Name = {{#var:Name}} }} }}</p> |
<div class="wrapper"> | <div class="wrapper"> | ||
<div class="image_wrapper" title="{{#var:Name}}">[[File:{{{image|{{#var:Name}} }}}|{{{imagesize|250x250px}}}|link = {{#var:Name}}|{{#var:Name}}]]{{#if: {{#var:setProperty}} | {{#set:Image = [[File:{{{image|{{#var:Name}}.png}}}]]}} }}</div> | <div class="image_wrapper" title="{{#var:Name}}">[[File:{{{image|{{#var:Name}} }}}|{{{imagesize|250x250px}}}|link = {{#var:Name}}|{{#var:Name}}]]{{#if: {{#var:setProperty}} | {{#set:Image = [[File:{{{image|{{#var:Name}}.png}}}]]}} }}</div> | ||
− | <p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{audio|}}}|[[File:{{{audio|}}}]]{{#if: {{#var:setProperty}} | {{#set:Audio = {{{audio|}}} }} }} }}{{#if:{{{description|}}}|{{{description|}}}{{#if: {{#var:setProperty}} | {{#set:Description = {{{description|}}} }} }} }}</p> | + | <p class="text-center" style="display:block; font-size:89%; padding: .5em;">{{#if:{{{audio|}}}|[[File:{{{audio|}}}]]{{#if: {{#var:setProperty}} | {{#set:Audio = {{{audio|}}} }} }} }}{{#if:{{{description|}}} | {{{description|}}}{{#if: {{#var:setProperty}} | {{#set:Description = {{{description|}}} }} }} }}</p> |
<!-- BASE STATS --> | <!-- BASE STATS --> | ||
Line 29: | Line 29: | ||
<!-- Category --> | <!-- Category --> | ||
;Type | ;Type | ||
− | :[[{{{type}}}]]{{#if: {{#var:setProperty}} | {{#set:Type = {{{type|}}} }} }}{{#if: {{{type2|}}} | –  {{#ifeq:{{{type2|}}}|Medicine|[[Medicine (disambiguation)|Medicine]]|[[{{{type2}}}]]}}{{#if: {{#var:setProperty}} | {{#set:Type2 = {{{type2|}}}}} }} }} | + | :[[{{{type}}}]]{{#if: {{#var:setProperty}} | {{#set:Type = {{{type|}}} }} }}{{#if: {{{type2|}}} | –  {{#ifeq:{{{type2|}}}|Medicine|[[Medicine (disambiguation)|Medicine]]|[[{{{type2}}}]]}}{{#if: {{#var:setProperty}} | {{#set:Type2 = {{{type2|}}} }} }} }} |
{{#if: {{{stuff category|}}} | | {{#if: {{{stuff category|}}} | | ||
Line 51: | Line 51: | ||
<!-- If market value defined, use that, else, if possible, calculate the value and use that instead but make a note that it is calculated.--> | <!-- If market value defined, use that, else, if possible, calculate the value and use that instead but make a note that it is calculated.--> | ||
{{#if: {{{marketvalue|}}} | | {{#if: {{{marketvalue|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Market Value Base = {{{marketvalue|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Market Value Base = {{{marketvalue|}}} }} }} |
;Market Value | ;Market Value | ||
:{{Market Value | {{{marketvalue|}}} }} {{Icon Small|silver}} | :{{Market Value | {{{marketvalue|}}} }} {{Icon Small|silver}} | ||
| {{#ifeq: {{lc:{{{constructable|}}} }} | false || {{#if: {{{resource 1|}}}| {{#if: {{{work to make|}}} | {{#ifeq: {{{resource 1|}}} | Stuff | | {{#ifeq: {{{resource 1|}}} | Nutrition | | | | {{#ifeq: {{lc:{{{constructable|}}} }} | false || {{#if: {{{resource 1|}}}| {{#if: {{{work to make|}}} | {{#ifeq: {{{resource 1|}}} | Stuff | | {{#ifeq: {{{resource 1|}}} | Nutrition | | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Market Value Base = {{Market Value Calculator}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Market Value Base = {{Market Value Calculator}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Calculated Market Value = True }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Calculated Market Value = True }} }} |
;Market Value | ;Market Value | ||
:{{Market Value | {{Market Value Calculator}} }} {{Icon Small|silver}} {{Hover title|link=no|This value is automatically calculated by the wiki and may not be correct|<sup>[Note]</sup>}} }} }} }} }} | :{{Market Value | {{Market Value Calculator}} }} {{Icon Small|silver}} {{Hover title|link=no|This value is automatically calculated by the wiki and may not be correct|<sup>[Note]</sup>}} }} }} }} }} | ||
Line 110: | Line 110: | ||
{{#if: {{{days to rot|}}} | | {{#if: {{{days to rot|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set:Days To Start Rot Base = {{{days to rot|}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Days To Start Rot Base = {{{days to rot|}}} }} }} |
;Days To Start Rot | ;Days To Start Rot | ||
:{{{days to rot|}}} | :{{{days to rot|}}} | ||
Line 301: | Line 301: | ||
<!-- Building - Recreation --> | <!-- Building - Recreation --> | ||
{{#if: {{{recreation power|}}} {{{recreation type|}}} | | {{#if: {{{recreation power|}}} {{{recreation type|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set:Recreation Power = {{{recreation power|}}} | Recreation Type = {{ucfirst: {{{recreation type|}}}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Recreation Power = {{{recreation power|}}} | Recreation Type = {{ucfirst: {{{recreation type|}}} }} }} }} |
;Recreation | ;Recreation | ||
:{{#if: {{{recreation power|}}} | {{%| {{{recreation power|}}} }} }} {{{recreation type|}}} | :{{#if: {{{recreation power|}}} | {{%| {{{recreation power|}}} }} }} {{{recreation type|}}} | ||
Line 308: | Line 308: | ||
<!-- Building - Production --> | <!-- Building - Production --> | ||
{{#if: {{{work speed factor|}}} | | {{#if: {{{work speed factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Work Speed Factor = {{{work speed factor|}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Work Speed Factor = {{{work speed factor|}}} }} }} |
;Work Speed Factor | ;Work Speed Factor | ||
:{{%| {{{work speed factor|}}} }} | :{{%| {{{work speed factor|}}} }} | ||
Line 314: | Line 314: | ||
{{#if: {{{work efficiency factor|}}} | | {{#if: {{{work efficiency factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Work Efficiency Factor = {{{work efficiency factor|}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Work Efficiency Factor = {{{work efficiency factor|}}} }} }} |
;Work Efficiency Factor | ;Work Efficiency Factor | ||
:{{%| {{{work efficiency factor|}}} }} | :{{%| {{{work efficiency factor|}}} }} | ||
Line 320: | Line 320: | ||
{{#if: {{{unpowered work speed factor|}}} | <!-- work speed at an unpowered workstation --> | {{#if: {{{unpowered work speed factor|}}} | <!-- work speed at an unpowered workstation --> | ||
− | {{#if: {{#var:setProperty}} | {{#set: Unpowered Work Speed Factor = {{{unpowered work speed factor|}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Unpowered Work Speed Factor = {{{unpowered work speed factor|}}} }} }} |
;Unpowered Work Speed Factor | ;Unpowered Work Speed Factor | ||
:{{%| {{{unpowered work speed factor|}}} }} | :{{%| {{{unpowered work speed factor|}}} }} | ||
Line 327: | Line 327: | ||
<!-- Building - Misc --> | <!-- Building - Misc --> | ||
{{#if: {{{work speed offset|}}} | | {{#if: {{{work speed offset|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Work Speed Offset = {{{work speed offset|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Work Speed Offset = {{{work speed offset|}}} }} }} |
;Work Speed Offset | ;Work Speed Offset | ||
:{{{work speed offset|}}} | :{{{work speed offset|}}} | ||
Line 333: | Line 333: | ||
{{#if: {{{max simultaneous facilities|}}} | <!-- how many of these facilities a work table can be connected to --> | {{#if: {{{max simultaneous facilities|}}} | <!-- how many of these facilities a work table can be connected to --> | ||
− | {{#if: {{#var:setProperty}} | {{#set: Max Simultaneous Facilities = {{{max simultaneous facilities|}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Max Simultaneous Facilities = {{{max simultaneous facilities|}}} }} }} |
;Max Simultaneous Facilities | ;Max Simultaneous Facilities | ||
:{{{max simultaneous facilities|}}} | :{{{max simultaneous facilities|}}} | ||
Line 426: | Line 426: | ||
{{#switch: {{lc:{{{countsAsClothingForNudity|{{{clothing for nudity|}}} }}} }} | {{#switch: {{lc:{{{countsAsClothingForNudity|{{{clothing for nudity|}}} }}} }} | ||
− | | 1 | yes | y | t | true = {{#if: {{#var:setProperty}} | {{#set:Clothing For Nudity = True }}}} | + | | 1 | yes | y | t | true = {{#if: {{#var:setProperty}} | {{#set:Clothing For Nudity = True }} }} |
;Clothing For Nudity | ;Clothing For Nudity | ||
:True | :True | ||
− | | 0 | no | n | f | false = {{#if: {{#var:setProperty}} | {{#set:Clothing For Nudity = False }}}} | + | | 0 | no | n | f | false = {{#if: {{#var:setProperty}} | {{#set:Clothing For Nudity = False }} }} |
;Clothing For Nudity | ;Clothing For Nudity | ||
:False | :False | ||
Line 461: | Line 461: | ||
<dl> | <dl> | ||
− | {{#ifeq: {{{type|}}}|Animals|{{#if: {{#var:setProperty}} | {{#set: Type = {{{type2|}}} }} }} }} | + | {{#ifeq: {{{type|}}} | Animals | {{#if: {{#var:setProperty}} | {{#set:Type = {{{type2|}}} }} }} }} |
{{#if: {{{combatPower|}}} | | {{#if: {{{combatPower|}}} | | ||
Line 500: | Line 500: | ||
{{#vardefine:PackCapacity | {{#expr: {{{bodysize|}}} * 35 }} }} | {{#vardefine:PackCapacity | {{#expr: {{{bodysize|}}} * 35 }} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var: PackCapacity}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var:PackCapacity}} }} }} |
;Pack Capacity | ;Pack Capacity | ||
− | :{{#var: PackCapacity}} kg | + | :{{#var:PackCapacity}} kg |
| | | | ||
Line 527: | Line 527: | ||
{{#ifeq: {{lc:{{{packanimal|}}} }} | true | | {{#ifeq: {{lc:{{{packanimal|}}} }} | true | | ||
{{#vardefine:PackCapacity | {{#expr: {{{bodysize|}}} * 35 }} }} | {{#vardefine:PackCapacity | {{#expr: {{{bodysize|}}} * 35 }} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var: PackCapacity}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Pack Capacity = {{#var:PackCapacity}} }} }} |
;Pack Capacity | ;Pack Capacity | ||
− | :{{#var: PackCapacity}} kg | + | :{{#var:PackCapacity}} kg |
}} | }} | ||
}} | }} | ||
{{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }} | {{#vardefine: CarryingCapacity | {{#expr: 75 * {{{bodysize|}}} round0}} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set:Carrying Capacity = {{#var: CarryingCapacity}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Carrying Capacity = {{#var:CarryingCapacity}} }} }} |
;Carrying Capacity | ;Carrying Capacity | ||
− | :{{#var: CarryingCapacity}} kg | + | :{{#var:CarryingCapacity}} kg |
}} | }} | ||
Line 543: | Line 543: | ||
{{#if: {{{ridingspeed|}}} | | {{#if: {{{ridingspeed|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Riding Speed = {{{ridingspeed|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Riding Speed = {{{ridingspeed|}}} }} }} |
;<abbr title="Multiplier to the caravan's movement speed.">Riding Speed</abbr> | ;<abbr title="Multiplier to the caravan's movement speed.">Riding Speed</abbr> | ||
:{{{ridingspeed|}}} | :{{{ridingspeed|}}} | ||
Line 605: | Line 605: | ||
:{{%| {{{wildness|}}} | 0 }} | :{{%| {{{wildness|}}} | 0 }} | ||
− | {{#vardefine: MinHandlingSkill | {{#if: {{{min handling skill|}}}|{{{min handling skill|}}}|{{#expr: | + | {{#vardefine: MinHandlingSkill | {{#if: {{{min handling skill|}}} | {{{min handling skill|}}} | {{#expr: |
{{#ifexpr: {{{wildness|}}} < 0.2 | 0 | {{#ifexpr: {{{wildness|}}} < 0.2 | 0 | ||
| {{#ifexpr: {{{wildness|}}} < 0.45 | 1 | | {{#ifexpr: {{{wildness|}}} < 0.45 | 1 | ||
Line 617: | Line 617: | ||
{{#ifeq: {{#var:Name}} | Human | + 7 }} | {{#ifeq: {{#var:Name}} | Human | + 7 }} | ||
}} }} }} | }} }} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set:Minimum Handling Skill = {{#var: MinHandlingSkill}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Minimum Handling Skill = {{#var:MinHandlingSkill}} }} }} |
− | {{#ifeq: {{#var: MinHandlingSkill}}|0|| | + | {{#ifeq: {{#var:MinHandlingSkill}}|0|| |
;<abbr title="This creature cannot be tamed, trained, or commanded by anyone with less than this skill in animals.">Minimum Handling Skill</abbr> | ;<abbr title="This creature cannot be tamed, trained, or commanded by anyone with less than this skill in animals.">Minimum Handling Skill</abbr> | ||
− | :{{#var: MinHandlingSkill}} }} | + | :{{#var:MinHandlingSkill}} }} |
}} | }} | ||
− | {{#if: {{{petness|}}} | {{#if: {{#var:setProperty}} | {{#set: Petness = {{{petness|}}} }} }} }} | + | {{#if: {{{petness|}}} | {{#if: {{#var:setProperty}} | {{#set:Petness = {{{petness|}}} }} }} }} |
{{#ifeq: {{{predator|}}} | true | {{#if: {{#var:setProperty}} | {{#set:Is Predator = true}} }}|}} | {{#ifeq: {{{predator|}}} | true | {{#if: {{#var:setProperty}} | {{#set:Is Predator = true}} }}|}} | ||
Line 634: | Line 634: | ||
{{#if: {{{nuzzleMtb|}}} | | {{#if: {{{nuzzleMtb|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Nuzzle Mtb Hours = {{{nuzzleMtb|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Nuzzle Mtb Hours = {{{nuzzleMtb|}}} }} }} |
;<abbr title="How often an animal will nuzzle friendly colonists, on average.">Nuzzle Interval</abbr> | ;<abbr title="How often an animal will nuzzle friendly colonists, on average.">Nuzzle Interval</abbr> | ||
{{#ifexpr: {{{nuzzleMtb|}}} <= 24 | {{#ifexpr: {{{nuzzleMtb|}}} <= 24 | ||
Line 651: | Line 651: | ||
{{#if: {{{maturityage|}}} | | {{#if: {{{maturityage|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Maturity Age = {{{maturityage|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Maturity Age = {{{maturityage|}}} }} }} |
;{{Hover title|link=no|The age at which an animal reaches adulthood.|Maturity Age}} | ;{{Hover title|link=no|The age at which an animal reaches adulthood.|Maturity Age}} | ||
:{{#expr:{{{maturityage|}}} round 3}} years {{#ifexpr: {{{maturityage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}} |R}}*60)round 1}} }} days) | :{{#expr:{{{maturityage|}}} round 3}} years {{#ifexpr: {{{maturityage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{maturityage|}}} |R}}*60)round 1}} }} days) | ||
Line 657: | Line 657: | ||
{{#if: {{{juvenileage|}}} | | {{#if: {{{juvenileage|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Juvenile Age = {{{juvenileage|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Juvenile Age = {{{juvenileage|}}} }} }} |
;{{Hover title|link=no|The age at which an animal becomes a juvenile.|Juvenile Age}} | ;{{Hover title|link=no|The age at which an animal becomes a juvenile.|Juvenile Age}} | ||
:{{#expr:{{{juvenileage|}}} round 3}} years {{#ifexpr: {{{juvenileage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{juvenileage|}}}|R}}*60)round 1}} }} days) }} }} | :{{#expr:{{{juvenileage|}}} round 3}} years {{#ifexpr: {{{juvenileage|}}} < 1 | ({{formatnum: {{#expr: ({{formatnum:{{{juvenileage|}}}|R}}*60)round 1}} }} days) }} }} | ||
Line 665: | Line 665: | ||
{{#if: {{{min comfortable temperature|}}} | | {{#if: {{{min comfortable temperature|}}} | | ||
{{#if: {{{max comfortable temperature|}}} | | {{#if: {{{max comfortable temperature|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Min Comfortable Temperature = {{{min comfortable temperature|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Min Comfortable Temperature = {{{min comfortable temperature|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Max Comfortable Temperature = {{{max comfortable temperature|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Max Comfortable Temperature = {{{max comfortable temperature|}}} }} }} |
;Comfortable Temp Range | ;Comfortable Temp Range | ||
− | :{{Temperature|{{{min comfortable temperature|}}}|{{{max comfortable temperature|}}}}} | + | :{{Temperature|{{{min comfortable temperature|}}}|{{{max comfortable temperature|}}} }} |
}} }} | }} }} | ||
− | {{#if: {{{livesin_temperateforest|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Temperate Forest = true }} }} }} | + | {{#if: {{{livesin_temperateforest|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Temperate Forest = true }} }} }} |
− | {{#if: {{{livesin_temperateswamp|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Temperate Swamp = true }} }} }} | + | {{#if: {{{livesin_temperateswamp|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Temperate Swamp = true }} }} }} |
− | {{#if: {{{livesin_tropicalrainforest|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Tropical Rainforest = true }} }} }} | + | {{#if: {{{livesin_tropicalrainforest|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Tropical Rainforest = true }} }} }} |
− | {{#if: {{{livesin_tropicalswamp|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Tropical Swamp = true }} }} }} | + | {{#if: {{{livesin_tropicalswamp|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Tropical Swamp = true }} }} }} |
− | {{#if: {{{livesin_aridshrubland|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Arid Shrubland = true }} }} }} | + | {{#if: {{{livesin_aridshrubland|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Arid Shrubland = true }} }} }} |
− | {{#if: {{{livesin_desert|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Desert = true }} }} }} | + | {{#if: {{{livesin_desert|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Desert = true }} }} }} |
− | {{#if: {{{livesin_extremedesert|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Extreme Desert = true }} }} }} | + | {{#if: {{{livesin_extremedesert|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Extreme Desert = true }} }} }} |
− | {{#if: {{{livesin_borealforest|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Boreal Forest = true }} }} }} | + | {{#if: {{{livesin_borealforest|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Boreal Forest = true }} }} }} |
− | {{#if: {{{livesin_coldbog|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Cold Bog = true }} }} }} | + | {{#if: {{{livesin_coldbog|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Cold Bog = true }} }} }} |
− | {{#if: {{{livesin_tundra|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Tundra = true }} }} }} | + | {{#if: {{{livesin_tundra|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Tundra = true }} }} }} |
− | {{#if: {{{livesin_icesheet|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Ice Sheet = true }} }} }} | + | {{#if: {{{livesin_icesheet|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Ice Sheet = true }} }} }} |
− | {{#if: {{{livesin_seaice|}}} | {{#if: {{#var:setProperty}} | {{#set: Lives In Sea Ice = true }} }} }} | + | {{#if: {{{livesin_seaice|}}} | {{#if: {{#var:setProperty}} | {{#set:Lives In Sea Ice = true }} }} }} |
{{#if: {{{meatyield|}}} {{{meatname|}}} {{{leathername|}}} {{{leatheryield|}}} {{{milk|}}} {{{milkname|}}} {{{milktime|}}} {{{wool|}}} {{{woolname|}}} {{{sheartime|}}} {{{eggsmin|}}} {{{eggsmax|}}} {{{eggtime|}}} {{{eggs_avg|}}} {{{eggs_unfertilized|}}} {{{gestation|}}} {{{offspring|}}} {{{avg offspring|}}} | | {{#if: {{{meatyield|}}} {{{meatname|}}} {{{leathername|}}} {{{leatheryield|}}} {{{milk|}}} {{{milkname|}}} {{{milktime|}}} {{{wool|}}} {{{woolname|}}} {{{sheartime|}}} {{{eggsmin|}}} {{{eggsmax|}}} {{{eggtime|}}} {{{eggs_avg|}}} {{{eggs_unfertilized|}}} {{{gestation|}}} {{{offspring|}}} {{{avg offspring|}}} | | ||
Line 690: | Line 690: | ||
}} | }} | ||
− | {{#ifeq:{{#expr:{{#ifeq:{{{type|}}}|Animals|1|0}} or {{#ifeq:{{{type|}}}|Animal|1|0}}}}|1| | + | {{#ifeq:{{#expr:{{#ifeq:{{{type|}}}|Animals|1|0}} or {{#ifeq:{{{type|}}}|Animal|1|0}} }}|1| |
{{#vardefine: MeatName | {{{meatname | {{#var:Name}} meat}}} }} | {{#vardefine: MeatName | {{{meatname | {{#var:Name}} meat}}} }} | ||
{{#vardefine: LeatherName | {{{leathername | {{#var:Name}} leather}}} }} | {{#vardefine: LeatherName | {{{leathername | {{#var:Name}} leather}}} }} | ||
− | {{#if: {{{is exotic species|}}}|{{#if: {{#var:setProperty}} | {{#set: Is Exotic Species = true}} }}|{{#if: {{#var:setProperty}} | {{#set: Is Exotic Species = false }} }} }}| | + | {{#if: {{{is exotic species|}}} | {{#if: {{#var:setProperty}} | {{#set:Is Exotic Species = true}} }} | {{#if: {{#var:setProperty}} | {{#set:Is Exotic Species = false }} }} }}| |
}} | }} | ||
− | {{#if: {{#var:LeatherName }} | {{#if: {{#var:setProperty}} | {{#set: Leather Name = {{#var:LeatherName}} }} }} }} | + | {{#if: {{#var:LeatherName }} | {{#if: {{#var:setProperty}} | {{#set:Leather Name = {{#var:LeatherName}} }} }} }} |
{{#if: {{{bodysize|}}} | | {{#if: {{{bodysize|}}} | | ||
Line 703: | Line 703: | ||
{{#if:{{#var:MeatName}} | | {{#if:{{#var:MeatName}} | | ||
{{#vardefine: MeatYield | {{{meatyield | {{Meat Leather Curve | {{{basemeatamount|140}}} * {{{bodysize|}}} }} }}} }} | {{#vardefine: MeatYield | {{{meatyield | {{Meat Leather Curve | {{{basemeatamount|140}}} * {{{bodysize|}}} }} }}} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set: Meat Yield = {{#var:MeatYield}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Meat Yield = {{#var:MeatYield}} }} }} |
;Meat Yield | ;Meat Yield | ||
:{{#var:MeatYield}} [[Meat|{{lc:{{#var:MeatName}} }}]] | :{{#var:MeatYield}} [[Meat|{{lc:{{#var:MeatName}} }}]] | ||
Line 713: | Line 713: | ||
| {{#ifeq: {{#vardefineecho:LeatherYield | {{{leatheryield | {{Meat Leather Curve | {{{baseleatheramount|40}}} * {{{bodysize|}}} }} }}} }} | | {{#ifeq: {{#vardefineecho:LeatherYield | {{{leatheryield | {{Meat Leather Curve | {{{baseleatheramount|40}}} * {{{bodysize|}}} }} }}} }} | ||
| 0 | | | 0 | | ||
− | | {{#if: {{#var:setProperty}} | {{#set: Leather Yield = {{#var: LeatherYield}} }} }} | + | | {{#if: {{#var:setProperty}} | {{#set:Leather Yield = {{#var:LeatherYield}} }} }} |
;Leather Yield | ;Leather Yield | ||
− | :{{#var: LeatherYield}} [[{{#var: LeatherName}}|{{lc:{{#var: LeatherName}} }}]] | + | :{{#var:LeatherYield}} [[{{#var:LeatherName}}|{{lc:{{#var:LeatherName}} }}]] |
}} }} }} | }} }} }} | ||
{{#if: {{{milk|}}} | | {{#if: {{{milk|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Milk Amount = {{{milk|}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Milk Amount = {{{milk|}}} }} }} |
{{#vardefine: MilkName | {{{milkname| Milk}}} }} | {{#vardefine: MilkName | {{{milkname| Milk}}} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set: Milk Name = {{#var:MilkName}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Milk Name = {{#var:MilkName}} }} }} |
;Milk Amount | ;Milk Amount | ||
:{{{milk|}}} [[{{#var:MilkName}}|{{lc:{{#var:MilkName}} }}]] | :{{{milk|}}} [[{{#var:MilkName}}|{{lc:{{#var:MilkName}} }}]] | ||
Line 728: | Line 728: | ||
{{#if: {{{milktime|}}} | | {{#if: {{{milktime|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Milking Interval Days = {{{milktime|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Milking Interval Days = {{{milktime|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Daily Milk Average = {{#expr: {{{milk|}}}/{{{milktime|}}}round2}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Daily Milk Average = {{#expr: {{{milk|}}}/{{{milktime|}}}round2}} }} }} |
;Milking Interval | ;Milking Interval | ||
:{{{milktime|}}} days | :{{{milktime|}}} days | ||
Line 735: | Line 735: | ||
{{#if: {{{wool|}}}| | {{#if: {{{wool|}}}| | ||
− | {{#if: {{#var:setProperty}} | {{#set: Wool Amount = {{{wool|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Wool Amount = {{{wool|}}} }} }} |
{{#vardefine: WoolName | {{{woolname | {{#var:Name}} wool}}} }} | {{#vardefine: WoolName | {{{woolname | {{#var:Name}} wool}}} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set: Wool Name = {{#var:WoolName}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Wool Name = {{#var:WoolName}} }} }} |
;Wool Amount | ;Wool Amount | ||
− | :{{{wool|}}} [[{{#var: WoolName}}|{{lc:{{#var: WoolName}}}}]] | + | :{{{wool|}}} [[{{#var:WoolName}}|{{lc:{{#var:WoolName}} }}]] |
}} | }} | ||
{{#if: {{{sheartime|}}} | | {{#if: {{{sheartime|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Shearing Interval Days = {{{sheartime|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Shearing Interval Days = {{{sheartime|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Daily Wool Average = {{#expr: {{{wool|}}}/{{{sheartime}}}round2}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Daily Wool Average = {{#expr: {{{wool|}}}/{{{sheartime}}}round2}} }} }} |
;Shearing Interval | ;Shearing Interval | ||
:{{{sheartime|}}} days | :{{{sheartime|}}} days | ||
Line 751: | Line 751: | ||
{{#if: {{{eggsmin|}}} | | {{#if: {{{eggsmin|}}} | | ||
{{#if: {{{eggsmax|}}} | | {{#if: {{{eggsmax|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Eggs Per Clutch Minimum = {{{eggsmin|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Eggs Per Clutch Minimum = {{{eggsmin|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Eggs Per Clutch Maximum = {{{eggsmax|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Eggs Per Clutch Maximum = {{{eggsmax|}}} }} }} |
;Eggs Per Clutch | ;Eggs Per Clutch | ||
:{{{eggsmin|}}} to {{{eggsmax|}}} | :{{{eggsmin|}}} to {{{eggsmax|}}} | ||
Line 758: | Line 758: | ||
{{#if: {{{eggtime|}}} | | {{#if: {{{eggtime|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Egg Laying Interval = {{{eggtime|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Egg Laying Interval = {{{eggtime|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Eggs Per Season Average = {{#expr: {{{eggs_avg|}}}/{{{eggtime|}}}*15 round 2}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Eggs Per Season Average = {{#expr: {{{eggs_avg|}}}/{{{eggtime|}}}*15 round 2}} }} }} |
;Egg Laying Interval | ;Egg Laying Interval | ||
:{{{eggtime|}}} days | :{{{eggtime|}}} days | ||
}} | }} | ||
− | {{#if: {{{eggs_avg|}}} | {{#if: {{#var:setProperty}} | {{#set: Eggs Per Clutch Average = {{{eggs_avg|}}} }} }} }} | + | {{#if: {{{eggs_avg|}}} | {{#if: {{#var:setProperty}} | {{#set:Eggs Per Clutch Average = {{{eggs_avg|}}} }} }} }} |
{{#if: {{{eggs_unfertilized|}}} | | {{#if: {{{eggs_unfertilized|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Can Lay Unfertilized Eggs = {{{eggs_unfertilized|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Can Lay Unfertilized Eggs = {{{eggs_unfertilized|}}} }} }} |
;Can Lay Unfertilized Eggs | ;Can Lay Unfertilized Eggs | ||
:{{{eggs_unfertilized|}}} | :{{{eggs_unfertilized|}}} | ||
Line 773: | Line 773: | ||
{{#if: {{{gestation|}}} | | {{#if: {{{gestation|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Gestation Period Days = {{{gestation|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Gestation Period Days = {{{gestation|}}} }} }} |
;Gestation Period | ;Gestation Period | ||
{{#switch: {{{gestation|}}} | {{#switch: {{{gestation|}}} | ||
Line 782: | Line 782: | ||
{{#if: {{{offspring|}}} {{{avg offspring|}}} | | {{#if: {{{offspring|}}} {{{avg offspring|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Offspring Per Birth = {{{offspring|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Offspring Per Birth = {{{offspring|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Average Offspring Per Birth = {{{avg offspring|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Average Offspring Per Birth = {{{avg offspring|}}} }} }} |
;Offspring Per Birth | ;Offspring Per Birth | ||
:{{{offspring|}}} {{#if:{{{avg offspring|}}}|({{{avg offspring|}}} avg)}} | :{{{offspring|}}} {{#if:{{{avg offspring|}}}|({{{avg offspring|}}} avg)}} | ||
Line 797: | Line 797: | ||
{{#if: {{{nutrition|}}} | | {{#if: {{{nutrition|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Nutrition = {{{nutrition|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Nutrition = {{{nutrition|}}} }} }} |
;{{Hover title| link=no | Nutrition gained when this item or object is eaten | Nutrition }} | ;{{Hover title| link=no | Nutrition gained when this item or object is eaten | Nutrition }} | ||
:{{{nutrition}}} | :{{{nutrition}}} | ||
Line 803: | Line 803: | ||
{{#if: {{{taste|}}} | | {{#if: {{{taste|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Taste = {{ucfirst: {{{taste|}}} }} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Taste = {{ucfirst: {{{taste|}}} }} }} }} |
;Taste | ;Taste | ||
:{{ucfirst: {{{taste|}}} }} | :{{ucfirst: {{{taste|}}} }} | ||
Line 809: | Line 809: | ||
{{#if: {{{ingested direct thought|}}} | | {{#if: {{{ingested direct thought|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Ingested Direct Thought = {{{ingested direct thought|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Ingested Direct Thought = {{{ingested direct thought|}}} }} }} |
;Ingested Direct Thought | ;Ingested Direct Thought | ||
:{{{ingested direct thought|}}} | :{{{ingested direct thought|}}} | ||
Line 815: | Line 815: | ||
{{#if: {{{joy offset|}}} | | {{#if: {{{joy offset|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Joy Offset = {{{joy offset|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Joy Offset = {{{joy offset|}}} }} }} |
;Recreation Offset | ;Recreation Offset | ||
− | :{{%|{{{joy offset|}}}}} | + | :{{%|{{{joy offset|}}} }} |
}} | }} | ||
{{#if: {{{joy kind|}}} | | {{#if: {{{joy kind|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Joy Kind = {{{joy kind|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Joy Kind = {{{joy kind|}}} }} }} |
;Recreation Kind | ;Recreation Kind | ||
:{{{joy kind|}}} | :{{{joy kind|}}} | ||
Line 827: | Line 827: | ||
{{#if: {{{addictiveness|}}} | | {{#if: {{{addictiveness|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Addictiveness = {{{addictiveness|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Addictiveness = {{{addictiveness|}}} }} }} |
;Addictiveness | ;Addictiveness | ||
:{{%| {{{addictiveness|}}} }} | :{{%| {{{addictiveness|}}} }} | ||
Line 833: | Line 833: | ||
{{#if: {{{food poison chance|}}} | | {{#if: {{{food poison chance|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Food Poison Chance Base = {{{food poison chance|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Food Poison Chance Base = {{{food poison chance|}}} }} }} |
;Food Poison Chance | ;Food Poison Chance | ||
:{{%| {{{food poison chance|}}} }} | :{{%| {{{food poison chance|}}} }} | ||
Line 839: | Line 839: | ||
{{#if: {{{max num to ingest at once|}}} | | {{#if: {{{max num to ingest at once|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Max Num To Ingest At Once = {{{max num to ingest at once|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Max Num To Ingest At Once = {{{max num to ingest at once|}}} }} }} |
;{{Hover title| link=no | Maximum Number To Ingest At Once | Maximum To Ingest}} | ;{{Hover title| link=no | Maximum Number To Ingest At Once | Maximum To Ingest}} | ||
:{{{max num to ingest at once|}}} | :{{{max num to ingest at once|}}} | ||
Line 859: | Line 859: | ||
{{#if: {{{beauty factor|}}} | | {{#if: {{{beauty factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Beauty Factor = {{{beauty factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Beauty Factor = {{{beauty factor|}}} }} }} |
;Beauty Factor | ;Beauty Factor | ||
:×{{{beauty factor|}}} | :×{{{beauty factor|}}} | ||
Line 865: | Line 865: | ||
{{#if: {{{beauty offset|}}} | | {{#if: {{{beauty offset|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Beauty Offset = {{{beauty offset|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Beauty Offset = {{{beauty offset|}}} }} }} |
;Beauty Offset | ;Beauty Offset | ||
:+{{{beauty offset|}}} | :+{{{beauty offset|}}} | ||
Line 871: | Line 871: | ||
{{#if: {{{work to make factor|}}} | | {{#if: {{{work to make factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Work To Make Factor = {{{work to make factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Work To Make Factor = {{{work to make factor|}}} }} }} |
;Work To Make Factor | ;Work To Make Factor | ||
:×{{{work to make factor|}}} | :×{{{work to make factor|}}} | ||
Line 877: | Line 877: | ||
{{#if: {{{work to build factor|}}} | | {{#if: {{{work to build factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Work To Build Factor = {{{work to build factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Work To Build Factor = {{{work to build factor|}}} }} }} |
;Work To Build Factor | ;Work To Build Factor | ||
:×{{{work to build factor|}}} | :×{{{work to build factor|}}} | ||
Line 883: | Line 883: | ||
{{#if: {{{work to build offset|}}} | | {{#if: {{{work to build offset|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Work To Build Offset = {{{work to build offset|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Work To Build Offset = {{{work to build offset|}}} }} }} |
;Work To Build Offset | ;Work To Build Offset | ||
:+{{ticks| {{{work to build offset|}}} }} | :+{{ticks| {{{work to build offset|}}} }} | ||
Line 889: | Line 889: | ||
{{#if: {{{max hit points factor|}}} | | {{#if: {{{max hit points factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Max Hit Points Factor = {{{max hit points factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Max Hit Points Factor = {{{max hit points factor|}}} }} }} |
;Max Hit Points | ;Max Hit Points | ||
:×{{{max hit points factor|}}} | :×{{{max hit points factor|}}} | ||
Line 895: | Line 895: | ||
{{#if: {{{flammability factor|}}} | | {{#if: {{{flammability factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Flammability Factor = {{{flammability factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Flammability Factor = {{{flammability factor|}}} }} }} |
;Flammability | ;Flammability | ||
:×{{{flammability factor|}}} | :×{{{flammability factor|}}} | ||
Line 901: | Line 901: | ||
{{#if: {{{armor - sharp factor|}}} | | {{#if: {{{armor - sharp factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Armor - Sharp Factor = {{{armor - sharp factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Armor - Sharp Factor = {{{armor - sharp factor|}}} }} }} |
;Armor - Sharp | ;Armor - Sharp | ||
:×{{{armor - sharp factor|}}} | :×{{{armor - sharp factor|}}} | ||
Line 907: | Line 907: | ||
{{#if: {{{armor - blunt factor|}}} | | {{#if: {{{armor - blunt factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Armor - Blunt Factor = {{{armor - blunt factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Armor - Blunt Factor = {{{armor - blunt factor|}}} }} }} |
;Armor - Blunt | ;Armor - Blunt | ||
:×{{{armor - blunt factor|}}} | :×{{{armor - blunt factor|}}} | ||
Line 913: | Line 913: | ||
{{#if: {{{armor - heat factor|}}} | | {{#if: {{{armor - heat factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Armor - Heat Factor = {{{armor - heat factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Armor - Heat Factor = {{{armor - heat factor|}}} }} }} |
;Armor - Heat | ;Armor - Heat | ||
:×{{{armor - heat factor|}}} | :×{{{armor - heat factor|}}} | ||
Line 919: | Line 919: | ||
{{#if: {{{insulation - cold factor|}}} | | {{#if: {{{insulation - cold factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Insulation - Cold Factor = {{{insulation - cold factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Insulation - Cold Factor = {{{insulation - cold factor|}}} }} }} |
;Insulation - Cold | ;Insulation - Cold | ||
:+{{Temperature| {{{insulation - cold factor|}}} || delta }} | :+{{Temperature| {{{insulation - cold factor|}}} || delta }} | ||
Line 925: | Line 925: | ||
{{#if: {{{insulation - heat factor|}}} | | {{#if: {{{insulation - heat factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Insulation - Heat Factor = {{{insulation - heat factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Insulation - Heat Factor = {{{insulation - heat factor|}}} }} }} |
;Insulation - Heat | ;Insulation - Heat | ||
:+{{Temperature| {{{insulation - heat factor|}}} || delta }} | :+{{Temperature| {{{insulation - heat factor|}}} || delta }} | ||
Line 931: | Line 931: | ||
{{#if: {{{melee blunt damage factor|}}} | | {{#if: {{{melee blunt damage factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Melee Blunt Damage Factor = {{{melee blunt damage factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Melee Blunt Damage Factor = {{{melee blunt damage factor|}}} }} }} |
;Melee Blunt Damage | ;Melee Blunt Damage | ||
:×{{{melee blunt damage factor|}}} | :×{{{melee blunt damage factor|}}} | ||
Line 937: | Line 937: | ||
{{#if: {{{melee sharp damage factor|}}} | | {{#if: {{{melee sharp damage factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Melee Sharp Damage Factor = {{{melee sharp damage factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Melee Sharp Damage Factor = {{{melee sharp damage factor|}}} }} }} |
;Melee Sharp Damage | ;Melee Sharp Damage | ||
:×{{{melee sharp damage factor|}}} | :×{{{melee sharp damage factor|}}} | ||
Line 943: | Line 943: | ||
{{#if: {{{melee cooldown factor|}}} | | {{#if: {{{melee cooldown factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Melee Cooldown Factor = {{{melee cooldown factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Melee Cooldown Factor = {{{melee cooldown factor|}}} }} }} |
;Melee Cooldown | ;Melee Cooldown | ||
:×{{{melee cooldown factor|}}} | :×{{{melee cooldown factor|}}} | ||
Line 949: | Line 949: | ||
{{#if: {{{door opening speed factor|}}} | | {{#if: {{{door opening speed factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Door Opening Speed Factor = {{{door opening speed factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Door Opening Speed Factor = {{{door opening speed factor|}}} }} }} |
;Door Opening Speed | ;Door Opening Speed | ||
:×{{{door opening speed factor|}}} | :×{{{door opening speed factor|}}} | ||
Line 955: | Line 955: | ||
{{#if: {{{rest effectiveness factor|}}} | | {{#if: {{{rest effectiveness factor|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Rest Effectiveness Factor = {{{rest effectiveness factor|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Rest Effectiveness Factor = {{{rest effectiveness factor|}}} }} }} |
;Rest Effectiveness | ;Rest Effectiveness | ||
:×{{{rest effectiveness factor|}}} | :×{{{rest effectiveness factor|}}} | ||
Line 969: | Line 969: | ||
{{#if: {{{medical potency base|}}} | | {{#if: {{{medical potency base|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Medical Potency Base = {{{medical potency base|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Medical Potency Base = {{{medical potency base|}}} }} }} |
;Medical Potency | ;Medical Potency | ||
:{{%| {{{medical potency base|}}} }} | :{{%| {{{medical potency base|}}} }} | ||
Line 975: | Line 975: | ||
{{#if: {{{medical quality max|}}} | | {{#if: {{{medical quality max|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Medical Quality Max = {{{medical quality max|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Medical Quality Max = {{{medical quality max|}}} }} }} |
;Max medical tend quality | ;Max medical tend quality | ||
:{{%| {{{medical quality max|}}} }} | :{{%| {{{medical quality max|}}} }} | ||
Line 990: | Line 990: | ||
{{#if: {{{grow days|}}} | | {{#if: {{{grow days|}}} | | ||
{{#vardefine:realGrowDays | {{#expr: {{{grow days|}}} / 0.54167 round 2}} }} | {{#vardefine:realGrowDays | {{#expr: {{{grow days|}}} / 0.54167 round 2}} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set: Grow Days = {{{grow days|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Grow Days = {{{grow days|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Real Grow Days = {{#var:realGrowDays}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Real Grow Days = {{#var:realGrowDays}} }} }} |
;Time to grow | ;Time to grow | ||
:{{{grow days|}}} days {{Hover title|link=no|Actual days to grow, taking into account rest time|({{#var:realGrowDays}} days)}} | :{{{grow days|}}} days {{Hover title|link=no|Actual days to grow, taking into account rest time|({{#var:realGrowDays}} days)}} | ||
Line 998: | Line 998: | ||
{{#if: {{{lifespanDaysPerGrowDays|}}} | | {{#if: {{{lifespanDaysPerGrowDays|}}} | | ||
{{#if: {{{grow days|}}} | | {{#if: {{{grow days|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Lifespan Days Per Grow Days = {{{lifespanDaysPerGrowDays|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Lifespan Days Per Grow Days = {{{lifespanDaysPerGrowDays|}}} }} }} |
;Lifespan | ;Lifespan | ||
− | :{{#ifeq: {{{lifespanDaysPerGrowDays|}}} | 0 | Indefinite | {{#if: {{#var:setProperty}} | {{#set: Lifespan = {{#expr: {{{grow days|}}} * {{{lifespanDaysPerGrowDays|}}} }}}}}}{{#expr: {{{grow days|}}} * {{{lifespanDaysPerGrowDays|}}} }} days}} | + | :{{#ifeq: {{{lifespanDaysPerGrowDays|}}} | 0 | Indefinite | {{#if: {{#var:setProperty}} | {{#set:Lifespan = {{#expr: {{{grow days|}}} * {{{lifespanDaysPerGrowDays|}}} }} }} }}{{#expr: {{{grow days|}}} * {{{lifespanDaysPerGrowDays|}}} }} days}} |
}} }} | }} }} | ||
{{#if: {{{sow work|}}} | | {{#if: {{{sow work|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Sow Work = {{{sow work|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Sow Work = {{{sow work|}}} }} }} |
;Work to Sow | ;Work to Sow | ||
:{{ticks| {{{sow work|}}} }} | :{{ticks| {{{sow work|}}} }} | ||
Line 1,010: | Line 1,010: | ||
{{#if: {{{harvest work|}}} | | {{#if: {{{harvest work|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Harvest Work = {{{harvest work|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Harvest Work = {{{harvest work|}}} }} }} |
;Work to Harvest | ;Work to Harvest | ||
:{{ticks| {{{harvest work|}}} }} | :{{ticks| {{{harvest work|}}} }} | ||
Line 1,017: | Line 1,017: | ||
{{#if: {{{product|}}} | | {{#if: {{{product|}}} | | ||
{{#if: {{{yield|}}} | | {{#if: {{{yield|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Harvest Product = {{{product|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Harvest Product = {{{product|}}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Harvest Yield = {{{yield|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Harvest Yield = {{{yield|}}} }} }} |
;{{Hover title|link=no|Assumes 1x multipliers from difficulty, pawn stats, and other sources.|Base Harvest Yield}} | ;{{Hover title|link=no|Assumes 1x multipliers from difficulty, pawn stats, and other sources.|Base Harvest Yield}} | ||
:{{{yield|}}} {{Icon Small| {{{product|}}} | 16 }} | :{{{yield|}}} {{Icon Small| {{{product|}}} | 16 }} | ||
Line 1,026: | Line 1,026: | ||
{{#if: {{{sow work|}}} | | {{#if: {{{sow work|}}} | | ||
{{#if: {{{harvest work|}}} | | {{#if: {{{harvest work|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Harvest Yield Per Work = {{#expr:{{{yield|}}}/( {{{sow work|}}} + {{{harvest work|}}})}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Harvest Yield Per Work = {{#expr:{{{yield|}}}/( {{{sow work|}}} + {{{harvest work|}}})}} }} }} |
}} | }} | ||
}} | }} | ||
Line 1,033: | Line 1,033: | ||
{{#if: {{{min sowing skill|}}} | | {{#if: {{{min sowing skill|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Minimum Required Growing Skill = {{{min sowing skill|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Minimum Required Growing Skill = {{{min sowing skill|}}} }} }} |
;{{Hover title|link=no|Minimum skill required to sow the plant|Min Skill}} | ;{{Hover title|link=no|Minimum skill required to sow the plant|Min Skill}} | ||
:{{{min sowing skill|}}} [[Skills#Plants|Plants]] | :{{{min sowing skill|}}} [[Skills#Plants|Plants]] | ||
Line 1,045: | Line 1,045: | ||
{{#if: {{{fertility sensitivity|}}} | | {{#if: {{{fertility sensitivity|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Fertility Sensitivity = {{{fertility sensitivity|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Fertility Sensitivity = {{{fertility sensitivity|}}} }} }} |
;Fertility Sensitivity | ;Fertility Sensitivity | ||
:{{%| {{{fertility sensitivity|}}} }} | :{{%| {{{fertility sensitivity|}}} }} | ||
Line 1,056: | Line 1,056: | ||
{{#if: {{{grow days|}}} | | {{#if: {{{grow days|}}} | | ||
{{#if: {{{yield|}}} | | {{#if: {{{yield|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Harvest Yield Per Day (70) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((0.7-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Harvest Yield Per Day (70) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((0.7-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Harvest Yield Per Day (100) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((1.0-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Harvest Yield Per Day (100) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((1.0-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Harvest Yield Per Day (140) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((1.4-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Harvest Yield Per Day (140) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((1.4-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} |
− | {{#if: {{#pos:{{{sowTags|}}}|Hydroponic}} | {{#if: {{#var:setProperty}} | {{#set: Harvest Yield Per Day (280) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((2.8-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} }} | + | {{#if: {{#pos:{{{sowTags|}}}|Hydroponic}} | {{#if: {{#var:setProperty}} | {{#set:Harvest Yield Per Day (280) = {{#expr: {{{yield|}}}/( ({{{grow days|}}}/0.54167) / (((2.8-1)*{{{fertility sensitivity|}}}) + 1)) round 2}} }} }} }} |
}} }} }} | }} }} }} | ||
Line 1,066: | Line 1,066: | ||
<!-- Weapons --> | <!-- Weapons --> | ||
{{#ifeq: {{{mode|}}} | Melee | {{#ifeq: {{{mode|}}} | Melee | ||
− | | {{#if: {{#var:setProperty}} | {{#set: Melee Damage Base = {{{damage|}}} | Melee Warmup = {{{warmup|}}} | Melee Cooldown Base = {{{cooldown|}}} }} }} | + | | {{#if: {{#var:setProperty}} | {{#set:Melee Damage Base = {{{damage|}}} | Melee Warmup = {{{warmup|}}} | Melee Cooldown Base = {{{cooldown|}}} }} }} |
− | | {{#if: {{#var:setProperty}} | {{#set: Damage Base = {{{damage|}}} }} }} | + | | {{#if: {{#var:setProperty}} | {{#set:Damage Base = {{{damage|}}} }} }} |
{{#if: {{{mode|}}} | {{#if: {{{mode|}}} | ||
− | | {{#if: {{#var:setProperty}} | {{#set: Aiming Time Base = {{{warmup|}}} | Ranged Cooldown Base = {{{cooldown|}}} }} | + | | {{#if: {{#var:setProperty}} | {{#set:Aiming Time Base = {{{warmup|}}} | Ranged Cooldown Base = {{{cooldown|}}} }} |
}} }} | }} }} | ||
Line 1,079: | Line 1,079: | ||
{{#if: {{{mode|}}} | | {{#if: {{{mode|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Mode = {{{mode|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Mode = {{{mode|}}} }} }} |
;Mode | ;Mode | ||
:{{{mode|}}} | :{{{mode|}}} | ||
Line 1,088: | Line 1,088: | ||
{{#if: {{{damage|}}} | | {{#if: {{{damage|}}} | | ||
;Damage | ;Damage | ||
− | :{{{damage|}}} dmg {{#if: {{{damage type|}}} | {{#if: {{#var:setProperty}} | {{#set: Damage Type = {{ucfirst:{{{damage type|}}} }} }} }}([[Damage Types#{{ucfirst:{{{damage type|}}} }}|{{ucfirst:{{{damage type|}}} }}]])}} | + | :{{{damage|}}} dmg {{#if: {{{damage type|}}} | {{#if: {{#var:setProperty}} | {{#set:Damage Type = {{ucfirst:{{{damage type|}}} }} }} }}([[Damage Types#{{ucfirst:{{{damage type|}}} }}|{{ucfirst:{{{damage type|}}} }}]])}} |
}} | }} | ||
{{#if: {{{armorPenetration|}}} | | {{#if: {{{armorPenetration|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Armor Penetration = {{{armorPenetration|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Armor Penetration = {{{armorPenetration|}}} }} }} |
;Armor penetration | ;Armor penetration | ||
:{{{armorPenetration|}}}% | :{{{armorPenetration|}}}% | ||
Line 1,108: | Line 1,108: | ||
{{#if: {{{range|}}} | | {{#if: {{{range|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Range = {{{range|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Range = {{{range|}}} }} }} |
;Range | ;Range | ||
:{{{range|}}} tile(s) | :{{{range|}}} tile(s) | ||
Line 1,114: | Line 1,114: | ||
{{#if: {{{minrange|}}} | | {{#if: {{{minrange|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Minimum Range = {{{minrange|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Minimum Range = {{{minrange|}}} }} }} |
;Minimum Range | ;Minimum Range | ||
:{{{minrange|}}} tiles | :{{{minrange|}}} tiles | ||
Line 1,125: | Line 1,125: | ||
{{#if: {{{accuracyTouch|}}} | | {{#if: {{{accuracyTouch|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Accuracy (Touch) Base = {{{accuracyTouch|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Accuracy (Touch) Base = {{{accuracyTouch|}}} }} }} |
{{#if: {{{accuracyShort|}}} | | {{#if: {{{accuracyShort|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Accuracy (Short) Base = {{{accuracyShort|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Accuracy (Short) Base = {{{accuracyShort|}}} }} }} |
{{#if: {{{accuracyMedium|}}} | | {{#if: {{{accuracyMedium|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Accuracy (Medium) Base = {{{accuracyMedium|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Accuracy (Medium) Base = {{{accuracyMedium|}}} }} }} |
{{#if: {{{accuracyLong|}}} | | {{#if: {{{accuracyLong|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Accuracy (Long) Base = {{{accuracyLong|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Accuracy (Long) Base = {{{accuracyLong|}}} }} }} |
;{{Hover title|link=no|Touch % - Short % - Medium % - Long %|Accuracy}} | ;{{Hover title|link=no|Touch % - Short % - Medium % - Long %|Accuracy}} | ||
:{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}% | :{{{accuracyTouch|}}}% - {{{accuracyShort|}}}% - {{{accuracyMedium|}}}% - {{{accuracyLong|}}}% | ||
Line 1,155: | Line 1,155: | ||
{{#if: {{{burstTicks|}}} | | {{#if: {{{burstTicks|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Burst Ticks = {{{burstTicks|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Burst Ticks = {{{burstTicks|}}} }} }} |
;{{Hover title| link=no | Time between shots in a single burst | Burst Ticks }} | ;{{Hover title| link=no | Time between shots in a single burst | Burst Ticks }} | ||
− | :{{ticks| {{{burstTicks|}}} }}<br>({{#expr: 3600 / {{{burstTicks|}}} round2}} {{Hover title| link=no | Rounds Per Minute | RPM }}) | + | :{{ticks| {{{burstTicks|}}} }}<br/>({{#expr: 3600 / {{{burstTicks|}}} round2}} {{Hover title| link=no | Rounds Per Minute | RPM }}) |
}} | }} | ||
{{#if: {{{missRadius|}}} | | {{#if: {{{missRadius|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Miss Radius = {{{missRadius|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Miss Radius = {{{missRadius|}}} }} }} |
;{{Hover title| link=no | Missed shots are forced to land within this radius | Miss Radius }} | ;{{Hover title| link=no | Missed shots are forced to land within this radius | Miss Radius }} | ||
:{{{missRadius|}}} tile(s) | :{{{missRadius|}}} tile(s) | ||
Line 1,167: | Line 1,167: | ||
{{#if: {{{blastRadius|}}} | | {{#if: {{{blastRadius|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Blast Radius = {{{blastRadius|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Blast Radius = {{{blastRadius|}}} }} }} |
;Blast Radius | ;Blast Radius | ||
:{{{blastRadius|}}} | :{{{blastRadius|}}} | ||
Line 1,174: | Line 1,174: | ||
{{#if: {{{DPS|}}} | | {{#if: {{{DPS|}}} | | ||
{{#vardefine:maximumDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}}|1}} - 1 ))) / 60))) round2}} }} | {{#vardefine:maximumDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}}|1}} - 1 ))) / 60))) round2}} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set: Maximum DPS = {{#var:maximumDPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Maximum DPS = {{#var:maximumDPS}} }} }} |
{{#if: {{{accuracyTouch|}}} | | {{#if: {{{accuracyTouch|}}} | | ||
{{#if: {{{accuracyShort|}}} | | {{#if: {{{accuracyShort|}}} | | ||
Line 1,180: | Line 1,180: | ||
{{#if: {{{accuracyLong|}}} | | {{#if: {{{accuracyLong|}}} | | ||
{{#vardefine:averageDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} - 1 ))) / 60)) * ({{{accuracyAvg|}}} / 100)) round2}} }} }} }} }} }} | {{#vardefine:averageDPS | {{#expr: ((( {{{damage|}}} * {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} ) / (( {{#if: {{{cooldown|}}} | {{{cooldown|}}} | 1 }} + {{#if: {{{warmup|}}} | {{{warmup|}}} | 0 }} + ( {{#if: {{{burstTicks|}}} | {{{burstTicks|}}} | 1 }} * ( {{#if: {{{burst|}}} | {{{burst|}}} | 1 }} - 1 ))) / 60)) * ({{{accuracyAvg|}}} / 100)) round2}} }} }} }} }} }} | ||
− | {{#if: {{#var:setProperty}} | {{#set: Average DPS = {{#var:maximumDPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Average DPS = {{#var:maximumDPS}} }} }} |
;{{Hover title| link=yes | Formatted as: Maximum damage per second (DPS with average accuracy) | DPS }} | ;{{Hover title| link=yes | Formatted as: Maximum damage per second (DPS with average accuracy) | DPS }} | ||
:{{#var:maximumDPS}} {{#if: {{#var:averageDPS}} | ({{#var:averageDPS}}) }} | :{{#var:maximumDPS}} {{#if: {{#var:averageDPS}} | ({{#var:averageDPS}}) }} | ||
Line 1,186: | Line 1,186: | ||
{{#if: {{{stoppingPower|}}} | | {{#if: {{{stoppingPower|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Stopping Power = {{{stoppingPower|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Stopping Power = {{{stoppingPower|}}} }} }} |
;{{Hover title| link=no | Ability of a weapon to 'stagger' targets, slowing them down for a short while. Larger values allow the weapon to stagger targets with bigger body sizes. | Stopping power}} | ;{{Hover title| link=no | Ability of a weapon to 'stagger' targets, slowing them down for a short while. Larger values allow the weapon to stagger targets with bigger body sizes. | Stopping power}} | ||
:{{{stoppingPower|}}} | :{{{stoppingPower|}}} | ||
Line 1,198: | Line 1,198: | ||
<dl> | <dl> | ||
}} | }} | ||
+ | |||
<!-- Animal Melee Combat --> | <!-- Animal Melee Combat --> | ||
− | + | {{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}} | | |
− | {{#if: {{{attack1dmg|}}}{{{attack1type|}}}{{{attack1part|}}}{{{attack1cool|}}}| | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 1 Damage = {{{attack1dmg|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 1 Damage = {{{attack1dmg|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 1 AP = {{{attack1ap|{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}} }}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 1 AP = {{{attack1ap|{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}} }}} }} }} | ||
Line 1,207: | Line 1,207: | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 1 Cooldown = {{{attack1cool|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 1 Cooldown = {{{attack1cool|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 1 Chance Factor = {{{attack1chancefactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 1 Chance Factor = {{{attack1chancefactor|}}} }} }} | ||
− | {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool}}}) }} }} | + | {{#vardefine: Attack1DPS | {{#expr: {{{attack1dmg|}}} / ({{{attack1cool|}}}) }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Attack 1 DPS = {{#var: Attack1DPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Attack 1 DPS = {{#var:Attack1DPS}} }} }} |
+ | {{#if: {{#var:setProperty}} | {{#set:Attack 1 Stun = {{{attack1stun|}}} }} }} | ||
;Attack{{#if: {{{attack2dmg|}}}| 1}} | ;Attack{{#if: {{{attack2dmg|}}}| 1}} | ||
− | :{{{attack1part|Body part?}}}<br>{{{attack1dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack1type|}}}}}|{{ucfirst:{{{attack1type|type?}}}}}]])<br>{{{attack1ap|{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}}}}}% {{AP}}<br>{{{attack1cool|0}}} second cooldown | + | :{{{attack1part|Body part?}}}<!-- |
− | -->{{#if: {{{ | + | --><br/>{{{attack1dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack1type|}}} }}|{{ucfirst:{{{attack1type|type?}}} }}]])<!-- |
+ | --><br/>{{{attack1ap|{{#expr: ({{{attack1dmg|}}}*1.5-0.001) round 0}} }}}% {{AP}}<!-- | ||
+ | --><br/>{{{attack1cool|0}}} second cooldown<!-- | ||
+ | -->{{#if: {{{attack1chancefactor|}}} | <br/>{{{attack1chancefactor|}}} chance factor}}<!-- | ||
+ | -->{{#if: {{{attack1stun|}}} | <br/>Stun for {{Ticks|{{{attack1stun|0}}}*20}} on first strike}} }} | ||
− | {{#if: {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}}| | + | {{#if: {{{attack2dmg|}}}{{{attack2type|}}}{{{attack2part|}}}{{{attack2cool|}}} | |
{{#if: {{#var:setProperty}} | {{#set:Attack 2 Damage = {{{attack2dmg|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 2 Damage = {{{attack2dmg|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 2 AP = {{{attack2ap|{{#expr: ({{{attack2dmg|}}}*1.5-0.001) round 0}} }}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 2 AP = {{{attack2ap|{{#expr: ({{{attack2dmg|}}}*1.5-0.001) round 0}} }}} }} }} | ||
Line 1,220: | Line 1,225: | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 2 Cooldown = {{{attack2cool|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 2 Chance Factor = {{{attack2chancefactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 2 Chance Factor = {{{attack2chancefactor|}}} }} }} | ||
− | {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool}}}) }} }} | + | {{#vardefine: Attack2DPS | {{#expr: {{{attack2dmg|}}} / ({{{attack2cool|}}}) }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Attack 2 DPS = {{#var: Attack2DPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Attack 2 DPS = {{#var:Attack2DPS}} }} }} |
+ | {{#if: {{#var:setProperty}} | {{#set:Attack 2 Stun = {{{attack2stun|}}} }} }} | ||
;Attack 2 | ;Attack 2 | ||
− | :{{{attack2part|Body part?}}}<br>{{{attack2dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack2type|}}}}}|{{ucfirst:{{{attack2type|type?}}}}}]])<br>{{{attack2ap|{{#expr: ({{{attack2dmg|}}}*1.5-0.001) round 0}}}}}% {{AP}}<br>{{{attack2cool|0}}} second cooldown | + | :{{{attack2part|Body part?}}}<!-- |
− | -->{{#if: {{{ | + | --><br/>{{{attack2dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack2type|}}} }}|{{ucfirst:{{{attack2type|type?}}} }}]])<!-- |
+ | --><br/>{{{attack2ap|{{#expr: ({{{attack2dmg|}}}*1.5-0.001) round 0}} }}}% {{AP}}<!-- | ||
+ | --><br/>{{{attack2cool|0}}} second cooldown<!-- | ||
+ | -->{{#if: {{{attack2chancefactor|}}} | <br/>{{{attack2chancefactor|}}} chance factor}}<!-- | ||
+ | -->{{#if: {{{attack2stun|}}} | <br/>Stun for {{Ticks|{{{attack2stun|0}}}*20}} on first strike}} }} | ||
{{#if: {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}| | {{#if: {{{attack3dmg|}}}{{{attack3type|}}}{{{attack3part|}}}{{{attack3cool|}}}| | ||
Line 1,233: | Line 1,243: | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 3 Cooldown = {{{attack3cool|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 3 Chance Factor = {{{attack3chancefactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 3 Chance Factor = {{{attack3chancefactor|}}} }} }} | ||
− | {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool}}}) }} }} | + | {{#vardefine: Attack3DPS | {{#expr: {{{attack3dmg|}}} / ({{{attack3cool|}}}) }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Attack 3 DPS = {{#var: Attack3DPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Attack 3 DPS = {{#var:Attack3DPS}} }} }} |
+ | {{#if: {{#var:setProperty}} | {{#set:Attack 3 Stun = {{{attack3stun|}}} }} }} | ||
;Attack 3 | ;Attack 3 | ||
− | :{{{attack3part|Body part?}}}<br>{{{attack3dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack3type|}}}}}|{{ucfirst:{{{attack3type|type?}}}}}]])<br>{{{attack3ap|{{#expr: ({{{attack3dmg|}}}*1.5-0.001) round 0}}}}}% {{AP}}<br>{{{attack3cool|0}}} second cooldown | + | :{{{attack3part|Body part?}}}<!-- |
− | -->{{#if: {{{ | + | --><br/>{{{attack3dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack3type|}}} }}|{{ucfirst:{{{attack3type|type?}}} }}]])<!-- |
+ | --><br/>{{{attack3ap|{{#expr: ({{{attack3dmg|}}}*1.5-0.001) round 0}} }}}% {{AP}}<!-- | ||
+ | --><br/>{{{attack3cool|0}}} second cooldown<!-- | ||
+ | -->{{#if: {{{attack3chancefactor|}}} | <br/>{{{attack3chancefactor|}}} chance factor}}<!-- | ||
+ | -->{{#if: {{{attack3stun|}}}| <br/>Stun for {{Ticks|{{{attack3stun|0}}}*20}} on first strike}} }} | ||
{{#if: {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}| | {{#if: {{{attack4dmg|}}}{{{attack4type|}}}{{{attack4part|}}}{{{attack4cool|}}}| | ||
Line 1,246: | Line 1,261: | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 4 Cooldown = {{{attack4cool|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 4 Chance Factor = {{{attack4chancefactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 4 Chance Factor = {{{attack4chancefactor|}}} }} }} | ||
− | {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool}}}) }} }} | + | {{#vardefine: Attack4DPS | {{#expr: {{{attack4dmg|}}} / ({{{attack4cool|}}}) }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Attack 4 DPS = {{#var: Attack4DPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Attack 4 DPS = {{#var:Attack4DPS}} }} }} |
+ | {{#if: {{#var:setProperty}} | {{#set:Attack 4 Stun = {{{attack4stun|}}} }} }} | ||
;Attack 4 | ;Attack 4 | ||
− | :{{{attack4part|Body part?}}}<br>{{{attack4dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack4type|}}}}}|{{ucfirst:{{{attack4type|type?}}}}}]])<br>{{{attack4ap|{{#expr: ({{{attack4dmg|}}}*1.5-0.001) round 0}}}}}% {{AP}}<br>{{{attack4cool|0}}} second cooldown | + | :{{{attack4part|Body part?}}}<!-- |
− | -->{{#if: {{{ | + | --><br/>{{{attack4dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack4type|}}} }}|{{ucfirst:{{{attack4type|type?}}} }}]])<!-- |
+ | --><br/>{{{attack4ap|{{#expr: ({{{attack4dmg|}}}*1.5-0.001) round 0}} }}}% {{AP}}<!-- | ||
+ | --><br/>{{{attack4cool|0}}} second cooldown<!-- | ||
+ | -->{{#if: {{{attack4chancefactor|}}} | <br/>{{{attack4chancefactor|}}} chance factor}}<!-- | ||
+ | -->{{#if: {{{attack4stun|}}} | <br/>Stun for {{Ticks|{{{attack4stun|0}}}*20}} on first strike}} }} | ||
− | {{#if: {{{attack5dmg|}}}{{{attack5type|}}}{{{attack5part|}}}{{{attack5cool|}}}| | + | {{#if: {{{attack5dmg|}}}{{{attack5type|}}}{{{attack5part|}}}{{{attack5cool|}}} | |
{{#if: {{#var:setProperty}} | {{#set:Attack 5 Damage = {{{attack5dmg|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 5 Damage = {{{attack5dmg|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 5 AP = {{{attack5ap|{{#expr: ({{{attack5dmg|}}}*1.5-0.001) round 0}} }}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 5 AP = {{{attack5ap|{{#expr: ({{{attack5dmg|}}}*1.5-0.001) round 0}} }}} }} }} | ||
Line 1,259: | Line 1,279: | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 5 Cooldown = {{{attack5cool|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 5 Cooldown = {{{attack5cool|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 5 Chance Factor = {{{attack5chancefactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 5 Chance Factor = {{{attack5chancefactor|}}} }} }} | ||
− | {{#vardefine: Attack5DPS | {{#expr: {{{attack5dmg|}}} / ({{{attack5cool}}}) }} }} | + | {{#vardefine: Attack5DPS | {{#expr: {{{attack5dmg|}}} / ({{{attack5cool|}}}) }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Attack 5 DPS = {{#var: Attack5DPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Attack 5 DPS = {{#var:Attack5DPS}} }} }} |
+ | {{#if: {{#var:setProperty}} | {{#set:Attack 5 Stun = {{{attack5stun|}}} }} }} | ||
;Attack 5 | ;Attack 5 | ||
− | :{{{attack5part|Body part?}}}<br>{{{attack5dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack5type|}}}}}|{{ucfirst:{{{attack5type|type?}}}}}]])<br>{{{attack5ap|{{#expr: ({{{attack5dmg|}}}*1.5-0.001) round 0}}}}}% {{AP}}<br>{{{attack5cool|0}}} second cooldown | + | :{{{attack5part|Body part?}}}<!-- |
− | -->{{#if: {{{ | + | --><br/>{{{attack5dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack5type|}}} }}|{{ucfirst:{{{attack5type|type?}}} }}]])<!-- |
+ | --><br/>{{{attack5ap|{{#expr: ({{{attack5dmg|}}}*1.5-0.001) round 0}} }}}% {{AP}}<!-- | ||
+ | --><br/>{{{attack5cool|0}}} second cooldown<!-- | ||
+ | -->{{#if: {{{attack5chancefactor|}}} | <br/>{{{attack5chancefactor|}}} chance factor}}<!-- | ||
+ | -->{{#if: {{{attack5stun|}}} | <br/>Stun for {{Ticks|{{{attack5stun|0}}}*20}} on first strike}} }} | ||
− | {{#if: {{{attack6dmg|}}}{{{attack6type|}}}{{{attack6part|}}}{{{attack6cool|}}}| | + | {{#if: {{{attack6dmg|}}}{{{attack6type|}}}{{{attack6part|}}}{{{attack6cool|}}} | |
{{#if: {{#var:setProperty}} | {{#set:Attack 6 Damage = {{{attack6dmg|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 6 Damage = {{{attack6dmg|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 6 AP = {{{attack6ap|{{#expr: ({{{attack6dmg|}}}*1.5-0.001) round 0}} }}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 6 AP = {{{attack6ap|{{#expr: ({{{attack6dmg|}}}*1.5-0.001) round 0}} }}} }} }} | ||
Line 1,272: | Line 1,297: | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 6 Cooldown = {{{attack6cool|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 6 Cooldown = {{{attack6cool|}}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set:Attack 6 Chance Factor = {{{attack6chancefactor|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Attack 6 Chance Factor = {{{attack6chancefactor|}}} }} }} | ||
− | {{#vardefine: Attack6DPS | {{#expr: {{{attack6dmg|}}} / ({{{attack6cool}}}) }} }} | + | {{#vardefine: Attack6DPS | {{#expr: {{{attack6dmg|}}} / ({{{attack6cool|}}}) }} }} |
− | {{#if: {{#var:setProperty}} | {{#set: Attack 6 DPS = {{#var: Attack6DPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Attack 6 DPS = {{#var:Attack6DPS}} }} }} |
+ | {{#if: {{#var:setProperty}} | {{#set:Attack 6 Stun = {{{attack6stun|}}} }} }} | ||
;Attack 6 | ;Attack 6 | ||
− | :{{{attack6part|Body part?}}}<br>{{{attack6dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack6type|}}}}}|{{ucfirst:{{{attack6type|type?}}}}}]])<br>{{{attack6ap|{{#expr: ({{{attack6dmg|}}}*1.5-0.001) round 0}}}}}% {{AP}}<br>{{{attack6cool|0}}} second cooldown | + | :{{{attack6part|Body part?}}}<!-- |
− | -->{{#if: {{{ | + | --><br/>{{{attack6dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{attack6type|}}} }}|{{ucfirst:{{{attack6type|type?}}} }}]])<!-- |
+ | --><br/>{{{attack6ap|{{#expr: ({{{attack6dmg|}}}*1.5-0.001) round 0}} }}}% {{AP}}<!-- | ||
+ | --><br/>{{{attack6cool|0}}} second cooldown<!-- | ||
+ | -->{{#if: {{{attack6chancefactor|}}} | <br/>{{{attack6chancefactor|}}} chance factor}}<!-- | ||
+ | -->{{#if: {{{attack6stun|}}} | <br/>Stun for {{Ticks|{{{attack6stun|0}}}*20}} on first strike}} }} | ||
{{#ifeq: {{#varexists: Attack6DPS}}|1| | {{#ifeq: {{#varexists: Attack6DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}} + {{#var: Attack5DPS}} + {{#var: Attack6DPS}})/6 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}} + {{#var:Attack4DPS}} + {{#var:Attack5DPS}} + {{#var:Attack6DPS}})/6 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack5DPS}}|1| | {{#ifeq: {{#varexists: Attack5DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}} + {{#var: Attack5DPS}})/5 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}} + {{#var:Attack4DPS}} + {{#var:Attack5DPS}})/5 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack4DPS}}|1| | {{#ifeq: {{#varexists: Attack4DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}} + {{#var: Attack4DPS}})/4 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}} + {{#var:Attack4DPS}})/4 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack3DPS}}|1| | {{#ifeq: {{#varexists: Attack3DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}} + {{#var: Attack3DPS}})/3 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}} + {{#var:Attack3DPS}})/3 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack2DPS}}|1| | {{#ifeq: {{#varexists: Attack2DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: ({{#var: Attack1DPS}} + {{#var: Attack2DPS}})/2 * 0.62 round 2}} }}| | + | {{#vardefine: MobAverageDPS | {{#expr: ({{#var:Attack1DPS}} + {{#var:Attack2DPS}})/2 * 0.62 round 2}} }}| |
{{#ifeq: {{#varexists: Attack1DPS}}|1| | {{#ifeq: {{#varexists: Attack1DPS}}|1| | ||
− | {{#vardefine: MobAverageDPS | {{#expr: {{#var: Attack1DPS}} * 0.62 round 2}} }} }} }} }} }} }} }} | + | {{#vardefine: MobAverageDPS | {{#expr: {{#var:Attack1DPS}} * 0.62 round 2}} }} }} }} }} }} }} }} |
{{#ifeq: {{#varexists: MobAverageDPS}} | 1 | | {{#ifeq: {{#varexists: MobAverageDPS}} | 1 | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Mob Average DPS = {{#var: MobAverageDPS}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Mob Average DPS = {{#var:MobAverageDPS}} }} }} |
;Average {{DPS}} | ;Average {{DPS}} | ||
− | :{{#var: MobAverageDPS}} | + | :{{#var:MobAverageDPS}} |
}} | }} | ||
Line 1,339: | Line 1,369: | ||
<!-- New melee starting from Beta 18 --> | <!-- New melee starting from Beta 18 --> | ||
− | {{#ifeq: {{lc:{{{mode|}}}}} | melee | | + | {{#ifeq: {{lc:{{{mode|}}} }} | melee | |
{{#if: {{#var:setProperty}} | {{#set:Mode = {{{mode|}}} }} }} | {{#if: {{#var:setProperty}} | {{#set:Mode = {{{mode|}}} }} }} | ||
;Mode | ;Mode | ||
Line 1,354: | Line 1,384: | ||
{{#vardefine: MeleeAttack1Chance | {{#expr: {{{meleeattack1dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack1Chance | {{#expr: {{{meleeattack1dmg|}}} ^ 2 }} }} | ||
;Melee Attack{{#if: {{{meleeattack1dmg|}}}| 1}} | ;Melee Attack{{#if: {{{meleeattack1dmg|}}}| 1}} | ||
− | :{{{meleeattack1part|Body part?}}}<br>{{{meleeattack1dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack1type|}}}}}|{{ucfirst:{{{meleeattack1type|type?}}}}}]])<br>{{{meleeattack1cool|0}}} seconds cooldown <br>{{{meleeattack1ap|0}}}% armor penetration}} | + | :{{{meleeattack1part|Body part?}}}<br/>{{{meleeattack1dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack1type|}}} }}|{{ucfirst:{{{meleeattack1type|type?}}} }}]])<br/>{{{meleeattack1cool|0}}} seconds cooldown<br/>{{{meleeattack1ap|0}}}% armor penetration}} |
{{#if: {{{body part|}}} | <!-- Body part that is replaced by an artificial body part --> | {{#if: {{{body part|}}} | <!-- Body part that is replaced by an artificial body part --> | ||
Line 1,371: | Line 1,401: | ||
{{#vardefine: MeleeAttack2Chance | {{#expr: {{{meleeattack2dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack2Chance | {{#expr: {{{meleeattack2dmg|}}} ^ 2 }} }} | ||
;Melee Attack 2{{#if: {{{meleeattack2dmg|}}}| }} | ;Melee Attack 2{{#if: {{{meleeattack2dmg|}}}| }} | ||
− | :{{{meleeattack2part|Body part?}}}<br>{{{meleeattack2dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack2type|}}}}}|{{ucfirst:{{{meleeattack2type|type?}}}}}]])<br>{{{meleeattack2cool|0}}} seconds cooldown <br>{{{meleeattack2ap|0}}}% armor penetration}} | + | :{{{meleeattack2part|Body part?}}}<br/>{{{meleeattack2dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack2type|}}} }}|{{ucfirst:{{{meleeattack2type|type?}}} }}]])<br/>{{{meleeattack2cool|0}}} seconds cooldown<br/>{{{meleeattack2ap|0}}}% armor penetration}} |
{{#if: {{{meleeattack3dmg|}}}{{{meleeattack3type|}}}{{{meleeattack3part|}}}{{{meleeattack3cool|}}}| | {{#if: {{{meleeattack3dmg|}}}{{{meleeattack3type|}}}{{{meleeattack3part|}}}{{{meleeattack3cool|}}}| | ||
Line 1,382: | Line 1,412: | ||
{{#vardefine: MeleeAttack3Chance | {{#expr: {{{meleeattack3dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack3Chance | {{#expr: {{{meleeattack3dmg|}}} ^ 2 }} }} | ||
;Melee Attack 3{{#if: {{{meleeattack3dmg|}}}| }} | ;Melee Attack 3{{#if: {{{meleeattack3dmg|}}}| }} | ||
− | :{{{meleeattack3part|Body part?}}}<br>{{{meleeattack3dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack3type|}}}}}|{{ucfirst:{{{meleeattack3type|type?}}}}}]])<br>{{{meleeattack3cool|0}}} seconds cooldown <br>{{{meleeattack3ap|0}}}% armor penetration}} | + | :{{{meleeattack3part|Body part?}}}<br/>{{{meleeattack3dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack3type|}}} }}|{{ucfirst:{{{meleeattack3type|type?}}} }}]])<br/>{{{meleeattack3cool|0}}} seconds cooldown<br/>{{{meleeattack3ap|0}}}% armor penetration}} |
{{#if: {{{meleeattack4dmg|}}}{{{meleeattack4type|}}}{{{meleeattack4part|}}}{{{meleeattack4cool|}}}| | {{#if: {{{meleeattack4dmg|}}}{{{meleeattack4type|}}}{{{meleeattack4part|}}}{{{meleeattack4cool|}}}| | ||
Line 1,393: | Line 1,423: | ||
{{#vardefine: MeleeAttack4Chance | {{#expr: {{{meleeattack4dmg|}}} ^ 2 }} }} | {{#vardefine: MeleeAttack4Chance | {{#expr: {{{meleeattack4dmg|}}} ^ 2 }} }} | ||
;Melee Attack 4{{#if: {{{meleeattack3dmg|}}}| }} | ;Melee Attack 4{{#if: {{{meleeattack3dmg|}}}| }} | ||
− | :{{{meleeattack4part|Body part?}}}<br>{{{meleeattack4dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack4type|}}}}}|{{ucfirst:{{{meleeattack4type|type?}}}}}]])<br>{{{meleeattack4cool|0}}} seconds cooldown <br>{{{meleeattack4ap|0}}}% armor penetration}} | + | :{{{meleeattack4part|Body part?}}}<br/>{{{meleeattack4dmg|?}}} dmg ([[Damage Types#{{ucfirst:{{{meleeattack4type|}}} }}|{{ucfirst:{{{meleeattack4type|type?}}} }}]])<br/>{{{meleeattack4cool|0}}} seconds cooldown<br/>{{{meleeattack4ap|0}}}% armor penetration}} |
{{#if: {{{MeleeWeaponAverageDPS|}}} | | {{#if: {{{MeleeWeaponAverageDPS|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: MeleeDPS = {{{MeleeWeaponAverageDPS|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:MeleeDPS = {{{MeleeWeaponAverageDPS|}}} }} }} |
;Melee Average {{DPS}} | ;Melee Average {{DPS}} | ||
:{{{MeleeWeaponAverageDPS|}}} | :{{{MeleeWeaponAverageDPS|}}} | ||
Line 1,403: | Line 1,433: | ||
{{#if: {{{MeleeWeaponAverageAP|}}} | | {{#if: {{{MeleeWeaponAverageAP|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: MeleeAP = {{{MeleeWeaponAverageAP|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:MeleeAP = {{{MeleeWeaponAverageAP|}}} }} }} |
;Melee Average {{AP}} | ;Melee Average {{AP}} | ||
:{{{MeleeWeaponAverageAP|}}}% | :{{{MeleeWeaponAverageAP|}}}% | ||
Line 1,412: | Line 1,442: | ||
{{#ifeq: {{#varexists: MeleeAttack3Chance}}|1| | {{#ifeq: {{#varexists: MeleeAttack3Chance}}|1| | ||
− | {{#vardefine: TotalChance | {{#expr: ({{#var: MeleeAttack1Chance}} + {{#var: MeleeAttack2Chance}} + {{#var: MeleeAttack3Chance}}) }} }}| | + | {{#vardefine: TotalChance | {{#expr: ({{#var:MeleeAttack1Chance}} + {{#var:MeleeAttack2Chance}} + {{#var:MeleeAttack3Chance}}) }} }}| |
{{#ifeq: {{#varexists: MeleeAttack2Chance}}|1| | {{#ifeq: {{#varexists: MeleeAttack2Chance}}|1| | ||
− | {{#vardefine: TotalChance | {{#expr: ({{#var: MeleeAttack1Chance}} + {{#var: MeleeAttack2Chance}})}} }}| | + | {{#vardefine: TotalChance | {{#expr: ({{#var:MeleeAttack1Chance}} + {{#var:MeleeAttack2Chance}})}} }}| |
{{#ifeq: {{#varexists: MeleeAttack1Chance}}|1| | {{#ifeq: {{#varexists: MeleeAttack1Chance}}|1| | ||
− | {{#vardefine: TotalChance | {{#expr: {{#var: MeleeAttack1Chance}}}} }} }} }} }} | + | {{#vardefine: TotalChance | {{#expr: {{#var:MeleeAttack1Chance}} }} }} }} }} }} |
{{#ifeq: {{#varexists: MeleeAttack3DPS}}|1| | {{#ifeq: {{#varexists: MeleeAttack3DPS}}|1| | ||
− | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var: MeleeAttack1DPS}} * {{#var: MeleeAttack1Chance}} + {{#var: MeleeAttack2DPS}} * {{#var: MeleeAttack2Chance}} + {{#var: MeleeAttack3DPS}} * {{#var: MeleeAttack3Chance}} ) / {{#var: TotalChance}} }} }}| | + | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var:MeleeAttack1DPS}} * {{#var:MeleeAttack1Chance}} + {{#var:MeleeAttack2DPS}} * {{#var:MeleeAttack2Chance}} + {{#var:MeleeAttack3DPS}} * {{#var:MeleeAttack3Chance}} ) / {{#var:TotalChance}} }} }}| |
{{#ifeq: {{#varexists: MeleeAttack2DPS}}|1| | {{#ifeq: {{#varexists: MeleeAttack2DPS}}|1| | ||
− | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var: MeleeAttack1DPS}} * {{#var: MeleeAttack1Chance}} + {{#var: meleeattack2dmg}} * {{#var: MeleeAttack2Chance}} ) / {{#var: TotalChance}} }} }}| | + | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: ({{#var:MeleeAttack1DPS}} * {{#var:MeleeAttack1Chance}} + {{#var:meleeattack2dmg}} * {{#var:MeleeAttack2Chance}} ) / {{#var:TotalChance}} }} }}| |
{{#ifeq: {{#varexists: MeleeAttack1DPS}}|1| | {{#ifeq: {{#varexists: MeleeAttack1DPS}}|1| | ||
− | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: {{#var: MeleeAttack1DPS}} }} }} }} }} }} | + | {{#vardefine: MeleeWeaponAverageDPS | {{#expr: {{#var:MeleeAttack1DPS}} }} }} }} }} }} |
---------- Line to separate the mess above from the other stuff below ---------- --> | ---------- Line to separate the mess above from the other stuff below ---------- --> | ||
Line 1,434: | Line 1,464: | ||
}} | }} | ||
− | {{#if: {{{production facility 1|}}}|{{#if: {{#var:setProperty}} | {{#set: Production Facility 1 = {{{production facility 1|}}} }} }} }} | + | {{#if: {{{production facility 1|}}} | {{#if: {{#var:setProperty}} | {{#set:Production Facility 1 = {{{production facility 1|}}} }} }} }} |
− | {{#if: {{{production facility 2|}}}|{{#if: {{#var:setProperty}} | {{#set: Production Facility 2 = {{{production facility 2|}}} }} }} }} | + | {{#if: {{{production facility 2|}}} | {{#if: {{#var:setProperty}} | {{#set:Production Facility 2 = {{{production facility 2|}}} }} }} }} |
− | {{#if: {{{production facility 3|}}}|{{#if: {{#var:setProperty}} | {{#set: Production Facility 3 = {{{production facility 3|}}} }} }} }} | + | {{#if: {{{production facility 3|}}} | {{#if: {{#var:setProperty}} | {{#set:Production Facility 3 = {{{production facility 3|}}} }} }} }} |
− | {{#if: {{{production facility 4|}}}|{{#if: {{#var:setProperty}} | {{#set: Production Facility 4 = {{{production facility 4|}}} }} }} }} | + | {{#if: {{{production facility 4|}}} | {{#if: {{#var:setProperty}} | {{#set:Production Facility 4 = {{{production facility 4|}}} }} }} }} |
− | {{#if: {{{production facility 1|}}}| | + | {{#if: {{{production facility 1|}}} | |
;Crafted At | ;Crafted At | ||
− | :{{#if:{{{production facility 1|}}}|{{Icon Small|{{{production facility 1|}}}|{{#switch:{{lc:{{{production facility 1|}}}}}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}}}}}}{{#if:{{{production facility 2|}}}| / {{Icon Small|{{{production facility 2|}}}|{{#switch:{{lc:{{{production facility 2|}}}}}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}}}}}}{{#if:{{{production facility 3|}}}| / {{Icon Small|{{{production facility 3|}}}|{{#switch:{{lc:{{{production facility 3|}}}}}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}}}}}}{{#if:{{{production facility 4|}}}| / {{Icon Small|{{{production facility 4|}}}|{{#switch:{{lc:{{{production facility 4|}}}}}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}}}}}} | + | :{{#if:{{{production facility 1|}}}|{{Icon Small|{{{production facility 1|}}}|{{#switch:{{lc:{{{production facility 1|}}} }}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}} }} }}{{#if:{{{production facility 2|}}}| / {{Icon Small|{{{production facility 2|}}}|{{#switch:{{lc:{{{production facility 2|}}} }}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}} }} }}{{#if:{{{production facility 3|}}}| / {{Icon Small|{{{production facility 3|}}}|{{#switch:{{lc:{{{production facility 3|}}} }}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}} }} }}{{#if:{{{production facility 4|}}}| / {{Icon Small|{{{production facility 4|}}}|{{#switch:{{lc:{{{production facility 4|}}} }}|butcher spot|crafting spot|campfire|fermenting barrel|nutrient paste dispenser=16|#default=32}} }} }} |
}} | }} | ||
{{#if: {{{research|}}}| {{#vardefine: research1|{{ucfirst:{{#explode:{{{research|}}}|,|0}} }} }} {{#vardefine: research2|{{ucfirst:{{#explode:{{{research|}}}|,|1}} }} }} {{#vardefine: research3|{{ucfirst:{{#explode:{{{research|}}}|,|2}} }} }} {{#vardefine: research4|{{ucfirst:{{#explode:{{{research|}}}|,|3}} }} }} {{#vardefine: research5|{{ucfirst:{{#explode:{{{research|}}}|,|4}} }} }} | {{#if: {{{research|}}}| {{#vardefine: research1|{{ucfirst:{{#explode:{{{research|}}}|,|0}} }} }} {{#vardefine: research2|{{ucfirst:{{#explode:{{{research|}}}|,|1}} }} }} {{#vardefine: research3|{{ucfirst:{{#explode:{{{research|}}}|,|2}} }} }} {{#vardefine: research4|{{ucfirst:{{#explode:{{{research|}}}|,|3}} }} }} {{#vardefine: research5|{{ucfirst:{{#explode:{{{research|}}}|,|4}} }} }} | ||
{{#if: {{#var:setProperty}} | {{#set: | {{#if: {{#var:setProperty}} | {{#set: | ||
− | Required Research = {{#var: research1}} | + | Required Research = {{#var:research1}} |
− | |Required Research = {{#var: research2}} | + | |Required Research = {{#var:research2}} |
− | |Required Research = {{#var: research3}} | + | |Required Research = {{#var:research3}} |
− | |Required Research = {{#var: research4}} | + | |Required Research = {{#var:research4}} |
− | |Required Research = {{#var: research5}} | + | |Required Research = {{#var:research5}} |
}} }} | }} }} | ||
;Required Research | ;Required Research | ||
− | :[[Research#{{#var: research1}}|{{#var: research1}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening |{{lc:{{#var: research1}}}} }} | {{Icon Small|Techprint|16}}}}<!-- | + | :[[Research#{{#var:research1}}|{{#var:research1}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening | {{lc:{{#var:research1}} }} }} | {{Icon Small|Techprint|16}} }}<!-- |
− | -->{{#if:{{#var: research2}}|, [[Research#{{#var: research2}}|{{#var: research2}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening |{{lc:{{#var: research2}}}} }} | {{Icon Small|Techprint|16}}}} }}<!-- | + | -->{{#if:{{#var:research2}}|, [[Research#{{#var:research2}}|{{#var:research2}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening | {{lc:{{#var:research2}} }} }} | {{Icon Small|Techprint|16}} }} }}<!-- |
− | -->{{#if:{{#var: research3}}|, [[Research#{{#var: research3}}|{{#var: research3}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening |{{lc:{{#var: research3}}}} }} | {{Icon Small|Techprint|16}}}} }}<!-- | + | -->{{#if:{{#var:research3}}|, [[Research#{{#var:research3}}|{{#var:research3}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening | {{lc:{{#var:research3}} }} }} | {{Icon Small|Techprint|16}} }} }}<!-- |
− | -->{{#if:{{#var: research4}}|, [[Research#{{#var: research4}}|{{#var: research4}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening |{{lc:{{#var: research4}}}} }} | {{Icon Small|Techprint|16}}}} }}<!-- | + | -->{{#if:{{#var:research4}}|, [[Research#{{#var:research4}}|{{#var:research4}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening | {{lc:{{#var:research4}} }} }} | {{Icon Small|Techprint|16}} }} }}<!-- |
− | -->{{#if:{{#var: research5}}|, [[Research#{{#var: research5}}|{{#var: research5}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening |{{lc:{{#var: research5}}}} }} | {{Icon Small|Techprint|16}}}} }} | + | -->{{#if:{{#var:research5}}|, [[Research#{{#var:research5}}|{{#var:research5}}]] {{#if: {{#pos:artificial metabolism,brain wiring,cataphract armor,circadian influence,compact weaponry,flesh shaping,healing factors,jump packs,molecular analysis,neural computation,poison synthesis,specialized limbs,skin hardening | {{lc:{{#var:research5}} }} }} | {{Icon Small|Techprint|16}} }} }} |
}} | }} | ||
− | {{#if: {{{skill 1|}}}|{{#if: {{#var:setProperty}} | {{#set:Skill 1 = {{ucfirst:{{{skill 1|}}}}} }} }}}} | + | {{#if: {{{skill 1|}}} | {{#if: {{#var:setProperty}} | {{#set:Skill 1 = {{ucfirst:{{{skill 1|}}} }} }} }} }} |
− | {{#if: {{{skill 2|}}}|{{#if: {{#var:setProperty}} | {{#set:Skill 2 = {{ucfirst:{{{skill 2|}}}}} }} }}}} | + | {{#if: {{{skill 2|}}} | {{#if: {{#var:setProperty}} | {{#set:Skill 2 = {{ucfirst:{{{skill 2|}}} }} }} }} }} |
− | {{#if: {{{skill 1 level|}}}|{{#if: {{#var:setProperty}} | {{#set:Skill 1 Level = {{{skill 1 level|}}} }} }}}} | + | {{#if: {{{skill 1 level|}}} | {{#if: {{#var:setProperty}} | {{#set:Skill 1 Level = {{{skill 1 level|}}} }} }} }} |
− | {{#if: {{{skill 2 level|}}}|{{#if: {{#var:setProperty}} | {{#set:Skill 2 Level = {{{skill 2 level|}}} }} }}}} | + | {{#if: {{{skill 2 level|}}} | {{#if: {{#var:setProperty}} | {{#set:Skill 2 Level = {{{skill 2 level|}}} }} }} }} |
{{#if: {{{skill 1|}}} | | {{#if: {{{skill 1|}}} | | ||
;Skill{{#if:{{{skill 2|}}}|s}} Required | ;Skill{{#if:{{{skill 2|}}}|s}} Required | ||
− | :[[Skills#{{ucfirst:{{{skill 1|}}}}}|{{ucfirst:{{{skill 1|}}}}}]] {{{skill 1 level|}}} {{#if: {{{skill 2|}}}|& [[Skills#{{ucfirst:{{{skill 2|}}}}}|{{ucfirst:{{{skill 2|}}}}}]] {{{skill 2 level|}}} }} | + | :[[Skills#{{ucfirst:{{{skill 1|}}} }}|{{ucfirst:{{{skill 1|}}} }}]] {{{skill 1 level|}}} {{#if: {{{skill 2|}}}|& [[Skills#{{ucfirst:{{{skill 2|}}} }}|{{ucfirst:{{{skill 2|}}} }}]] {{{skill 2 level|}}} }} |
}} | }} | ||
Line 1,482: | Line 1,512: | ||
{{#if: {{{gestation cycles|}}} | | {{#if: {{{gestation cycles|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set:Gestation Cycles = {{{gestation cycles}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Gestation Cycles = {{{gestation cycles}}} }} }} |
;{{Hover title|link=no|The number of gestation cycles that must be initiated by a mechanitor to gestate this mechanoid|Gestation Cycles}} | ;{{Hover title|link=no|The number of gestation cycles that must be initiated by a mechanitor to gestate this mechanoid|Gestation Cycles}} | ||
:{{{gestation cycles|}}} | :{{{gestation cycles|}}} | ||
Line 1,488: | Line 1,518: | ||
{{#if: {{{stuff tags|}}} | | {{#if: {{{stuff tags|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set:Stuff Tags = {{{stuff tags}}}}} }} | + | {{#if: {{#var:setProperty}} | {{#set:Stuff Tags = {{{stuff tags}}} }} }} |
;{{Hover title|link=no|The types of resource that can be substituted for the generic resource type|Stuff Tags}} | ;{{Hover title|link=no|The types of resource that can be substituted for the generic resource type|Stuff Tags}} | ||
:{{{stuff tags|}}} | :{{{stuff tags|}}} | ||
Line 1,494: | Line 1,524: | ||
{{#ifeq: {{lc:{{{constructable|}}} }} | false || | {{#ifeq: {{lc:{{{constructable|}}} }} | false || | ||
− | {{#if: {{{resource 1|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 1 = {{{resource 1|}}} }} }} }} | + | {{#if: {{{resource 1|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 1 = {{{resource 1|}}} }} }} }} |
− | {{#if: {{{resource 2|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 2 = {{{resource 2|}}} }} }} }} | + | {{#if: {{{resource 2|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 2 = {{{resource 2|}}} }} }} }} |
− | {{#if: {{{resource 3|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 3 = {{{resource 3|}}} }} }} }} | + | {{#if: {{{resource 3|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 3 = {{{resource 3|}}} }} }} }} |
− | {{#if: {{{resource 4|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 4 = {{{resource 4|}}} }} }} }} | + | {{#if: {{{resource 4|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 4 = {{{resource 4|}}} }} }} }} |
− | {{#if: {{{resource 5|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 5 = {{{resource 5|}}} }} }} }} | + | {{#if: {{{resource 5|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 5 = {{{resource 5|}}} }} }} }} |
− | {{#if: {{{resource 6|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 6 = {{{resource 6|}}} }} }} }} | + | {{#if: {{{resource 6|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 6 = {{{resource 6|}}} }} }} }} |
− | {{#if: {{{resource 1 type|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 1 Type = {{{resource 1 type|}}} }} }} }} | + | {{#if: {{{resource 1 type|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 1 Type = {{{resource 1 type|}}} }} }} }} |
− | {{#if: {{{resource 2 type|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 2 Type = {{{resource 2 type|}}} }} }} }} | + | {{#if: {{{resource 2 type|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 2 Type = {{{resource 2 type|}}} }} }} }} |
− | {{#if: {{{resource 3 type|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 3 Type = {{{resource 3 type|}}} }} }} }} | + | {{#if: {{{resource 3 type|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 3 Type = {{{resource 3 type|}}} }} }} }} |
− | {{#if: {{{resource 4 type|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 4 Type = {{{resource 4 type|}}} }} }} }} | + | {{#if: {{{resource 4 type|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 4 Type = {{{resource 4 type|}}} }} }} }} |
− | {{#if: {{{resource 5 type|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 5 Type = {{{resource 5 type|}}} }} }} }} | + | {{#if: {{{resource 5 type|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 5 Type = {{{resource 5 type|}}} }} }} }} |
− | {{#if: {{{resource 6 type|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 6 Type = {{{resource 6 type|}}} }} }} }} | + | {{#if: {{{resource 6 type|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 6 Type = {{{resource 6 type|}}} }} }} }} |
− | {{#if: {{{resource 1 amount|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 1 Amount = {{{resource 1 amount|}}} }} }} }} | + | {{#if: {{{resource 1 amount|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 1 Amount = {{{resource 1 amount|}}} }} }} }} |
− | {{#if: {{{resource 2 amount|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 2 Amount = {{{resource 2 amount|}}} }} }} }} | + | {{#if: {{{resource 2 amount|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 2 Amount = {{{resource 2 amount|}}} }} }} }} |
− | {{#if: {{{resource 3 amount|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 3 Amount = {{{resource 3 amount|}}} }} }} }} | + | {{#if: {{{resource 3 amount|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 3 Amount = {{{resource 3 amount|}}} }} }} }} |
− | {{#if: {{{resource 4 amount|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 4 Amount = {{{resource 4 amount|}}} }} }} }} | + | {{#if: {{{resource 4 amount|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 4 Amount = {{{resource 4 amount|}}} }} }} }} |
− | {{#if: {{{resource 5 amount|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 5 Amount = {{{resource 5 amount|}}} }} }} }} | + | {{#if: {{{resource 5 amount|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 5 Amount = {{{resource 5 amount|}}} }} }} }} |
− | {{#if: {{{resource 6 amount|}}}|{{#if: {{#var:setProperty}} | {{#set:Resource 6 Amount = {{{resource 6 amount|}}} }} }} }} | + | {{#if: {{{resource 6 amount|}}} | {{#if: {{#var:setProperty}} | {{#set:Resource 6 Amount = {{{resource 6 amount|}}} }} }} }} |
− | {{#if: {{{resource 1|}}}|<!--{{#ifeq: {{lc:{{{placeable|}}}}}|false||--> | + | {{#if: {{{resource 1|}}}|<!--{{#ifeq: {{lc:{{{placeable|}}} }}|false||--> |
;Resources to make | ;Resources to make | ||
− | :{{#ifeq: {{{resource 1|}}}|Nutrition|{{{resource 1 amount|}}} [[{{{resource 1|}}}]] ({{{resource 1 type|}}})|{{Icon Small|{{{resource 1|}}}|16}} {{{resource 1 amount|}}}}} {{#if: {{{resource 2|}}}| + {{#ifeq: {{{resource 2|}}}|Nutrition|{{{resource 2 amount|}}} [[{{{resource 2|}}}]] ({{{resource 2 type|}}})|{{Icon Small|{{{resource 2|}}}|16}} {{{resource 2 amount|}}}}}}} {{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{{resource 3 amount|}}}|}} {{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{{resource 4 amount|}}}|}} {{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{{resource 5 amount|}}}|}} {{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{{resource 6 amount|}}}|}} | + | :{{#ifeq: {{{resource 1|}}}|Nutrition|{{{resource 1 amount|}}} [[{{{resource 1|}}}]] ({{{resource 1 type|}}})|{{Icon Small|{{{resource 1|}}}|16}} {{{resource 1 amount|}}} }} {{#if: {{{resource 2|}}}| + {{#ifeq: {{{resource 2|}}}|Nutrition|{{{resource 2 amount|}}} [[{{{resource 2|}}}]] ({{{resource 2 type|}}})|{{Icon Small|{{{resource 2|}}}|16}} {{{resource 2 amount|}}} }} }} {{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{{resource 3 amount|}}}|}} {{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{{resource 4 amount|}}}|}} {{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{{resource 5 amount|}}}|}} {{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{{resource 6 amount|}}}|}} |
<!--|}}--> | <!--|}}--> | ||
}} | }} | ||
Line 1,538: | Line 1,568: | ||
:{{{deconstruct yield|}}}| | :{{{deconstruct yield|}}}| | ||
<!-- if resource 1 != None and type = Building and deconstructable != false and deconstructyieldfraction|0.5 > 0 NON-EXCLUSIVE OR if deconstruct yield fraction set above 0 manually OR set to deconstructable true | <!-- if resource 1 != None and type = Building and deconstructable != false and deconstructyieldfraction|0.5 > 0 NON-EXCLUSIVE OR if deconstruct yield fraction set above 0 manually OR set to deconstructable true | ||
− | -->{{#ifexpr:{{#if: {{{resource 1|}}}|1|0}}*{{#ifeq:{{{type|}}}|Building|1|0}}*{{#ifeq:{{lc:{{{deconstructable|}}}}}|false|0|1}}*{{#ifexpr: {{{deconstructyieldfraction|0.5}}} > 0|1|0}} + {{#ifexpr: {{{deconstructyieldfraction|-1}}} > 0|1|0}} + {{#ifeq:{{lc:{{{deconstructable|}}}}}|true|1|0}} > 0| | + | -->{{#ifexpr:{{#if: {{{resource 1|}}}|1|0}}*{{#ifeq:{{{type|}}}|Building|1|0}}*{{#ifeq:{{lc:{{{deconstructable|}}} }}|false|0|1}}*{{#ifexpr: {{{deconstructyieldfraction|0.5}}} > 0|1|0}} + {{#ifexpr: {{{deconstructyieldfraction|-1}}} > 0|1|0}} + {{#ifeq:{{lc:{{{deconstructable|}}} }}|true|1|0}} > 0| |
;{{Hover title|link=no|Resources recovered when deconstructing.|Deconstruct yield}} | ;{{Hover title|link=no|Resources recovered when deconstructing.|Deconstruct yield}} | ||
:{{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }} <!-- | :{{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} | {{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }}|{{#expr: {{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}} }}|{{#expr: floor({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} - {{#expr: ceil({{{resource 1 amount|}}}*{{{deconstructyieldfraction|0.5}}}) }} }} <!-- | ||
Line 1,552: | Line 1,582: | ||
;{{Hover title| link=no | Resources recovered when destroyed. | Destroy yield }} | ;{{Hover title| link=no | Resources recovered when destroyed. | Destroy yield }} | ||
:{{{destroyyield|}}}<!--Uses destroyyield if it's set. leavesresourceswhendestroyed and bonusdestroyleavings are to be phased out. | :{{{destroyyield|}}}<!--Uses destroyyield if it's set. leavesresourceswhendestroyed and bonusdestroyleavings are to be phased out. | ||
− | -->|{{#ifeq:{{{type|}}}|Building|<!--If leavesresourceswhendestroyed != false and resource 1 != None or if bonusdestroyleavings != None: write the title | + | -->| {{#ifeq:{{{type|}}}|Building|<!--If leavesresourceswhendestroyed != false and resource 1 != None or if bonusdestroyleavings != None: write the title |
− | -->{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} + {{#if:{{{bonusdestroyleavings|}}}|1|0}} > 0| | + | -->{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} + {{#if:{{{bonusdestroyleavings|}}}|1|0}} > 0| |
;{{Hover title|link=no|Resources recovered when destroyed.|Destroy yield}} | ;{{Hover title|link=no|Resources recovered when destroyed.|Destroy yield}} | ||
− | :{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} = 1|<!--If leavesresourceswhendestroyed != false and resource 1 != None: list out resources*0.25 | + | :{{#ifexpr: {{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}} = 1|<!--If leavesresourceswhendestroyed != false and resource 1 != None: list out resources*0.25 |
− | -->{{#if: {{{resource 1|}}}| {{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }}|{{#expr: {{{resource 1 amount|}}}*0.25 }}|{{#expr: floor({{{resource 1 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 1|}}}| {{Icon Small|{{{resource 1|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }} | {{#expr: {{{resource 1 amount|}}}*0.25 }} | {{#expr: floor({{{resource 1 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 1 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} | {{#expr: floor({{{resource 2 amount|}}}*0.25) }}|{{#expr: {{{resource 2 amount|}}}*0.25 }}|{{#expr: floor({{{resource 2 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 2|}}}| + {{Icon Small|{{{resource 2|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} | {{#expr: floor({{{resource 2 amount|}}}*0.25) }} | {{#expr: {{{resource 2 amount|}}}*0.25 }} | {{#expr: floor({{{resource 2 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 2 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} | {{#expr: floor({{{resource 3 amount|}}}*0.25) }}|{{#expr: {{{resource 3 amount|}}}*0.25 }}|{{#expr: floor({{{resource 3 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 3|}}}| + {{Icon Small|{{{resource 3|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} | {{#expr: floor({{{resource 3 amount|}}}*0.25) }} | {{#expr: {{{resource 3 amount|}}}*0.25 }} | {{#expr: floor({{{resource 3 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 3 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} | {{#expr: floor({{{resource 4 amount|}}}*0.25) }}|{{#expr: {{{resource 4 amount|}}}*0.25 }}|{{#expr: floor({{{resource 4 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 4|}}}| + {{Icon Small|{{{resource 4|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} | {{#expr: floor({{{resource 4 amount|}}}*0.25) }} | {{#expr: {{{resource 4 amount|}}}*0.25 }} | {{#expr: floor({{{resource 4 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 4 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} | {{#expr: floor({{{resource 5 amount|}}}*0.25) }}|{{#expr: {{{resource 5 amount|}}}*0.25 }}|{{#expr: floor({{{resource 5 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} }}|}} <!-- | + | -->{{#if: {{{resource 5|}}}| + {{Icon Small|{{{resource 5|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} | {{#expr: floor({{{resource 5 amount|}}}*0.25) }} | {{#expr: {{{resource 5 amount|}}}*0.25 }} | {{#expr: floor({{{resource 5 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 5 amount|}}}*0.25) }} }}|}} <!-- |
− | -->{{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} | {{#expr: floor({{{resource 6 amount|}}}*0.25) }}|{{#expr: {{{resource 6 amount|}}}*0.25 }}|{{#expr: floor({{{resource 6 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} }}|}}<!-- | + | -->{{#if: {{{resource 6|}}}| + {{Icon Small|{{{resource 6|}}}|16}} {{#ifeq: {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} | {{#expr: floor({{{resource 6 amount|}}}*0.25) }} | {{#expr: {{{resource 6 amount|}}}*0.25 }} | {{#expr: floor({{{resource 6 amount|}}}*0.25) }} - {{#expr: ceil({{{resource 6 amount|}}}*0.25) }} }}|}}<!-- |
-->|}}<!-- | -->|}}<!-- | ||
− | -->{{#ifexpr:{{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}}}}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}}*{{#if:{{{bonusdestroyleavings|}}}|1|0}} = 1| + }}<!--If leavesresourceswhendestroyed != false and resource 1 != None and bonusdestroyleavings != None: write " + " | + | -->{{#ifexpr:{{#ifeq:{{lc:{{{leavesresourceswhendestroyed|}}} }}|false|0|1}}*{{#if:{{{resource 1|}}}|1|0}}*{{#if:{{{bonusdestroyleavings|}}}|1|0}} = 1| + }}<!--If leavesresourceswhendestroyed != false and resource 1 != None and bonusdestroyleavings != None: write " + " |
− | -->{{#if:{{{bonusdestroyleavings|}}}|{{{bonusdestroyleavings|}}}}}<!--If bonusdestroyleavings != None, write bonusdestroyleavings (should be given in format: <amount> {{Icon Small|<resource>}}) | + | -->{{#if: {{{bonusdestroyleavings|}}} | {{{bonusdestroyleavings|}}} }}<!--If bonusdestroyleavings != None, write bonusdestroyleavings (should be given in format: <amount> {{Icon Small|<resource>}}) |
-->|}}<!-- | -->|}}<!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
Line 1,570: | Line 1,600: | ||
<!-- TECHNICAL --> | <!-- TECHNICAL --> | ||
− | {{#if: {{#var:setProperty}}|{{#if: {{{page verified for version|}}}|{{Verified|{{{page verified for version|}}}}}| {{Verified}} }}}} | + | {{#if: {{#var:setProperty}} | {{#if: {{{page verified for version|}}} | {{Verified|{{{page verified for version|}}} }} | {{Verified}} }} }} |
− | {{#if: {{{defName|}}} {{{has quality|}}} {{{color|}}} {{{thingCategories|}}} {{{file|}}} {{{weaponTags|}}} {{{thingSetMakerTags|}}} {{{defaultOutfitTags|}}} {{{factionPrerequisiteTags|}}} {{{harvestTag|}}} {{{recipePrerequisiteTags|}}} {{{ResearchProjectTagDef|}}} {{{sowTag|}}} {{{sowTags|}}} {{{tag|}}} {{{tags|}}} {{{techHediffsTags|}}} {{{thingSetMakerTagsToAllow|}}} {{{thingSetMakerTagsToDisallow|}}} {{{tradeTag|}}} {{{tradeTags|}}} {{{tradeTagsBuy|}}} {{{tradeTagsSell|}}} {{{tradeTagsToAllow|}}} {{{tutorHighlightTag|}}} {{{apparelTags|}}} {{{buildingTags|}}} {{{stuff adjective|}}} {{{small volume|}}} {{{preferability|}}} {{{food preference|}}} {{{drug category|}}} {{{is pleasure drug|}}} {{{work efficiency factor|}}} {{{work efficiency offset|}}} {{{max simultaneous facilities|}}} {{{unpowered work speed factor|}}} {{{bulk product amount|}}}| | + | {{#if: {{{defName|}}} {{{has quality|}}} {{{color|}}} {{{thingCategories|}}} {{{file|}}} {{{weaponTags|}}} {{{thingSetMakerTags|}}} {{{defaultOutfitTags|}}} {{{factionPrerequisiteTags|}}} {{{harvestTag|}}} {{{recipePrerequisiteTags|}}} {{{ResearchProjectTagDef|}}} {{{sowTag|}}} {{{sowTags|}}} {{{tag|}}} {{{tags|}}} {{{techHediffsTags|}}} {{{thingSetMakerTagsToAllow|}}} {{{thingSetMakerTagsToDisallow|}}} {{{tradeTag|}}} {{{tradeTags|}}} {{{tradeTagsBuy|}}} {{{tradeTagsSell|}}} {{{tradeTagsToAllow|}}} {{{tutorHighlightTag|}}} {{{apparelTags|}}} {{{buildingTags|}}} {{{stuff adjective|}}} {{{small volume|}}} {{{preferability|}}} {{{food preference|}}} {{{drug category|}}} {{{is pleasure drug|}}} {{{work efficiency factor|}}} {{{work efficiency offset|}}} {{{max simultaneous facilities|}}} {{{unpowered work speed factor|}}} {{{bulk product amount|}}} | |
</dl>{{clear}} | </dl>{{clear}} | ||
<div class="subheading mw-customtoggle-myDivision" style='height: 1em !important; padding: 0.25em 0em 0.5em !important; margin: 0.5em 0 0.5em !important; width:300px'> Technical | <div class="subheading mw-customtoggle-myDivision" style='height: 1em !important; padding: 0.25em 0em 0.5em !important; margin: 0.5em 0 0.5em !important; width:300px'> Technical | ||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"> <span style='color: #504f54; text-align: left; text-shadow: 0px 0px; font-family: Arial; font-size: 0.8em; height: 0em !important; padding: 0em 0em 0em !important; margin: 0em 0 0em !important;'> | <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision"> <span style='color: #504f54; text-align: left; text-shadow: 0px 0px; font-family: Arial; font-size: 0.8em; height: 0em !important; padding: 0em 0em 0em !important; margin: 0em 0 0em !important;'> | ||
− | {{#if: {{{defName|}}}| | + | {{#if: {{{defName|}}} | |
; defName | ; defName | ||
: {{{defName|}}} | : {{{defName|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{has quality|}}} |{{#if: {{#var:setProperty}} | {{#set: Has Quality = {{ucfirst:{{{has quality|}}}}}}} }} | + | -->{{#if: {{{has quality|}}} | {{#if: {{#var:setProperty}} | {{#set:Has Quality = {{ucfirst:{{{has quality|}}} }} }} }} |
;Has Quality | ;Has Quality | ||
− | :{{ucfirst:{{{has quality|}}}}} | + | :{{ucfirst:{{{has quality|}}} }} |
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{color|}}} |{{#if: {{#var:setProperty}} | {{#set: color = {{{color|}}}}} }} | + | -->{{#if: {{{color|}}} | {{#if: {{#var:setProperty}} | {{#set:color = {{{color|}}} }} }} |
;Color | ;Color | ||
:{{{color|}}} | :{{{color|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{file|}}}| | + | -->{{#if: {{{file|}}} | |
; File | ; File | ||
: {{{file|}}} | : {{{file|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{thingCategories|}}}| | + | -->{{#if: {{{thingCategories|}}} | |
; thingCategories | ; thingCategories | ||
: {{{thingCategories|}}} | : {{{thingCategories|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{weaponTags|}}}|{{#if: {{#var:setProperty}} | {{#set: | + | -->{{#if: {{{weaponTags|}}} | {{#if: {{#var:setProperty}} | {{#set: |
weaponTags = {{ucfirst:{{#explode:{{{weaponTags|}}}|,|0}} }} | weaponTags = {{ucfirst:{{#explode:{{{weaponTags|}}}|,|0}} }} | ||
|weaponTags = {{ucfirst:{{#explode:{{{weaponTags|}}}|,|1}} }} | |weaponTags = {{ucfirst:{{#explode:{{{weaponTags|}}}|,|1}} }} | ||
Line 1,630: | Line 1,660: | ||
:{{{ResearchProjectTagDef|}}} | :{{{ResearchProjectTagDef|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{sowTag|}}} |{{#if: {{#var:setProperty}} | {{#set: sowTag = {{{sowTag|}}}}} }} | + | -->{{#if: {{{sowTag|}}} | {{#if: {{#var:setProperty}} | {{#set:sowTag = {{{sowTag|}}} }} }} |
;sowTag | ;sowTag | ||
:{{{sowTag|}}} | :{{{sowTag|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{sowTags|}}} |{{#if: {{#var:setProperty}} | {{#set: sowTags = {{{sowTags|}}}}} }} | + | -->{{#if: {{{sowTags|}}} | {{#if: {{#var:setProperty}} | {{#set:sowTags = {{{sowTags|}}} }} }} |
;sowTags | ;sowTags | ||
:{{{sowTags|}}} | :{{{sowTags|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{tag|}}} |{{#if: {{#var:setProperty}} | {{#set: | + | -->{{#if: {{{tag|}}} | {{#if: {{#var:setProperty}} | {{#set: |
tag = {{ucfirst:{{#explode:{{{tag|}}}|,|0}} }} | tag = {{ucfirst:{{#explode:{{{tag|}}}|,|0}} }} | ||
|tag = {{ucfirst:{{#explode:{{{tag|}}}|,|1}} }} | |tag = {{ucfirst:{{#explode:{{{tag|}}}|,|1}} }} | ||
Line 1,648: | Line 1,678: | ||
:{{{tag|}}} | :{{{tag|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{tags|}}} |{{#if: {{#var:setProperty}} | {{#set: | + | -->{{#if: {{{tags|}}} | {{#if: {{#var:setProperty}} | {{#set: |
tags = {{ucfirst:{{#explode:{{{tags|}}}|,|0}} }} | tags = {{ucfirst:{{#explode:{{{tags|}}}|,|0}} }} | ||
|tags = {{ucfirst:{{#explode:{{{tags|}}}|,|1}} }} | |tags = {{ucfirst:{{#explode:{{{tags|}}}|,|1}} }} | ||
Line 1,658: | Line 1,688: | ||
:{{{tags|}}} | :{{{tags|}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#if: {{{techHediffsTags|}}} |{{#if: {{#var:setProperty}} | {{#set: | + | -->{{#if: {{{techHediffsTags|}}} | {{#if: {{#var:setProperty}} | {{#set: |
techHediffsTags = {{ucfirst:{{#explode:{{{techHediffsTags|}}}|,|0}} }} | techHediffsTags = {{ucfirst:{{#explode:{{{techHediffsTags|}}}|,|0}} }} | ||
|techHediffsTags = {{ucfirst:{{#explode:{{{techHediffsTags|}}}|,|1}} }} | |techHediffsTags = {{ucfirst:{{#explode:{{{techHediffsTags|}}}|,|1}} }} | ||
Line 1,677: | Line 1,707: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{tradeTag|}}} | | -->{{#if: {{{tradeTag|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: tradeTag = {{{tradeTag|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:tradeTag = {{{tradeTag|}}} }} }} |
;tradeTag | ;tradeTag | ||
:{{{tradeTag|}}} | :{{{tradeTag|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{tradeTags|}}} | | -->{{#if: {{{tradeTags|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: tradeTags = {{{tradeTags|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:tradeTags = {{{tradeTags|}}} }} }} |
;tradeTags | ;tradeTags | ||
:{{{tradeTags|}}} | :{{{tradeTags|}}} | ||
Line 1,723: | Line 1,753: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{stuff adjective|}}} | | -->{{#if: {{{stuff adjective|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Stuff Adjective = {{{stuff adjective|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Stuff Adjective = {{{stuff adjective|}}} }} }} |
; Stuff Adjective | ; Stuff Adjective | ||
:{{{stuff adjective|}}} | :{{{stuff adjective|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{small volume|}}} | | -->{{#if: {{{small volume|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Small Volume = {{{small volume|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Small Volume = {{{small volume|}}} }} }} |
; Small Volume | ; Small Volume | ||
:{{{small volume|}}} | :{{{small volume|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{preferability|}}} | | -->{{#if: {{{preferability|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Preferability = {{{preferability|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Preferability = {{{preferability|}}} }} }} |
; Preferability | ; Preferability | ||
: {{{preferability|}}} | : {{{preferability|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{food preference|}}} | | -->{{#if: {{{food preference|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Food Preference = {{{food preference|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Food Preference = {{{food preference|}}} }} }} |
; Food Preference | ; Food Preference | ||
: {{{food preference|}}} | : {{{food preference|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{drug category|}}} | | -->{{#if: {{{drug category|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Drug Category = {{{drug category|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Drug Category = {{{drug category|}}} }} }} |
; Drug Category | ; Drug Category | ||
: {{{drug category|}}} | : {{{drug category|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{is pleasure drug|}}} | | -->{{#if: {{{is pleasure drug|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Is Pleasure Drug = {{{is pleasure drug|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Is Pleasure Drug = {{{is pleasure drug|}}} }} }} |
; Is Pleasure Drug | ; Is Pleasure Drug | ||
: {{{is pleasure drug|}}} | : {{{is pleasure drug|}}} | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{bulk product amount|}}} | | -->{{#if: {{{bulk product amount|}}} | | ||
− | {{#if: {{#var:setProperty}} | {{#set: Bulk Product Amount = {{{bulk product amount|}}} }} }} | + | {{#if: {{#var:setProperty}} | {{#set:Bulk Product Amount = {{{bulk product amount|}}} }} }} |
;<abbr title="The amount of this item produced by the bulk recipe">Bulk Product Amount</abbr> | ;<abbr title="The amount of this item produced by the bulk recipe">Bulk Product Amount</abbr> | ||
:{{Icon Small| {{#var:Name}} }} {{{product amount|}}} | :{{Icon Small| {{#var:Name}} }} {{{product amount|}}} |
Revision as of 09:31, 5 January 2024
This page has been suggested for recoding. Reason: 1) Doesn't play nice with skins - font color changes, but not background. Background either needs to be transparent or use color from skin. 2) Equip delay (see tag on that page). You can help RimWorld Wiki by improving it. |
Intro
Template:Infobox main Is the core of what powers the SemanticMediaWiki database of rimworld objects. Since the template is so complex, it's worth taking a step back and summarizing what this template does:
- Takes in facts: On each page which describes an in-game object, we call
{{infobox main | ...}}
|, where ...
| is a very long list of parameters describing the object in question, including its name, type, the cost to make it, and a bunch of other things
- Rendering an infobox: This template takes those parameters and presents them in a nice looking infobox on the right side of the page. If you add a param
|marketvalue = 200
|, this template will add a line to the infobox showing the market value annotated with a silver icon. Cool!
- Setting SMW properties: The real magic comes from this templates ability to also set SMW properties. If the
|marketvalue = 200
| param is present, this template will also set a SMW property 'Market Value Base' equal to 200 for whatever page the infobox was called on.
As an example, say there was an Page called "Foo" for an in-game object with the same name. In-game, a foo has a market value of 200. When you invoke {{infobox main | ... | marketvalue = 200 | ...
|, this template will set the 'Market Value Base' property of the 'Foo' page to 200.
These properties can then be retrieved using a snippet like {{#show:Foo|?Market Value Base}}
|. You can browse the properties for a given page by clicking the "Browse properties" link on the left side of the page. For an example, see Special:Browse/:Duster
Positional parameters
This template also takes one (and only one -- all others are ignored) positional parameter that specifies the type of infobox styling to use (primarily: to set the color of the infobox based on object type)
Usage
This section is a stub. You can help RimWorld Wiki by expanding it. Reason: Parity with available parameters and documentation (List & Table). |
- Everything is optional for the template to function; however, relevant sections should be filled in for the sake of completeness. The information displayed is dependent on which category is used, and will not be displayed unless a value is provided.
- You can add a "name" and "image". Fill these values if the PAGENAME macro is not adequate (if the page name has a disambig qualifier for example)
Parameter List
Parameter Table
Parameter | Dependencies | Type/Unit | Property / Stat | Description | Expandxml-tag / hierarchy |
---|
Deprecated positional parameters
This template used to take in up to 4 positional parameters, often accomplish relatively hacky things. As of now this template only takes ONE positional parameter -- all others are ignored.
- (still in use)
- DEPRECATED: Extra CSS class to be applied to the infobox div.
- DEPRECATED: Used to be extra params passed to the image layout in the infobox. Superseded by the imagesize= param
- DEPRECATED: Overly clever use of the size parameter. The usual format is |size = X|Y. This then gets transformed into x * y. BUT it only works if you have 3 positional parameters prior to the first param.
Examples
The above documentation is transcluded from Template:Infobox main/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. |