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

big_manipulator

Manipulator Core. Main part of the mechanism that carries out the entire process.

Vars

containment_objObj inside manipulator.
drop_hereDir to get turf where we drop items.
drop_turfTurf where we drop items.
manipulator_handOther manipulator component.
onActivate mechanism.
on_workWhen manipulator already working with item inside he don't take any new items.
power_use_lvlUsing high tier manipulators speeds up big manipulator and requires more energy.
take_hereDir to get turf where we take items.
take_turfTurf where we take items.
working_speedHow many time manipulator need to take and drop item.

Procs

create_manipulator_handCreat manipulator hand effect on manipulator core.
do_rotate_animationRotates manipulator hand 90 degrees.
drop_thingThird take and drop proc from [take and drop procs loop]: Drop our item and start manipulator hand backward animation.
end_workFourth and last take and drop proc from [take and drop procs loop]: Finishes work and begins to look for a new item for [take and drop procs loop].
finish_rotate_animationRotates manipulator hand from 90 degrees to 180 or 0 if backward.
is_work_checkPre take and drop proc from [take and drop procs loop]: Check if we can start take and drop loop
manipulator_lvlCheck servo tier and change manipulator speed, power_use and colour.
on_hand_qdelDeliting hand will destroy our manipulator core.
press_onProc call when we press on/off button
rotate_big_handChanging take and drop turf dirs and also changing manipulator hand sprite dir.
start_workSecond take and drop proc from [take and drop procs loop]: Taking our item and start manipulator hand rotate animation.
take_and_drop_turfs_checkChanging take and drop turf tiles when we anchore manipulator or if manipulator not in turf.
try_take_thingFirst take and drop proc from [take and drop procs loop]: Check if we can take item from take_turf to work with him. This proc also calling from ATOM_ENTERED signal.

Var Details

containment_obj

Obj inside manipulator.

drop_here

Dir to get turf where we drop items.

drop_turf

Turf where we drop items.

manipulator_hand

Other manipulator component.

on

Activate mechanism.

on_work

When manipulator already working with item inside he don't take any new items.

power_use_lvl

Using high tier manipulators speeds up big manipulator and requires more energy.

take_here

Dir to get turf where we take items.

take_turf

Turf where we take items.

working_speed

How many time manipulator need to take and drop item.

Proc Details

create_manipulator_hand

Creat manipulator hand effect on manipulator core.

do_rotate_animation

Rotates manipulator hand 90 degrees.

drop_thing

Third take and drop proc from [take and drop procs loop]: Drop our item and start manipulator hand backward animation.

end_work

Fourth and last take and drop proc from [take and drop procs loop]: Finishes work and begins to look for a new item for [take and drop procs loop].

finish_rotate_animation

Rotates manipulator hand from 90 degrees to 180 or 0 if backward.

is_work_check

Pre take and drop proc from [take and drop procs loop]: Check if we can start take and drop loop

manipulator_lvl

Check servo tier and change manipulator speed, power_use and colour.

on_hand_qdel

Deliting hand will destroy our manipulator core.

press_on

Proc call when we press on/off button

rotate_big_hand

Changing take and drop turf dirs and also changing manipulator hand sprite dir.

start_work

Second take and drop proc from [take and drop procs loop]: Taking our item and start manipulator hand rotate animation.

take_and_drop_turfs_check

Changing take and drop turf tiles when we anchore manipulator or if manipulator not in turf.

try_take_thing

First take and drop proc from [take and drop procs loop]: Check if we can take item from take_turf to work with him. This proc also calling from ATOM_ENTERED signal.