mirror of
https://github.com/evilew/GS13-Citadel.git
synced 2026-08-24 21:58:09 +01:00
Merge pull request #198 from SeepingVisage/cream-demon
Add a new creature: the Cream Demon
This commit is contained in:
@@ -165,3 +165,50 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/fatten/check_target_prefs(mob/living/carbon/target)
|
||||
return target?.client?.prefs?.weight_gain_magic
|
||||
|
||||
/mob/living/simple_animal/hostile/feed/chocolate_slime/creambeast/cream_demon
|
||||
name = "Cream Demon"
|
||||
desc = "A strange mass of thick, creamy ice cream given some sense of instinct. This one seems better put together, as though it was sculpted by an artist, and it glows with a demonic power."
|
||||
icon_state = "creamdemon"
|
||||
icon_living = "creamdemon"
|
||||
move_to_delay = 7
|
||||
projectiletype = /obj/item/projectile/beam/fattening/icecream/strong
|
||||
speak = list("Come here.", "Come closer.", "Accept my blessing.")
|
||||
ranged_cooldown_time = 40
|
||||
speed = 3
|
||||
maxHealth = 250
|
||||
health = 250
|
||||
vision_range = 7
|
||||
charger = 1
|
||||
charge_frequency = 10 SECONDS
|
||||
|
||||
/obj/item/projectile/beam/fattening/icecream/strong
|
||||
ricochets_max = 1
|
||||
ricochet_chance = 50
|
||||
food_fed = /datum/reagent/consumable/lipoifier
|
||||
food_per_feeding = 5
|
||||
fullness_add = 60
|
||||
fat_added = 0
|
||||
|
||||
//Turns your fat into permafat. Watch out!
|
||||
/mob/living/simple_animal/hostile/feed/chocolate_slime/creambeast/cream_demon/AttackingTarget()
|
||||
. = ..()
|
||||
var/mob/living/carbon/L = target
|
||||
if(istype(L) && L.client?.prefs?.weight_gain_permanent)
|
||||
if(L.fatness_real > 10)
|
||||
L.fatness_real = L.fatness_real - 10
|
||||
L.fatness_perma += 1
|
||||
to_chat(target, "<span class='notice'>You feel your fat shrinking.</span>")
|
||||
else
|
||||
L.adjustToxLoss(5, 0)
|
||||
to_chat(target, "<span class='userdanger'>You've run out of fat to shrink! Your organs feel on fire!</span>")
|
||||
|
||||
/mob/living/simple_animal/hostile/feed/chocolate_slime/creambeast/cream_demon/attack_hand(mob/living/user, act_intent = user.a_intent)
|
||||
. = ..()
|
||||
if (ishuman(user) && user.has_dna() && act_intent == "help")
|
||||
if(user.cursed_fat)
|
||||
to_chat(user, "<span class='notice'>You've already received the blessing of this demon. If you want more, you'll have to exhaust the blessing first.</span>")
|
||||
else
|
||||
user.cursed_fat = 1
|
||||
user.fattening_steps_left += 200
|
||||
to_chat(user, "<span class='notice'>As you embrace the creature, a warmth passes you as it passes onto you its cursed blessing. You feel a strange, warm sensation inside, growing stronger the more you move...</span>")
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 7.3 KiB |
Reference in New Issue
Block a user