forked from yogstation13/Yogstation
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into unlimited_mapping_or_else
- Loading branch information
Showing
106 changed files
with
3,366 additions
and
42 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
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
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
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
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
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
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
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
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
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
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
43 changes: 43 additions & 0 deletions
43
modular_dripstation/code/datums/reagent/condensed_capsaicin.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,43 @@ | ||
/datum/reagent/consumable/condensedcapsaicin/reaction_mob(mob/living/M, methods=TOUCH, reac_volume) | ||
if(!ishuman(M) && !ismonkey(M)) | ||
return | ||
|
||
var/mob/living/carbon/victim = M | ||
if(methods & (TOUCH|VAPOR)) | ||
//check for protection | ||
var/mouth_covered = victim.is_mouth_covered() | ||
var/eyes_covered = victim.is_eyes_covered() | ||
|
||
//actually handle the pepperspray effects | ||
if ( eyes_covered && mouth_covered ) | ||
return | ||
else if ( mouth_covered ) // Reduced effects if partially protected | ||
if(prob(50)) | ||
victim.emote("scream") | ||
victim.adjust_eye_blur(14) | ||
victim.blind_eyes(10) | ||
victim.set_confusion_if_lower(10 SECONDS) | ||
victim.damageoverlaytemp = 75 | ||
victim.Knockdown(6 SECONDS) | ||
M.adjustStaminaLoss(5) | ||
return | ||
else if ( eyes_covered ) // Eye cover is better than mouth cover | ||
if(prob(20)) | ||
victim.emote("cough") | ||
victim.adjust_eye_blur(4) | ||
victim.set_confusion_if_lower(5 SECONDS) | ||
victim.damageoverlaytemp = 50 | ||
M.adjustStaminaLoss(5) | ||
return | ||
else // Oh dear :D | ||
if(prob(60)) | ||
victim.emote("scream") | ||
else | ||
victim.emote("cough") | ||
victim.adjust_eye_blur(14) | ||
victim.blind_eyes(10) | ||
victim.set_confusion_if_lower(12 SECONDS) | ||
victim.damageoverlaytemp = 100 | ||
victim.Knockdown(14 SECONDS) | ||
M.adjustStaminaLoss(10) | ||
victim.update_damage_hud() |
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
44 changes: 44 additions & 0 deletions
44
modular_dripstation/code/game/effects/temporary_visuals/projectiles.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,44 @@ | ||
/obj/effect/projectile/impact/laser/hitscan | ||
name = "laser impact" | ||
icon_state = "impact_laser_red" | ||
icon = 'modular_dripstation/icons/effects/projectiles/impact.dmi' | ||
|
||
/obj/effect/projectile/tracer/laser/hitscan | ||
name = "laser tracer" | ||
icon_state = "tracer_laser_red" | ||
icon = 'modular_dripstation/icons/effects/projectiles/tracer.dmi' | ||
|
||
/obj/effect/projectile/muzzle/laser/hitscan | ||
name = "laser muzzle" | ||
icon_state = "muzzle_laser_red" | ||
icon = 'modular_dripstation/icons/effects/projectiles/muzzle.dmi' | ||
|
||
/obj/effect/projectile/impact/laser/hitscan/sniper | ||
name = "sniper laser impact" | ||
icon_state = "impact_scc" | ||
icon = 'modular_dripstation/icons/effects/projectiles/impact.dmi' | ||
|
||
/obj/effect/projectile/tracer/laser/hitscan/sniper | ||
name = "sniper laser tracer" | ||
icon_state = "beam_scc" | ||
icon = 'modular_dripstation/icons/effects/projectiles/tracer.dmi' | ||
|
||
/obj/effect/projectile/muzzle/laser/hitscan/sniper | ||
name = "sniper laser muzzle" | ||
icon_state = "muzzle_scc" | ||
icon = 'modular_dripstation/icons/effects/projectiles/muzzle.dmi' | ||
|
||
/obj/effect/projectile/impact/bfg | ||
name = "bfg impact" | ||
icon_state = "bfg" | ||
icon = 'modular_dripstation/icons/effects/projectiles/impact.dmi' | ||
|
||
/obj/effect/projectile/tracer/bfg | ||
name = "bfg tracer" | ||
icon_state = "bfg" | ||
icon = 'modular_dripstation/icons/effects/projectiles/tracer.dmi' | ||
|
||
/obj/effect/projectile/muzzle/bfg | ||
name = "bfg muzzle" | ||
icon_state = "bfg" | ||
icon = 'modular_dripstation/icons/effects/projectiles/muzzle.dmi' |
Oops, something went wrong.