mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-21 07:42:21 +00:00
fixes ponies shitcode (#18286)
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user