Daedalus Dock - Modules - Types — Var Details - Proc Details

flock

Base type for flock tests. Provides a flock that is NOT the default flock, and cleans up turf claims and changes.

Vars

changed_turfsk:v list of turf : original turf type, restored in Destroy().
flockThe flock used by the test.

Procs

change_turfChangeTurf that is reverted after the test.
claimclaim_turf() that is reverted after the test.
current_behavior_typesReturns the types of the controller's current behaviors.
flock_handlerReturns the handler proc the test flock has registered for a signal on target, as text.
get_behaviorReturns the AI behavior singleton for a type.
get_room_wallThe wall directly west of the bottom left floor of the test room.
new_droneCreate a drone in the test flock with its AI turned off.
remember_turfRemember a turf's type so it can be restored after the test.

Var Details

changed_turfs

k:v list of turf : original turf type, restored in Destroy().

flock

The flock used by the test.

Proc Details

change_turf

ChangeTurf that is reverted after the test.

claim

claim_turf() that is reverted after the test.

current_behavior_types

Returns the types of the controller's current behaviors.

flock_handler

Returns the handler proc the test flock has registered for a signal on target, as text.

get_behavior

Returns the AI behavior singleton for a type.

get_room_wall

The wall directly west of the bottom left floor of the test room.

new_drone

Create a drone in the test flock with its AI turned off.

remember_turf

Remember a turf's type so it can be restored after the test.