/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
ammo_categoriesbitflags for allowed ammo types (see modular_nova/modules/ammo_workbench/code/ammo_bench_defines.dm)
base_efficiencymultiplier for material cost per round (when turbo isn't enabled)
base_time_per_rounddeciseconds 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
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

ammo_categories

bitflags for allowed ammo types (see modular_nova/modules/ammo_workbench/code/ammo_bench_defines.dm)

base_efficiency

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

base_time_per_round

deciseconds 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

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.