mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Shoe Snatching Charm
Might need more work but it actually works
This commit is contained in:
@@ -1597,6 +1597,7 @@
|
||||
#include "code\modules\spells\targeted\horsemask.dm"
|
||||
#include "code\modules\spells\targeted\mind_transfer.dm"
|
||||
#include "code\modules\spells\targeted\shift.dm"
|
||||
#include "code\modules\spells\targeted\shoesnatch.dm"
|
||||
#include "code\modules\spells\targeted\subjugate.dm"
|
||||
#include "code\modules\spells\targeted\targeted.dm"
|
||||
#include "code\modules\spells\targeted\projectile\dumbfire.dm"
|
||||
|
||||
@@ -71,13 +71,15 @@
|
||||
<I>This spell will curse a person to wear an unremovable horse mask (it has glue on the inside) and speak like a horse. It does not require wizard garb.</I><BR>
|
||||
<A href='byond://?src=\ref[src];spell_choice=frenchcurse'>The French Curse</A> (30)<BR>
|
||||
<I>This spell silences sombody adjacent to you, and curses them with an unremovable Mime costume.</I><BR>
|
||||
<A href='byond://?src=\ref[src];spell_choice=shoesnatch'>Shoe Snatching Charm</A> (15)<BR>
|
||||
<I>This spell will remove your victim's shoes and materialize them in your hands.</I><BR>
|
||||
<A href='byond://?src=\ref[src];spell_choice=fleshtostone'>Flesh to Stone</A> (60)<BR>
|
||||
<I>This spell will curse a person to immediately turn into an unmoving statue. The effect will eventually wear off if the statue is not destroyed.</I><BR>
|
||||
<A href='byond://?src=\ref[src];spell_choice=arsenath'>Butt-Bot's Revenge</A> (50)<BR>
|
||||
<I>Summon the power of the butt gods to remove the anus of your enemy.</I><BR>
|
||||
[!istype(ticker.mode, /datum/game_mode/wizard/raginmages) ? "<A href='byond://?src=\ref[src];spell_choice=summonguns'>Summon Guns</A> (One time use, global spell)<BR><I>Nothing could possibly go wrong with arming a crew of lunatics just itching for an excuse to kill eachother. Just be careful not to get hit in the crossfire!</I><BR>" : ""]
|
||||
<A href='byond://?src=\ref[src];spell_choice=chariot'>Summon Chariot</A> (1/1)<BR>
|
||||
<I>Summon the most badass ride in all of wizardry. It can phase through walls, and is just badass.</I><BR>
|
||||
<I>Summon the most badass ride in all of wizardry.</I><BR>
|
||||
<A href='byond://?src=\ref[src];spell_choice=noclothes'>Remove Clothes Requirement</A> <b>Warning: this takes away 2 spell choices.</b><BR>
|
||||
<HR>
|
||||
<B>Artefacts:</B><BR>
|
||||
@@ -243,6 +245,10 @@
|
||||
feedback_add_details("wizard_spell_learned","FC") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
||||
H.add_spell(new/spell/targeted/frenchcurse)
|
||||
temp = "You have learned the french curse."
|
||||
if("shoesnatch")
|
||||
feedback_add_details("wizard_spell_learned","SS") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
||||
H.add_spell(new/spell/targeted/shoesnatch)
|
||||
temp = "You have learned the shoe snatching charm."
|
||||
if("fleshtostone")
|
||||
feedback_add_details("wizard_spell_learned","FS") //please do not change the abbreviation to keep data processing consistent. Add a unique id to any new spells
|
||||
H.add_spell(new/spell/targeted/flesh_to_stone)
|
||||
|
||||
32
code/modules/spells/targeted/shoesnatch.dm
Normal file
32
code/modules/spells/targeted/shoesnatch.dm
Normal file
@@ -0,0 +1,32 @@
|
||||
/spell/targeted/shoesnatch
|
||||
|
||||
name = "Shoe Snatching Charm"
|
||||
desc = "This spell will allow you to steal somebodies shoes right off of their feet!"
|
||||
school = "evocation"
|
||||
charge_type = Sp_RECHARGE
|
||||
charge_max = 150
|
||||
charge_counter = 0
|
||||
spell_flags = 0
|
||||
invocation = "H'NK!"
|
||||
invocation_type = SpI_SHOUT
|
||||
range = 7
|
||||
max_targets = 1
|
||||
cooldown_min = 30
|
||||
selection_type = "range"
|
||||
|
||||
compatible_mobs = list(/mob/living/carbon/human)
|
||||
|
||||
hud_state = "wiz_shoes"
|
||||
|
||||
|
||||
/spell/targeted/shoesnatch/cast(list/targets, mob/user = usr)
|
||||
..()
|
||||
for(var/mob/living/carbon/human/target in targets)
|
||||
var /obj/old_shoes = target.shoes
|
||||
if(old_shoes)
|
||||
sparks_spread = 1
|
||||
sparks_amt = 4
|
||||
target.drop_from_inventory(old_shoes)
|
||||
target.visible_message( "<span class='danger'>[target]'s shoes suddenly vanish!</span>", \
|
||||
"<span class='danger'>Your shoes suddenly vanish!</span>")
|
||||
usr.put_in_active_hand(old_shoes)
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Reference in New Issue
Block a user