further calorite updates

- new calorite statue with... certain, fun properties (sprites made by VV!)
- new posters, made by Cubic
- added special properties to walls
- started work on unique cryo roles
- made Calorite compatible with Lipoifier Immunity perk
This commit is contained in:
Sonoida
2023-01-19 01:40:08 +01:00
parent eb14dd203e
commit 619fb5a74a
8 changed files with 215 additions and 15 deletions
@@ -271,6 +271,34 @@
mineral = /obj/item/stack/sheet/mineral/calorite
walltype = /turf/closed/wall/mineral/calorite
canSmoothWith = list(/obj/structure/falsewall/calorite, /turf/closed/wall/mineral/calorite)
var/active = null
var/last_event = 0
/obj/structure/falsewall/calorite/proc/fatten()
if(!active)
if(world.time > last_event+15)
active = 1
for(var/mob/living/carbon/human/M in orange(3,src))
if(HAS_TRAIT(M, TRAIT_LIPOIFIER_IMMUNE))
return
else
M.fatness = M.fatness + 50
last_event = world.time
active = null
return
return
/obj/structure/falsewall/calorite/Bumped(atom/movable/AM)
fatten()
..()
/obj/structure/falsewall/calorite/attackby(obj/item/W, mob/user, params)
fatten()
return ..()
/obj/structure/falsewall/calorite/attack_hand(mob/user)
fatten()
. = ..()
/obj/structure/falsewall/sandstone