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

weldingtool

Vars

burned_fuel_forWhen fuel was last removed.
can_off_processUsed in process(), dictates whether or not we're calling STOP_PROCESSING whilst we're not welding.
change_iconsWhether or not we're changing the icon based on fuel left.
max_fuelThe max amount of fuel the welder can hold
statusWhether the welder is secured or unsecured (able to attach rods to it to make a flamethrower)
weldingWhether the welding tool is on or off.

Procs

check_fuelTurns off the welder if there is no more fuel (does this really need to be its own proc?)
flamethrower_rodsFirst step of building a flamethrower (when a welder is attacked by rods)
flamethrower_screwdriverRan when the welder is attacked by a screwdriver.
get_fuelReturns the amount of fuel in the welder
isOnReturns whether or not the welding tool is currently on.
set_weldingToggles the welding value.
switched_offSwitches the welder off
tool_use_checkIf welding tool ran out of fuel during a construction task, construction fails.
useUses fuel from the welding tool.

Var Details

burned_fuel_for

When fuel was last removed.

can_off_process

Used in process(), dictates whether or not we're calling STOP_PROCESSING whilst we're not welding.

change_icons

Whether or not we're changing the icon based on fuel left.

max_fuel

The max amount of fuel the welder can hold

status

Whether the welder is secured or unsecured (able to attach rods to it to make a flamethrower)

welding

Whether the welding tool is on or off.

Proc Details

check_fuel

Turns off the welder if there is no more fuel (does this really need to be its own proc?)

flamethrower_rods

First step of building a flamethrower (when a welder is attacked by rods)

flamethrower_screwdriver

Ran when the welder is attacked by a screwdriver.

get_fuel

Returns the amount of fuel in the welder

isOn

Returns whether or not the welding tool is currently on.

set_welding

Toggles the welding value.

switched_off

Switches the welder off

tool_use_check

If welding tool ran out of fuel during a construction task, construction fails.

use

Uses fuel from the welding tool.