mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 12:04:48 +01:00
Add the banana touch and mime malaise spells
This commit is contained in:
@@ -59,5 +59,6 @@
|
||||
if(prob(5))
|
||||
affected_mob.say( pick( list("HONK!", "Honk!", "Honk.", "Honk?", "Honk!!", "Honk?!", "Honk...") ) )
|
||||
|
||||
if(!istype(affected_mob.wear_mask, /obj/item/clothing/mask/gas/virusclown_hat))
|
||||
affected_mob.equip_to_slot(new /obj/item/clothing/mask/gas/virusclown_hat(src), slot_wear_mask)
|
||||
if(!istype(affected_mob.wear_mask, /obj/item/clothing/mask/gas/clown_hat/nodrop))
|
||||
affected_mob.unEquip(affected_mob.wear_mask, TRUE)
|
||||
affected_mob.equip_to_slot(new /obj/item/clothing/mask/gas/clown_hat/nodrop(src), slot_wear_mask)
|
||||
@@ -0,0 +1,64 @@
|
||||
/obj/effect/proc_holder/spell/targeted/touch/banana
|
||||
name = "Banana Touch"
|
||||
desc = "A spell popular at wizard birthday parties, this spell will put on a clown costume on the target, \
|
||||
stun them with a loud HONK, and mutate them to make them more entertaining! \
|
||||
Warning : Effects may be permanent on non-wizards."
|
||||
hand_path = /obj/item/melee/touch_attack/banana
|
||||
school = "transmutation"
|
||||
|
||||
charge_max = 300
|
||||
clothes_req = 1
|
||||
cooldown_min = 100 //50 deciseconds reduction per rank
|
||||
action_icon_state = "clown"
|
||||
|
||||
/obj/item/melee/touch_attack/banana
|
||||
name = "banana touch"
|
||||
desc = "It's time to start clowning around."
|
||||
catchphrase = "NWOLC YRGNA"
|
||||
on_use_sound = 'sound/items/AirHorn.ogg'
|
||||
icon_state = "banana_touch"
|
||||
item_state = "banana_touch"
|
||||
|
||||
/obj/item/melee/touch_attack/banana/afterattack(atom/target, mob/living/carbon/user, proximity)
|
||||
if(!proximity || target == user || !ishuman(target) || !iscarbon(user) || user.lying || user.handcuffed)
|
||||
return
|
||||
|
||||
var/datum/effect_system/smoke_spread/s = new
|
||||
s.set_up(5, 0, target)
|
||||
s.start()
|
||||
|
||||
to_chat(user, "<font color='red' size='6'>HONK</font>")
|
||||
var/mob/living/carbon/human/H = target
|
||||
H.bananatouched()
|
||||
..()
|
||||
|
||||
/mob/living/carbon/human/proc/bananatouched()
|
||||
to_chat(src, "<font color='red' size='6'>HONK</font>")
|
||||
Weaken(7)
|
||||
Stun(7)
|
||||
Stuttering(15)
|
||||
do_jitter_animation(15)
|
||||
|
||||
if(iswizard(src) || (mind && mind.special_role == SPECIAL_ROLE_WIZARD_APPRENTICE)) //Wizards get non-cursed clown robes and magical mask.
|
||||
unEquip(shoes, TRUE)
|
||||
unEquip(wear_mask, TRUE)
|
||||
unEquip(head, TRUE)
|
||||
unEquip(wear_suit, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/head/wizard/clown, slot_head, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/suit/wizrobe/clown, slot_wear_suit, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/shoes/clown_shoes/magical, slot_shoes, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/mask/gas/clownwiz, slot_wear_mask, TRUE, TRUE)
|
||||
else
|
||||
qdel(shoes)
|
||||
qdel(wear_mask)
|
||||
qdel(w_uniform)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/under/rank/clown/nodrop, slot_w_uniform, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/shoes/clown_shoes/nodrop, slot_shoes, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/mask/gas/clown_hat/nodrop, slot_wear_mask, TRUE, TRUE)
|
||||
dna.SetSEState(CLUMSYBLOCK, TRUE, TRUE)
|
||||
dna.SetSEState(COMICBLOCK, TRUE, TRUE)
|
||||
genemutcheck(src, CLUMSYBLOCK, null, MUTCHK_FORCED)
|
||||
genemutcheck(src, COMICBLOCK, null, MUTCHK_FORCED)
|
||||
if(!(iswizard(src) || (mind && mind.special_role == SPECIAL_ROLE_WIZARD_APPRENTICE))) //Mutations are permanent on non-wizards. Can still be removed by genetics fuckery but not mutadone.
|
||||
dna.default_blocks.Add(CLUMSYBLOCK)
|
||||
dna.default_blocks.Add(COMICBLOCK)
|
||||
@@ -0,0 +1,54 @@
|
||||
/obj/effect/proc_holder/spell/targeted/touch/mime_malaise
|
||||
name = "Mime Malaise"
|
||||
desc = "A spell popular with theater nerd wizards and contrarian pranksters, this spell will put on a mime costume on the target, \
|
||||
stun them so that they may contemplate Art, and silence them. \
|
||||
Warning : Effects may be permanent on non-wizards."
|
||||
hand_path = /obj/item/melee/touch_attack/mime_malaise
|
||||
school = "transmutation"
|
||||
|
||||
charge_max = 300
|
||||
clothes_req = 1
|
||||
cooldown_min = 100 //50 deciseconds reduction per rank
|
||||
action_icon_state = "mime"
|
||||
|
||||
/obj/item/melee/touch_attack/mime_malaise
|
||||
name = "mime hand"
|
||||
desc = "..."
|
||||
catchphrase = null
|
||||
on_use_sound = null
|
||||
icon_state = "fleshtostone"
|
||||
item_state = "fleshtostone"
|
||||
|
||||
/obj/item/melee/touch_attack/mime_malaise/afterattack(atom/target, mob/living/carbon/user, proximity)
|
||||
if(!proximity || target == user || !ishuman(target) || !iscarbon(user) || user.lying || user.handcuffed)
|
||||
return
|
||||
|
||||
var/datum/effect_system/smoke_spread/s = new
|
||||
s.set_up(5, 0, target)
|
||||
s.start()
|
||||
|
||||
var/mob/living/carbon/human/H = target
|
||||
H.mimetouched()
|
||||
..()
|
||||
|
||||
/mob/living/carbon/human/proc/mimetouched()
|
||||
Weaken(7)
|
||||
Stun(7)
|
||||
if(iswizard(src) || (mind && mind.special_role == SPECIAL_ROLE_WIZARD_APPRENTICE)) //Wizards get non-cursed mime outfit. Replace with mime robes if we add those.
|
||||
unEquip(wear_mask, TRUE)
|
||||
unEquip(w_uniform, TRUE)
|
||||
unEquip(wear_suit, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/mask/gas/mime, slot_wear_mask, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/under/mime, slot_w_uniform, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/suit/suspenders, slot_wear_suit, TRUE, TRUE)
|
||||
Silence(7)
|
||||
else
|
||||
qdel(wear_mask)
|
||||
qdel(w_uniform)
|
||||
qdel(wear_suit)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/mask/gas/mime/nodrop, slot_wear_mask, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/under/mime/nodrop, slot_w_uniform, TRUE, TRUE)
|
||||
equip_to_slot_if_possible(new /obj/item/clothing/suit/suspenders/nodrop, slot_wear_suit, TRUE, TRUE)
|
||||
dna.SetSEState(MUTEBLOCK , TRUE, TRUE)
|
||||
genemutcheck(src, MUTEBLOCK , null, MUTCHK_FORCED)
|
||||
dna.default_blocks.Add(MUTEBLOCK)
|
||||
Reference in New Issue
Block a user