Template:Upgrade/doc: Difference between revisions
From Official Barotrauma Wiki
Jade Harley (talk | contribs) mNo edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
| increasehigh || [[File:Checkmark True.png|32px]] || The % change in price for the last upgrade level. || Signed rational number. | | increasehigh || [[File:Checkmark True.png|32px]] || The % change in price for the last upgrade level. || Signed rational number. | ||
|} | |} | ||
= Example = | |||
<pre style="width:fit-content"> | |||
{{Upgrade | |||
| effect1 = Max Wall Health | |||
| effect2 = Crush Depth | |||
| maxlevel = 6 | |||
| tier1max = 2 | |||
| tier2max = 4 | |||
| effect1increase = 20 | |||
| effect2increase = 14 | |||
| baseprice = 2000 | |||
| increaselow = 0 | |||
| increasehigh = 400 | |||
}} | |||
</pre> | |||
{{Upgrade | |||
| effect1 = Max Wall Health | |||
| effect2 = Crush Depth | |||
| maxlevel = 6 | |||
| tier1max = 2 | |||
| tier2max = 4 | |||
| effect1increase = 20 | |||
| effect2increase = 14 | |||
| baseprice = 2000 | |||
| increaselow = 0 | |||
| increasehigh = 400 | |||
}} | |||
{{doc/end}} | {{doc/end}} |
Revision as of 16:29, 31 December 2023
Example
{{Upgrade | effect1 = Max Wall Health | effect2 = Crush Depth | maxlevel = 6 | tier1max = 2 | tier2max = 4 | effect1increase = 20 | effect2increase = 14 | baseprice = 2000 | increaselow = 0 | increasehigh = 400 }}
Level | Tier | Max Wall Health | Crush Depth | Price |
---|---|---|---|---|
1 | 1 | +20% | +14% | 2,000 mk |
2 | 1 | +40% | +28% | 3,333 mk |
3 | 2 | +60% | +42% | 4,666 mk |
4 | 2 | +80% | +56% | 6,000 mk |
5 | 3 | +100% | +70% | 7,333 mk |
6 | 3 | +120% | +84% | 8,666 mk |
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.