Merge pull request #189 from sheepishgoat/runes

GS13 Trap spells
This commit is contained in:
evilew
2024-05-25 13:47:35 +02:00
committed by GitHub
4 changed files with 59 additions and 0 deletions
@@ -0,0 +1,27 @@
/obj/structure/trap/fattening
name = "fattening trap"
desc = "A trap that ensures you won't be stepping around for much longer."
icon = 'GainStation13/icons/obj/structure/traps.dmi'
icon_state = "trap-fattening"
var/fattening_amount = 250 // Using a variable incase we want to have a stronger version.
// This is at half of the power of the singe-use cannonshot fatray.
/obj/structure/trap/fattening/trap_effect(mob/living/carbon/crosser)
if(ishuman(crosser))
to_chat(crosser, "<span class='danger'><B>You feel heavier!</B></span>")
crosser.adjust_fatness(fattening_amount, FATTENING_TYPE_MAGIC)
/obj/structure/trap/belch
name = "belch trap"
desc = "A trap that forcefully releases all the air in your stomach."
icon = 'GainStation13/icons/obj/structure/traps.dmi'
icon_state = "trap-belching"
/obj/structure/trap/belch/trap_effect(mob/living/crosser)
if(crosser?.client?.prefs.weight_gain_chems)
to_chat(crosser, "<span class='danger'><B>You feel all of the air leave your stomach!</B></span>")
crosser.emote(pick("belch","burp"))
crosser.Knockdown(500)
+31
View File
@@ -85,6 +85,27 @@
user.adjust_fatness(-weight_to_add, FATTENING_TYPE_MAGIC)
/obj/effect/proc_holder/spell/aoe_turf/conjure/the_traps/fat
name = "Fat Traps!"
desc = "Summon a number of traps to fatten your enemies."
action_icon = 'GainStation13/icons/obj/structure/traps.dmi'
action_icon_state = "trap-fattening"
clothes_req = FALSE
summon_type = list(
/obj/structure/trap/fattening
)
summon_amt = 4
/obj/effect/proc_holder/spell/aoe_turf/conjure/the_traps/fat/belch
name = "Belch Traps!"
desc = "Summon a number of traps to force your enemies to belch."
action_icon_state = "trap-belching"
summon_type = list(
/obj/structure/trap/belch
)
///Spellbooks
/obj/item/book/granter/spell/fattening
name = "fattening tome"
@@ -108,3 +129,13 @@
spellname = "weight steal"
icon_state = "steal_weight"
desc = "This book feels warm to the touch."
/obj/item/book/granter/spell/fattening/traps
name = "fattening trap tome"
spell = /obj/effect/proc_holder/spell/aoe_turf/conjure/the_traps/fat
spellname = "fattening traps"
/obj/item/book/granter/spell/fattening/belch
name = "belch trap tome"
spell = /obj/effect/proc_holder/spell/aoe_turf/conjure/the_traps/fat/belch
spellname = "belch traps"
Binary file not shown.

After

Width:  |  Height:  |  Size: 765 B

+1
View File
@@ -3090,6 +3090,7 @@
#include "GainStation13\code\machinery\fattening_turret.dm"
#include "GainStation13\code\machinery\feeding_tube.dm"
#include "GainStation13\code\mechanics\fatness.dm"
#include "GainStation13\code\mechanics\fattening_trap.dm"
#include "GainStation13\code\mechanics\spells.dm"
#include "GainStation13\code\mechanics\wand.dm"
#include "GainStation13\code\mechanics\web_weaving.dm"