diff --git a/GainStation13/code/obj/structure/fountain.dm b/GainStation13/code/obj/structure/fountain.dm new file mode 100644 index 00000000..b7090bb3 --- /dev/null +++ b/GainStation13/code/obj/structure/fountain.dm @@ -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, "The fountain seems to deject your hand.") + 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, "The glittering orange liquid disappears instantly as you touch it. You feel a strange, warm sensation inside, growing stronger the more you move...") + 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 diff --git a/GainStation13/icons/obj/cursed_fountain.dmi b/GainStation13/icons/obj/cursed_fountain.dmi new file mode 100644 index 00000000..3de10e9a Binary files /dev/null and b/GainStation13/icons/obj/cursed_fountain.dmi differ diff --git a/tgstation.dme b/tgstation.dme index e82abcf1..ada99090 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -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"