Files
BongaTheProtoandTsurupeta dfdbd259da unit test
this is the easy part, believe it or not
2023-08-08 14:01:13 +03:00

6 lines
338 B
Plaintext

/datum/unit_test/projectile_movetypes/Run()
for(var/path in typesof(/obj/item/projectile))
var/obj/item/projectile/projectile = path
if(initial(projectile.movement_type) & PHASING)
TEST_FAIL("[path] has default movement type PHASING. Piercing projectiles should be done using the projectile piercing system, not movement_types!")