byond - Modules - TypesVar Details - Proc Details

interaction

Vars

initiatorThe mob that initiated the interaction
interaction_soundSound filed played when interaction is successful
ownerWho this offer for interaction is being made to
timeoutClear itself after a certain amount of time
timer_idThe reference to the existing timer

Procs

end_interactionFunctions to end the interaction
failure_messageReturns a string for unsuccessful interactions
interactees_movedWhat to do when either the owner or the initiating mob moves
interaction_animationSeperate proc meant to be overriden for unique animations
register_movement_signalsSeparate proc to register signals; not on Initialize because owner and initiator are not set yet
success_messageReturns a string for successful interactions

Var Details

initiator

The mob that initiated the interaction

interaction_sound

Sound filed played when interaction is successful

owner

Who this offer for interaction is being made to

timeout

Clear itself after a certain amount of time

timer_id

The reference to the existing timer

Proc Details

end_interaction

Functions to end the interaction

failure_message

Returns a string for unsuccessful interactions

interactees_moved

What to do when either the owner or the initiating mob moves

interaction_animation

Seperate proc meant to be overriden for unique animations

register_movement_signals

Separate proc to register signals; not on Initialize because owner and initiator are not set yet

success_message

Returns a string for successful interactions