/datum/action/cooldown/spell/shapeshift
Shapeshift spells.
Allows the caster to transform to and from a different mob type.
Vars | |
convert_damage | Whether we convert our health from one form to another |
---|---|
convert_damage_type | If convert damage is true, the damage type we deal when converting damage back and forth |
die_with_shapeshifted_form | Whether we die when our shapeshifted form is killed |
possible_shapes | All possible types we can become. This should be implemented even if there is only one choice. |
pre_shift_requirements | Our spell's requrements before we shapeshifted. Stored on shapeshift so we can restore them after unshifting. |
revert_on_death | Whether we revert to our human form on death. |
shapeshift_type | Our chosen type. |
Procs | |
check_menu | Callback for the radial that allows the user to choose their species. |
create_shapeshift_mob | Helper proc that instantiates the mob we shapeshift into. Returns an instance of a living mob. Can be overridden. |
do_shapeshift | Actually does the shapeshift, for the caster. |
do_unshapeshift | Actually does the un-shapeshift, from the caster. (Caster is a shapeshifted mob.) |
eject_from_vents | Whenever someone shapeshifts within a vent, and enters a state in which they are no longer a ventcrawler, they are brutally ejected from the vents. In the form of gibs. |
Var Details
convert_damage
Whether we convert our health from one form to another
convert_damage_type
If convert damage is true, the damage type we deal when converting damage back and forth
die_with_shapeshifted_form
Whether we die when our shapeshifted form is killed
possible_shapes
All possible types we can become. This should be implemented even if there is only one choice.
pre_shift_requirements
Our spell's requrements before we shapeshifted. Stored on shapeshift so we can restore them after unshifting.
revert_on_death
Whether we revert to our human form on death.
shapeshift_type
Our chosen type.
Proc Details
check_menu
Callback for the radial that allows the user to choose their species.
create_shapeshift_mob
Helper proc that instantiates the mob we shapeshift into. Returns an instance of a living mob. Can be overridden.
do_shapeshift
Actually does the shapeshift, for the caster.
do_unshapeshift
Actually does the un-shapeshift, from the caster. (Caster is a shapeshifted mob.)
eject_from_vents
Whenever someone shapeshifts within a vent, and enters a state in which they are no longer a ventcrawler, they are brutally ejected from the vents. In the form of gibs.