/tg/ Station 13 - Modules - TypesVar Details

ammo_workbench

Vars

activity_labelmagazine-bar label while busy (FABRICATING / RECYCLING / joke).
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_tip_colorsparallel to valid_casings: per-round UI tip-dot hex color (or null).
creation_efficiencycurrent multiplier for material cost per round
force_local_materialsdon't touch the silo, just use local storage (for the prefilled mapping variant)
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.
is_recyclingare we recycling right now (as opposed to printing)
loaded_datadiskswhat datadisks have been loaded. uh... honestly this doesn't really do much either
part_tierrounded servo tier (1-4), shown as the UI signal bars.
possible_ammo_typesA list of all possible ammo types.
print_log_datasanitized ID record of whoever started the current print, for silo accountability logging (accesses stripped to avoid the logger choking).
recycle_percentpercent of a round's base materials returned on recycle. set by servo tier in RefreshParts().
rounds_made_this_runrounds made this run; distinguishes mid-run depletion from never having enough.
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

Var Details

activity_label

magazine-bar label while busy (FABRICATING / RECYCLING / joke).

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_tip_colors

parallel to valid_casings: per-round UI tip-dot hex color (or null).

creation_efficiency

current multiplier for material cost per round

force_local_materials

don't touch the silo, just use local storage (for the prefilled mapping variant)

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.

is_recycling

are we recycling right now (as opposed to printing)

loaded_datadisks

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

part_tier

rounded servo tier (1-4), shown as the UI signal bars.

possible_ammo_types

A list of all possible ammo types.

print_log_data

sanitized ID record of whoever started the current print, for silo accountability logging (accesses stripped to avoid the logger choking).

recycle_percent

percent of a round's base materials returned on recycle. set by servo tier in RefreshParts().

rounds_made_this_run

rounds made this run; distinguishes mid-run depletion from never having enough.

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