-
Notifications
You must be signed in to change notification settings - Fork 266
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #501 from DexeeXI/code-shit
Dagoth Smite
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Dagoth KILL Smite! (ported from Biblefart code) - Dexee | ||
// tweaked the name of this to make it extremely apparent that someone's gonna get fucked up. completely and utterly apparent. will be making a separate funny smite that doesn't kill | ||
|
||
/datum/smite/dagothkillsmite | ||
name = "Dagoth KILL Smite" | ||
|
||
/datum/smite/dagothkillsmite/effect(client/user, mob/living/target) | ||
. = ..() | ||
if (!iscarbon(target)) | ||
to_chat(user, span_warning("This must be used on a carbon mob."), confidential = TRUE) | ||
return | ||
var/mob/living/carbon/human/Person = target | ||
var/turf/Location = get_turf(target) | ||
var/turf/T = get_step(get_step(Person, NORTH), NORTH) | ||
to_chat(Person,span_ratvar("What a grand and intoxicating innocence. Perish.")) | ||
T.Beam(Person, icon_state="lightning[rand(1,12)]", time = 1.5 SECONDS) | ||
Person.unequip_everything() | ||
Person.Paralyze(15) | ||
playsound(target,'sound/magic/lightningshock.ogg', 50, 1) | ||
playsound(target,'monkestation/sound/misc/dagothgod.ogg', 80) | ||
Person.electrocution_animation(15) | ||
spawn(15) | ||
Person.gib() | ||
playsound(Location,'sound/effects/explosion3.ogg', 75, 1) | ||
return |
17 changes: 17 additions & 0 deletions
17
monkestation/code/modules/admin/smites/dagothstripsmite.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// The Dagoth Strip! To have something that doesn't kill but you still wanna humiliate someone! -Dexee | ||
|
||
/datum/smite/dagothstripsmite | ||
name = "Dagoth STRIP" | ||
|
||
/datum/smite/dagothstripsmite/effect(client/user, mob/living/target) | ||
. = ..() | ||
if (!iscarbon(target)) | ||
to_chat(user, span_warning("This must be used on a carbon mob."), confidential = TRUE) | ||
return | ||
var/mob/living/carbon/human/Person = target | ||
to_chat(Person,span_ratvar("Why have you come unprepared?")) | ||
Person.unequip_everything() | ||
Person.Paralyze(15) | ||
playsound(target,'monkestation/sound/misc/dagothgod.ogg', 80) | ||
return | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters