/tg/ Station 13 - Modules - TypesVar Details - Proc Details

cone

Cone spells

Cone spells shoot off as a cone from the caster.

Vars

cone_levelsThis controls how many levels the cone has. Increase this value to make a bigger cone.
respect_densityThis value determines if the cone penetrates walls.

Procs

calculate_cone_shapeThis proc adjusts the cones width depending on the level.
do_cone_effectsThis proc does obj, mob and turf cone effects on all targets in the passed list.
do_mob_cone_effectThis proc deterimines how the spell will affect mobs.
do_obj_cone_effectThis proc deterimines how the spell will affect objects.
do_turf_cone_effectThis proc deterimines how the spell will affect turfs.
get_cone_turfsThis proc creates a list of turfs that are hit by the cone.

Var Details

cone_levels

This controls how many levels the cone has. Increase this value to make a bigger cone.

respect_density

This value determines if the cone penetrates walls.

Proc Details

calculate_cone_shape

This proc adjusts the cones width depending on the level.

do_cone_effects

This proc does obj, mob and turf cone effects on all targets in the passed list.

do_mob_cone_effect

This proc deterimines how the spell will affect mobs.

do_obj_cone_effect

This proc deterimines how the spell will affect objects.

do_turf_cone_effect

This proc deterimines how the spell will affect turfs.

get_cone_turfs

This proc creates a list of turfs that are hit by the cone.