/tg/ Station 13 - Modules - TypesVar Details - Proc Details

ammo_workbench

Vars

adminbuscan this print any round of any caliber given a correct ammo_box? (you varedit this at your own risk, especially if used in a player-facing context.) does not force ammo to load in. just makes it able to print wacky ammotypes e.g. lionhunter 7.62, techshells
allowed_advancedcan it print advanced ammunition types (e.g. armor-piercing)? see modular_skyrat\modules\modular_weapons\code\modular_projectiles.dm
allowed_harmfulcan it print ammunition flagged as harmful (e.g. most ammo)?
base_efficiencymultiplier for material cost per round (when turbo isn't enabled)
casing_mat_stringsthe material requirement strings for these casings (for the tooltip)
creation_efficiencycurrent multiplier for material cost per round
hackedif it's hacked it's gonna be able to print lethals. it'll be mad at you for doing so but it'll print basic lethals.
loaded_datadiskswhat datadisks have been loaded. uh... honestly this doesn't really do much either
possible_ammo_typesA list of all possible ammo types.
time_per_roundcurrent amount of time in deciseconds it takes to assemble a round
turbo_efficiencymultiplier for material cost per round (when turbo is enabled)
turbo_time_per_rounddeciseconds per round (when turbo is enabled)
valid_casingswhat casings we're able to use

Procs

toggle_turbo_boostToggles this ammo bench's turbo setting. If it's on, uses the turbo time-per-round/efficiency; if off, resets to base time-per-round/efficiency. forced_off forces turbo off.

Var Details

adminbus

can this print any round of any caliber given a correct ammo_box? (you varedit this at your own risk, especially if used in a player-facing context.) does not force ammo to load in. just makes it able to print wacky ammotypes e.g. lionhunter 7.62, techshells

allowed_advanced

can it print advanced ammunition types (e.g. armor-piercing)? see modular_skyrat\modules\modular_weapons\code\modular_projectiles.dm

allowed_harmful

can it print ammunition flagged as harmful (e.g. most ammo)?

base_efficiency

multiplier for material cost per round (when turbo isn't enabled)

casing_mat_strings

the material requirement strings for these casings (for the tooltip)

creation_efficiency

current multiplier for material cost per round

hacked

if it's hacked it's gonna be able to print lethals. it'll be mad at you for doing so but it'll print basic lethals.

loaded_datadisks

what datadisks have been loaded. uh... honestly this doesn't really do much either

possible_ammo_types

A list of all possible ammo types.

time_per_round

current amount of time in deciseconds it takes to assemble a round

turbo_efficiency

multiplier for material cost per round (when turbo is enabled)

turbo_time_per_round

deciseconds per round (when turbo is enabled)

valid_casings

what casings we're able to use

Proc Details

toggle_turbo_boost

Toggles this ammo bench's turbo setting. If it's on, uses the turbo time-per-round/efficiency; if off, resets to base time-per-round/efficiency. forced_off forces turbo off.