mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-19 03:50:32 +01:00
added a cursed fountain
Added a fountain that will give you a curse that'll make you larger with each step taken. The curse eventually goes away after enough steps
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
|
||||
/obj/structure/cursedfatfountain
|
||||
name = "Strange fountain"
|
||||
desc = "An odd fountain, sparking with foreign magic."
|
||||
icon = 'GainStation13/icons/obj/cursed_fountain.dmi'
|
||||
icon_state = "full"
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
var/curse_given = 0
|
||||
|
||||
/mob/living
|
||||
var/cursed_fat = 0 //decides whether the user is cursed at all (also makes for a fun admin switch)
|
||||
var/fattening_steps_left = 0 //decides on the lenght of the curse
|
||||
|
||||
/obj/structure/cursedfatfountain/attack_hand(mob/living/user)
|
||||
. = ..()
|
||||
if(.)
|
||||
return
|
||||
if(curse_given == 1)
|
||||
to_chat(user, "<span class='notice'>The fountain seems to deject your hand.</span>")
|
||||
icon_state = "empty"
|
||||
return
|
||||
if (ishuman(user) && user.has_dna())
|
||||
user.cursed_fat = 1
|
||||
user.fattening_steps_left = 40
|
||||
icon_state = "empty"
|
||||
to_chat(user, "<span class='notice'>The glittering orange liquid disappears instantly as you touch it. You feel a strange, warm sensation inside, growing stronger the more you move...</span>")
|
||||
curse_given = 1
|
||||
|
||||
// /obj/structure/cursedfatfountain/update_icon()
|
||||
// if(last_process + time_between_uses > world.time)
|
||||
// icon_state = "full"
|
||||
// else
|
||||
// icon_state = "empty"
|
||||
|
||||
/mob/living/carbon/Move(NewLoc, direct)
|
||||
. = ..()
|
||||
if(cursed_fat == 1)
|
||||
fattening_steps_left -= 1
|
||||
adjust_fatness(50, FATTENING_TYPE_MAGIC)
|
||||
|
||||
if(fattening_steps_left <= 0)
|
||||
cursed_fat = 0
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 547 B |
+1
-1
@@ -3103,7 +3103,7 @@
|
||||
#include "GainStation13\code\modules\vending\mealdor.dm"
|
||||
#include "GainStation13\code\obj\items\minor_items.dm"
|
||||
#include "GainStation13\code\obj\structure\calorite_doors.dm"
|
||||
#include "GainStation13\code\obj\structure\candylight.dm"
|
||||
#include "GainStation13\code\obj\structure\fountain.dm"
|
||||
#include "GainStation13\code\obj\structure\scale.dm"
|
||||
#include "GainStation13\code\obj\weapons\fatoray.dm"
|
||||
#include "hyperstation\code\__DEFINES\economy.dm"
|
||||
|
||||
Reference in New Issue
Block a user