Adds Some Extra Blind Messages and Tweaks Some Too. (#25855)

* Blind

* comma

* Update code/modules/games/cards.dm

Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>

* Update gun.dm

* this applies to other blind people, not you

* dedent

* Reformatting

* Update bloodcrawl.dm

* Apply suggestions from code review

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>

* Update cards.dm

---------

Signed-off-by: CRUNCH <143041327+Fordoxia@users.noreply.github.com>
Co-authored-by: Ryan <80364400+Sirryan2002@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
CRUNCH
2024-07-31 12:04:13 +00:00
committed by GitHub
co-authored by Ryan Luc
parent 5234b6386b
commit 2a949e11ab
7 changed files with 178 additions and 57 deletions
+32 -10
View File
@@ -150,10 +150,18 @@
playsound(user, fire_sound, 50, 1)
if(message)
if(pointblank)
user.visible_message("<span class='danger'>[user] fires [src] point blank at [target]!</span>", "<span class='danger'>You fire [src] point blank at [target]!</span>", "<span class='italics'>You hear \a [fire_sound_text]!</span>")
user.visible_message(
"<span class='danger'>[user] fires [src] point blank at [target]!</span>",
"<span class='danger'>You fire [src] point blank at [target]!</span>",
"<span class='danger'>You hear \a [fire_sound_text]!</span>"
)
else
user.visible_message("<span class='danger'>[user] fires [src]!</span>", "<span class='danger'>You fire [src]!</span>", "You hear \a [fire_sound_text]!")
if(chambered?.muzzle_flash_effect)
user.visible_message(
"<span class='danger'>[user] fires [src]!</span>",
"<span class='danger'>You fire [src]!</span>",
"<span class='danger'>You hear \a [fire_sound_text]!</span>"
)
if(chambered.muzzle_flash_effect)
var/obj/effect/temp_visual/target_angled/muzzle_flash/effect = new chambered.muzzle_flash_effect(get_turf(src), target, muzzle_flash_time)
effect.alpha = min(255, muzzle_strength * 255)
if(chambered.muzzle_flash_color)
@@ -193,7 +201,11 @@
if(flag)
if(user.zone_selected == "mouth")
if(target == user && HAS_TRAIT(user, TRAIT_BADASS)) // Check if we are blowing smoke off of our own gun, otherwise we are trying to execute someone
user.visible_message("<span class='danger'>[user] blows smoke off of [src]'s barrel. What a badass.</span>")
user.visible_message(
"<span class='danger'>[user] blows smoke off of [src]'s barrel. What a badass.</span>",
"<span class='danger'>You blow smoke off of [src]'s barrel.</span>",
"<span class='danger'>You hear someone blowing over a hollow tube.</span>"
)
else
handle_suicide(user, target, params)
return
@@ -473,11 +485,15 @@
if(user == target)
if(!ishuman(user)) // Borg suicide needs a refactor for this to work.
return
target.visible_message("<span class='warning'>[user] sticks [src] in [user.p_their()] mouth, ready to pull the trigger...</span>", \
"<span class='userdanger'>You stick [src] in your mouth, ready to pull the trigger...</span>")
target.visible_message(
"<span class='warning'>[user] sticks [src] in [user.p_their()] mouth, ready to pull the trigger...</span>",
"<span class='userdanger'>You stick [src] in your mouth, ready to pull the trigger...</span>"
)
else
target.visible_message("<span class='warning'>[user] points [src] at [target]'s head, ready to pull the trigger...</span>", \
"<span class='userdanger'>[user] points [src] at your head, ready to pull the trigger...</span>")
target.visible_message(
"<span class='warning'>[user] points [src] at [target]'s head, ready to pull the trigger...</span>",
"<span class='userdanger'>[user] points [src] at your head, ready to pull the trigger...</span>"
)
semicd = 1
@@ -486,13 +502,19 @@
if(user == target)
user.visible_message("<span class='notice'>[user] decided life was worth living.</span>")
else if(target && target.Adjacent(user))
target.visible_message("<span class='notice'>[user] has decided to spare [target]'s life.</span>", "<span class='notice'>[user] has decided to spare your life!</span>")
target.visible_message(
"<span class='notice'>[user] has decided to spare [target]'s life.</span>",
"<span class='userdanger'>[user] has decided to spare your life!</span>"
)
semicd = 0
return
semicd = 0
target.visible_message("<span class='warning'>[user] pulls the trigger!</span>", "<span class='userdanger'>[user] pulls the trigger!</span>")
target.visible_message(
"<span class='warning'>[user] pulls the trigger!</span>",
"<span class='userdanger'>[user] pulls the trigger!</span>"
)
if(chambered && chambered.BB)
chambered.BB.damage *= 5