fixes ponies shitcode (#18286)

This commit is contained in:
Sirryan2002
2022-07-09 10:10:42 -04:00
committed by GitHub
parent 34e8f36327
commit 4195c9c9da

View File

@@ -1,4 +1,4 @@
/obj/structure/closet/statue /obj/structure/closet/statue //this type path is a crime, ponies what the fuck
name = "statue" name = "statue"
desc = "An incredibly lifelike marble carving" desc = "An incredibly lifelike marble carving"
icon = 'icons/obj/statue.dmi' icon = 'icons/obj/statue.dmi'
@@ -16,11 +16,10 @@
. = ..() . = ..()
if(ishuman(L) || iscorgi(L)) if(ishuman(L) || iscorgi(L))
if(L.buckled) if(L.buckled)
L.buckled = 0 L.unbuckle_mob()
L.anchored = 0
L.forceMove(src) L.forceMove(src)
ADD_TRAIT(L, TRAIT_MUTE, STATUE_MUTE) ADD_TRAIT(L, TRAIT_MUTE, STATUE_MUTE)
max_integrity = L.health + 100 //stoning damaged mobs will result in easier to shatter statues max_integrity = max(L.health + 100, 100) //stoning damaged mobs will result in easier to shatter statues
intialTox = L.getToxLoss() intialTox = L.getToxLoss()
intialFire = L.getFireLoss() intialFire = L.getFireLoss()
intialBrute = L.getBruteLoss() intialBrute = L.getBruteLoss()