mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-28 07:26:17 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user