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

mulebot

Vars

blockcounttrue if already reached the target Number of times retried a blocked path
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)
mulebot_delivery_flagsflags of mulebot mode
num_stepsHow much power we use when we move.
passengerwhat we're transporting
reached_targettag of home delivery 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

blockcount

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

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)

mulebot_delivery_flags

flags of mulebot mode

num_steps

How much power we use when we move.

passenger

what we're transporting

reached_target

tag of home delivery 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.