mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
Extra Plushies + Plushify Spell (#27384)
* Plushie PR TODO- Fix borgs becoming mind Add to smite list Add diona plush effect * Fixed Issues Added alien plush Added loadout Yeah * Apply suggestions from code review Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Signed-off-by: Drakeven <50409888+Drakeven@users.noreply.github.com> * WIP Will finish later * Fixed the various issues Should be working now! Changed the bread smite to a 'generic item' smite and then made it a specifcally breaded smite. * Minor typo fixing And stuff * WIP Conversion Converting all the attacks into more sleek attacks, will need to finish. * Fixes galore Yippie! * Russian revolver wasn't working now you can self-shoot again! Horay! * You can no longer eat spraycans IPC clowns everywhere devistated * Apply suggestions from code review Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: Drakeven <50409888+Drakeven@users.noreply.github.com> * A tinsy bit of touching up :) --------- Signed-off-by: Drakeven <50409888+Drakeven@users.noreply.github.com> Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -2076,7 +2076,7 @@
|
||||
if(!istype(M))
|
||||
to_chat(usr, "<span class='warning'>This can only be used on instances of type /mob/living</span>")
|
||||
return
|
||||
var/ptypes = list("Lightning bolt", "Fire Death", "Gib", "Dust")
|
||||
var/ptypes = list("Lightning bolt", "Fire Death", "Gib", "Dust", "Plushify")
|
||||
if(ishuman(M))
|
||||
H = M
|
||||
ptypes += "Brain Damage"
|
||||
@@ -2121,6 +2121,9 @@
|
||||
if("Dust")
|
||||
M.dust()
|
||||
logmsg = "dust"
|
||||
if("Plushify")
|
||||
M.plushify(curse_time = -1)
|
||||
logmsg = "plushified"
|
||||
|
||||
// These smiting types are only valid for ishuman() mobs
|
||||
if("Brain Damage")
|
||||
@@ -2220,12 +2223,13 @@
|
||||
addtimer(CALLBACK(H, TYPE_PROC_REF(/mob/living/carbon/human, make_nugget)), 6 SECONDS)
|
||||
logmsg = "nugget"
|
||||
if("Bread")
|
||||
var/mob/living/simple_animal/shade/sword/bread/breadshade = new(H.loc)
|
||||
var/mob/living/simple_animal/shade/sword/generic_item/breadshade = new(H.loc)
|
||||
var/bready = pick(/obj/item/food/customizable/cook/bread, /obj/item/food/sliceable/meatbread, /obj/item/food/sliceable/xenomeatbread, /obj/item/food/sliceable/spidermeatbread, /obj/item/food/sliceable/bananabread, /obj/item/food/sliceable/tofubread, /obj/item/food/sliceable/bread, /obj/item/food/sliceable/creamcheesebread, /obj/item/food/sliceable/banarnarbread, /obj/item/food/flatbread, /obj/item/food/baguette)
|
||||
var/obj/item/bread = new bready(get_turf(H))
|
||||
breadshade.forceMove(bread)
|
||||
breadshade.key = H.key
|
||||
breadshade.RegisterSignal(bread, COMSIG_PARENT_QDELETING, TYPE_PROC_REF(/mob/living/simple_animal/shade/sword/bread, handle_bread_deletion))
|
||||
breadshade.name = "Bread spirit"
|
||||
breadshade.RegisterSignal(bread, COMSIG_PARENT_QDELETING, TYPE_PROC_REF(/mob/living/simple_animal/shade/sword/generic_item, handle_item_deletion))
|
||||
qdel(H)
|
||||
logmsg = "baked"
|
||||
to_chat(breadshade, "<span class='warning'>Get bready for combat, you've been baked into a piece of bread! Before you break down and rye thinking that your life is over, people are after you waiting for a snack! If you'd rather not be toast, lunge away from any hungry crew else you bite the crust. At the yeast you may survive a little longer...</span>")
|
||||
|
||||
Reference in New Issue
Block a user