Template:Cargocratevalue: Difference between revisions

From tgwiki2
Jump to navigation Jump to search
imported>Angust
Added template info. Time to fix the supply crates page.
imported>Justice12354
m Changes the line in which you'll find the value
 
Line 1: Line 1:
200<noinclude>
200<noinclude>
----
----
This template is meant to contain the current cargo export value for an empty crate, found here: https://github.com/tgstation/tgstation/blob/master/code/__DEFINES/cargo.dm#L41 <br>
This template is meant to contain the current cargo export value for an empty crate, found here: https://github.com/tgstation/tgstation/blob/master/code/__DEFINES/cargo.dm#L17 <br>
It's mostly meant for the Supply Crates wiki page, where price formulas should be equal to those found here: https://github.com/tgstation/tgstation/blob/master/code/modules/cargo/packs.dm <br>
It's mostly meant for the Supply Crates wiki page, where price formulas should be equal to those found here: https://github.com/tgstation/tgstation/blob/master/code/modules/cargo/packs.dm <br>
Example using formula for a crate worth 5 x Cargo_Crate_Value: '''{{#expr:5*{{Cargocratevalue}}}}'''</noinclude>
Example using formula for a crate worth 5 x Cargo_Crate_Value: '''{{#expr:5*{{Cargocratevalue}}}}'''</noinclude>

Latest revision as of 23:20, 6 December 2024

200


This template is meant to contain the current cargo export value for an empty crate, found here: https://github.com/tgstation/tgstation/blob/master/code/__DEFINES/cargo.dm#L17
It's mostly meant for the Supply Crates wiki page, where price formulas should be equal to those found here: https://github.com/tgstation/tgstation/blob/master/code/modules/cargo/packs.dm
Example using formula for a crate worth 5 x Cargo_Crate_Value: 1000