gorilla 
Vars | |
attention_phrases | What speech pieces make gorilla excited (turn off AI and make it follow the speaker). Works only without master and client. |
---|---|
bananas_eaten | Amount of bananas eaten. |
befriend_timer | Timer used in befriend and excitement manipulations. |
can_befriend | Сan gorilla have a master? |
carriable_cache | Typecache of all the types we can pick up and carry |
crate_limit | The max number of crates we can carry |
crates_in_hand | A lazylist of all crates we are carrying |
dismember_chance | Chance to dismember while unconcious |
enlighten_message_done | Notify player about new powers. |
friend2bananas | Associative list with key = user.UID(), value = bananas fed to gorilla. Used in befriending. |
gorilla_actions_cooldown | Cooldown stamp used for various gorilla actions. |
gorilla_toggle | Gorilla bipedal toggle. |
initial_faction | List of initial factions, gorilla has before befriend. We need this since initial value of a list is an empty list. |
is_bipedal | Is the gorilla stood up or not? |
is_waiting | Whether gorilla is currently waiting and will not follow its master. |
master | Current gorilla master. |
point_target | Original target atom gorrilla's master pointed at. |
stamina_damage | Amount of stamina lost on a successful hit |
target_turf | Turf adjacent to point_target, used in point movement manipulations. |
throw_onhit | Chance of doing the throw or stamina damage, along with the flat damage amount |
Procs | |
check_buckled_gorilla | Checks if gorillas is currently buckeld to something. |
check_enlighten | Is gorilla enlightened enough by bananas? |
check_pointed | Signal handler used to give gorilla various actions by pointing. Works only if gorilla is befrinded. |
delayed_manipulation | Result of pointing at banana or crate/closet. |
delayed_move_drop | Result of pointing at anything except crates or bananas. |
drop_all_crates | Drops all the crates in our crate list. |
drop_random_crate | Drops one random crates from our crate list. |
eat_banana | Banana consuming overmind. |
find_phrase | Parses message for specific phrases contained in a list. |
follow_master | Simple follow its master if gorilla is not waiting. |
get_names | Returns a list with phrases to which gorilla reacts as if it were their names. For clientless mobs only. |
get_target_bodyparts | Gorillas like to dismember limbs from unconscious mobs. Returns null when the target is not an unconscious carbon mob; a list of limbs (possibly empty) otherwise. |
is_on_cooldown | Checks general actions cooldown for gorilla. Returns TRUE if still in progress. |
manipulate_crate | Proc that manipulated with passed object. Opens/closes a crate/closet or picks up a crate. |
on_death | Resetting gorilla after master's death. |
reset_behavior | Reset variables for gorilla after end of friendship or after excitement is finished. |
start_action_cooldown | Starts general actions cooldown for gorilla. |
update_master | Changes current gorilla master. |
Var Details
attention_phrases 
What speech pieces make gorilla excited (turn off AI and make it follow the speaker). Works only without master and client.
bananas_eaten 
Amount of bananas eaten.
befriend_timer 
Timer used in befriend and excitement manipulations.
can_befriend 
Сan gorilla have a master?
carriable_cache 
Typecache of all the types we can pick up and carry
crate_limit 
The max number of crates we can carry
crates_in_hand 
A lazylist of all crates we are carrying
dismember_chance 
Chance to dismember while unconcious
enlighten_message_done 
Notify player about new powers.
friend2bananas 
Associative list with key = user.UID(), value = bananas fed to gorilla. Used in befriending.
gorilla_actions_cooldown 
Cooldown stamp used for various gorilla actions.
gorilla_toggle 
Gorilla bipedal toggle.
initial_faction 
List of initial factions, gorilla has before befriend. We need this since initial value of a list is an empty list.
is_bipedal 
Is the gorilla stood up or not?
is_waiting 
Whether gorilla is currently waiting and will not follow its master.
master 
Current gorilla master.
point_target 
Original target atom gorrilla's master pointed at.
stamina_damage 
Amount of stamina lost on a successful hit
target_turf 
Turf adjacent to point_target, used in point movement manipulations.
throw_onhit 
Chance of doing the throw or stamina damage, along with the flat damage amount
Proc Details
check_buckled_gorilla
Checks if gorillas is currently buckeld to something.
Arguments:
- unbuckle - if
TRUE
gorilla will be unbuckled.
check_enlighten
Is gorilla enlightened enough by bananas?
check_pointed
Signal handler used to give gorilla various actions by pointing. Works only if gorilla is befrinded.
Arguments:
- user - gorilla current master.
- pointed_at - original atom, user pointed at.
delayed_manipulation
Result of pointing at banana or crate/closet.
Arguments:
- pointed_at - original atom master pointed at.
delayed_move_drop
Result of pointing at anything except crates or bananas.
Arguments:
- pointed_at - original atom, master pointed at.
drop_all_crates
Drops all the crates in our crate list.
Arguments:
- drop_to - location at which crates will be dropped.
drop_random_crate
Drops one random crates from our crate list.
Arguments:
- drop_to - location at which crates will be dropped.
eat_banana
Banana consuming overmind.
Arguments:
- banana - target banana to eat.
- giver - user who fed gorilla.
- throw_impact - whether this proc was called in result of throw impact.
- from_master_hand - whether fed person was a gorilla current master.
find_phrase
Parses message for specific phrases contained in a list.
Arguments:
- message - message to parse.
- phrases - list with phrases to compare.
follow_master
Simple follow its master if gorilla is not waiting.
get_names
Returns a list with phrases to which gorilla reacts as if it were their names. For clientless mobs only.
get_target_bodyparts
Gorillas like to dismember limbs from unconscious mobs. Returns null when the target is not an unconscious carbon mob; a list of limbs (possibly empty) otherwise.
is_on_cooldown
Checks general actions cooldown for gorilla. Returns TRUE
if still in progress.
manipulate_crate
Proc that manipulated with passed object. Opens/closes a crate/closet or picks up a crate.
Arguments:
- target_object - object gorilla will manipulate with.
on_death
Resetting gorilla after master's death.
reset_behavior
Reset variables for gorilla after end of friendship or after excitement is finished.
Arguments:
- play_emote - whether to play visible custom emote.
- end_of_excitement - marker to distinguish excitement reset from default.
start_action_cooldown
Starts general actions cooldown for gorilla.
update_master
Changes current gorilla master.
Arguments:
- user - new gorilla master.