mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-21 12:17:40 +01:00
WIP New Smites
Pie and spice
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
if(!istype(target))
|
||||
return
|
||||
|
||||
var/list/smite_types = list(SMITE_BREAKLEGS,SMITE_BLUESPACEARTILLERY,SMITE_SPONTANEOUSCOMBUSTION,SMITE_LIGHTNINGBOLT)
|
||||
var/list/smite_types = list(SMITE_PIE, SMITE_SPICE, SMITE_BREAKLEGS,SMITE_BLUESPACEARTILLERY,SMITE_SPONTANEOUSCOMBUSTION,SMITE_LIGHTNINGBOLT) //CHOMP Add pie and spicy air
|
||||
|
||||
var/smite_choice = tgui_input_list(usr, "Select the type of SMITE for [target]","SMITE Type Choice", smite_types)
|
||||
if(!smite_choice)
|
||||
@@ -40,6 +40,21 @@
|
||||
target.electrocute_act(75,def_zone = BP_HEAD)
|
||||
target.visible_message("<span class='danger'>[target] is struck by lightning!</span>")
|
||||
|
||||
if(SMITE_PIE) //CHOMP Add
|
||||
var/obj/effect/decal/cleanable/pie_smudge = new(get_turf(target))
|
||||
//WIP something needs to go here in order to actually spawn the smudge at the target. I need help.
|
||||
playsound(target, 'sound/effects/slime_squish.ogg', 100, 1, get_rand_frequency(), falloff = 5)
|
||||
target.Weaken(1)
|
||||
target.visible_message("<span class='danger'>[target] is struck by pie!</span>")
|
||||
|
||||
if(SMITE_SPICE) //CHOMP Add
|
||||
to_chat(target, "<span class='warning'>Spice spice baby!</span>")
|
||||
target.eye_blurry = max(target.eye_blurry, 25)
|
||||
target.Blind(10)
|
||||
target.Stun(5)
|
||||
target.Weaken(5)
|
||||
playsound(target, 'sound/effects/spray2.ogg', 100, 1, get_rand_frequency(), falloff = 5)
|
||||
|
||||
else
|
||||
return //Injection? Don't print any messages.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user