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

explosion_action

Tests the EX_ACT macro on several different types of atoms to ensure that it still works as expected.

Vars

alien_brute_lossrolling var for how much brute damage the alien has taken.
alien_burn_lossrolling var for how much burn damage the alien has taken.
alien_ear_damagealiens get a bit of damage done to their ears when exploded, so check that too.

Procs

execute_mob_testsTests the EX_ACT macro on several different types of mobs to ensure that it still works as expected. Throughout this test, we use the "abstract" type of a /mob/living to ensure that the raw framework will still work and remain hardy against any ex_act() overrides that may be done on the subtype-to-subtype basis. Any time we use an explicit subtype is to test that framework, so if you update that for some reason, you should also update this test. Like, if you balance aliens to take more ear damage and this test fails, just update the test to reflect that. That's it.
execute_obj_testsTests the EX_ACT() macro on objs to ensure some level of the underlying framework still functions.
execute_turf_testsTests the EX_ACT() macro on turf subtypes to ensure some level of the underlying framework still functions.
read_alien_damagesProc to lessen the amount of copypasta we do for the alien tests, simply sets the rolling vars we have.
set_up_test_dogSets up a fully armored corgi for testing purposes. Split out into its own proc as to not clutter up the main test.

Var Details

alien_brute_loss

rolling var for how much brute damage the alien has taken.

alien_burn_loss

rolling var for how much burn damage the alien has taken.

alien_ear_damage

aliens get a bit of damage done to their ears when exploded, so check that too.

Proc Details

execute_mob_tests

Tests the EX_ACT macro on several different types of mobs to ensure that it still works as expected. Throughout this test, we use the "abstract" type of a /mob/living to ensure that the raw framework will still work and remain hardy against any ex_act() overrides that may be done on the subtype-to-subtype basis. Any time we use an explicit subtype is to test that framework, so if you update that for some reason, you should also update this test. Like, if you balance aliens to take more ear damage and this test fails, just update the test to reflect that. That's it.

execute_obj_tests

Tests the EX_ACT() macro on objs to ensure some level of the underlying framework still functions.

execute_turf_tests

Tests the EX_ACT() macro on turf subtypes to ensure some level of the underlying framework still functions.

read_alien_damages

Proc to lessen the amount of copypasta we do for the alien tests, simply sets the rolling vars we have.

set_up_test_dog

Sets up a fully armored corgi for testing purposes. Split out into its own proc as to not clutter up the main test.