mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-08 15:47:52 +01:00
9eec1f8db2
* Removes anchroed from mobs, adds move force/resist * Move force and move resist * WIP, still has debug messages. * Fixes * Update living.dm * Anchored removal * Stuff * Unit tests * Removes anchored from dview * DME * Update anchored_mobs.dm * Fix * No ghost spacewind * Update mulebot.dm * Update temporary_visual.dm * Update forcefields.dm * Update step_triggers.dm * Update portals.dm * Update alien_acid.dm * Update bump_teleporter.dm * Update landmarks.dm * Update countdown.dm * Update blessing.dm * Update shieldgen.dm * Update containment_field.dm * Update field_generator.dm * Update singularity.dm * Update atmosmachinery.dm * Update door.dm * Update gravitygenerator.dm * Update door.dm * Update effects.dm * Update temporary_visual.dm * Update bump_teleporter.dm * Update forcefields.dm * Update landmarks.dm * Update portals.dm * Fixes * Throwforce annnd done, finally * Fixes * Haha I'm dumb sometimes
10 lines
337 B
Plaintext
10 lines
337 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(" ")]")
|