Adds AI ventcrawling code, does not implement it (#29661)

* bam

* push

* im trolling myself

* code

* ok lets go

* fix

* improvements
This commit is contained in:
Contrabang
2025-07-04 12:05:23 -07:00
committed by GitHub
parent b1908df76b
commit 211633f2b5
16 changed files with 478 additions and 5 deletions
+1 -1
View File
@@ -107,7 +107,7 @@
return 0
else
var/play_soundeffect = 1
if(M.environment_smash)
if(istype(M) && M.environment_smash)
play_soundeffect = 0
var/obj_turf = get_turf(src) // play from the turf in case the object gets deleted mid attack
if(M.obj_damage)