mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 10:22:13 +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(" ")]")
|