morph 
The classic morph, Corpus Accipientis (or "The body of the recipient"). It's a blob that can disguise itself as other things simply put.
Vars | |
| disguise_ability | The ability that allows us to disguise ourselves. |
|---|---|
| eat_while_disguised | Can we eat while disguised? |
| form_typepath | A typepath pointing of the form we are currently assumed as. Remember, TYPEPATH!!! |
| form_weakref | A weakref pointing to the form we are currently assumed as. |
| melee_damage_disguised | How much damage are we doing while disguised? |
Procs | |
| eat | Eat stuff. Delicious. Return TRUE if we ate something, FALSE otherwise.
Required: eatable is the thing (item or mob) that we are going to eat.
Optional: delay is the applicable time-based delay to pass into do_after() before the logic is ran.
Optional: update_health is an integer that will be added (or maybe subtracted if you're cruel) to our health after we eat something. Passed into adjust_health() so make sure what you pass in is accurate. |
| on_disguise | Do some more logic for the morph when we disguise through the action. |
| on_undisguise | Do some more logic for the morph when we undisguise through the action. |
| pre_attack | Handles the logic for attacking anything. |
| trigger_ability | Alias for the disguise ability to be used as a keybind. |
Var Details
disguise_ability 
The ability that allows us to disguise ourselves.
eat_while_disguised 
Can we eat while disguised?
form_typepath 
A typepath pointing of the form we are currently assumed as. Remember, TYPEPATH!!!
form_weakref 
A weakref pointing to the form we are currently assumed as.
melee_damage_disguised 
How much damage are we doing while disguised?
Proc Details
eat
Eat stuff. Delicious. Return TRUE if we ate something, FALSE otherwise.
Required: eatable is the thing (item or mob) that we are going to eat.
Optional: delay is the applicable time-based delay to pass into do_after() before the logic is ran.
Optional: update_health is an integer that will be added (or maybe subtracted if you're cruel) to our health after we eat something. Passed into adjust_health() so make sure what you pass in is accurate.
on_disguise
Do some more logic for the morph when we disguise through the action.
on_undisguise
Do some more logic for the morph when we undisguise through the action.
pre_attack
Handles the logic for attacking anything.
trigger_ability
Alias for the disguise ability to be used as a keybind.