surgery_initiator
Allows an item to be used to initiate surgeries.
Vars | |
last_user_ref | The last user, as a weakref |
---|---|
surgery_target_ref | The currently selected target that the user is proposing a surgery on |
Procs | |
add_item_context | Adds context sensitivy directly to the surgery initator file for screentips Arguments: |
attempt_cancel_surgery | Does the surgery de-initiation. |
initiate_surgery_moment | Does the surgery initiation. |
Var Details
last_user_ref
The last user, as a weakref
surgery_target_ref
The currently selected target that the user is proposing a surgery on
Proc Details
add_item_context
Adds context sensitivy directly to the surgery initator file for screentips Arguments:
- source - the surgery drapes, cloak, or bedsheet calling surgery initator
- context - Preparing Surgery, the component has a lot of ballon alerts to deal with most contexts
- target - the living target mob you are doing surgery on
- user - refers to user who will see the screentip when the drapes are on a living target
attempt_cancel_surgery
Does the surgery de-initiation.
initiate_surgery_moment
Does the surgery initiation.