/tg/ Station 13 - Modules - TypesProc Details

beach

Procs

check_towel_locationCheck if our [target_turf] contains invalid atmos.
do_place_towelActually place our towel on [target_turf].
try_place_towelCheck if our [target_turf] is valid to place our towel on. If the turf is valid, begin a do_after, and if the turf is valid still after the do_after call [do_place_towel].

Proc Details

check_towel_location

Check if our [target_turf] contains invalid atmos.

target_turf - the turf we're checking user - the mob who initiated the check

returns FALSE if our turf contains invalid atoms, TRUE otherwise.

do_place_towel

Actually place our towel on [target_turf].

target_turf - the turf we're putting the towel user - the mob who placed the towel

try_place_towel

Check if our [target_turf] is valid to place our towel on. If the turf is valid, begin a do_after, and if the turf is valid still after the do_after call [do_place_towel].

target_turf - the turf we're trying to place our towel on user - the mob placing the towel

returns FALSE if the towel cannot be placed, and TRUE otherwise