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

mulebot

Vars

auto_pickuptrue if auto return to home beacon after unload
blockcounttrue if already reached the target Number of times retried a blocked path
celltrue if bot will announce an arrival to a location.
cell_move_power_usageInternal Powercell
home_destinationthis the direction to unload onto/load from
idunique identifier in case there are multiple mulebots.
loadicon_state to use in update_icon_state
loaddirthis is turf to navigate to (location of beacon)
num_stepsHow much power we use when we move.
passengerwhat we're transporting
reached_targettag of home delivery beacon
report_deliverytrue if auto-pickup at beacon
targetwho's riding us

Procs

InitializeThe amount of steps we should take until we rest for a time.
check_pre_stepChecks whether the bot can complete a step_towards, checking whether the bot is on and has the charge to do the move. Returns COMPONENT_MOB_BOT_CANCELSTEP if the bot should not step.
get_load_nameresolves the name to display for the loaded mob. primarily needed for the paranormal subtype since we don't want to show the name of ghosts riding it.
has_powerreturns true if the bot is fully powered.
on_bot_stepUses power from the cell when the bot steps.

Var Details

auto_pickup

true if auto return to home beacon after unload

blockcount

true if already reached the target Number of times retried a blocked path

cell

true if bot will announce an arrival to a location.

cell_move_power_usage

Internal Powercell

home_destination

this the direction to unload onto/load from

id

unique identifier in case there are multiple mulebots.

load

icon_state to use in update_icon_state

loaddir

this is turf to navigate to (location of beacon)

num_steps

How much power we use when we move.

passenger

what we're transporting

reached_target

tag of home delivery beacon

report_delivery

true if auto-pickup at beacon

target

who's riding us

Proc Details

Initialize

The amount of steps we should take until we rest for a time.

check_pre_step

Checks whether the bot can complete a step_towards, checking whether the bot is on and has the charge to do the move. Returns COMPONENT_MOB_BOT_CANCELSTEP if the bot should not step.

get_load_name

resolves the name to display for the loaded mob. primarily needed for the paranormal subtype since we don't want to show the name of ghosts riding it.

has_power

returns true if the bot is fully powered.

on_bot_step

Uses power from the cell when the bot steps.