mulebot

Vars | |
auto_pickup | true if auto return to home beacon after unload |
---|---|
auto_return | true if already reached the target |
bloodiness | How much power we use when we move. |
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 | If we've run over a mob, how many tiles will we leave tracks on while moving |
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 |
Procs | |
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. |
Var Details
auto_pickup

true if auto return to home beacon after unload
auto_return

true if already reached the target
bloodiness

How much power we use when we move.
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

If we've run over a mob, how many tiles will we leave tracks on while moving
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.