Ports move force and move resist, movement/pushing/pulling tweaks & co.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
//Keep this sorted alphabetically
|
||||
|
||||
#ifdef UNIT_TESTS
|
||||
#include "anchored_mobs.dm"
|
||||
#include "reagent_id_typos.dm"
|
||||
#include "reagent_recipe_collisions.dm"
|
||||
#include "spawn_humans.dm"
|
||||
|
||||
9
code/modules/unit_tests/anchored_mobs.dm
Normal file
9
code/modules/unit_tests/anchored_mobs.dm
Normal file
@@ -0,0 +1,9 @@
|
||||
/datum/unit_test/anchored_mobs/Run()
|
||||
var/list/L = list()
|
||||
for(var/i in typesof(/mob))
|
||||
var/mob/M = i
|
||||
if(initial(M.anchored))
|
||||
L += "[i]"
|
||||
if(!L.len)
|
||||
return //passed!
|
||||
Fail("The following mobs are defined as anchored. This is incompatible with the new move force/resist system and needs to be revised.: [L.Join(" ")]")
|
||||
Reference in New Issue
Block a user