mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-05 06:21:57 +00:00
10 lines
328 B
Plaintext
10 lines
328 B
Plaintext
/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(" ")]")
|