mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
Joker Poker, feat. You have UNOOOO (#20598)
<img width="125" alt="dreamseeker_Ipg96rH5Bq" src="https://github.com/user-attachments/assets/9da6e048-a33c-4198-90ee-e47a05fc85a0" />  - rscadd: "Streamlines card mechanics. Click on others to deal to them, yourself to draw. Ctrl-click to draw, Alt-click to shuffle." - rscadd: "Adds KOTAHI, the shedding type card game fun for the whole family." - rscadd: "Tweaks throw sound volume." - bugfix: "Fixes some runtimes with cards." - imageadd: "New sprites for playing cards." Also seperates picking cards into it's own verb, and no more tooltips when concealed. No more cheating. (Also changes the throw sound volume, so it doesn't horribly spike the volume when you're dealing normally) KOTAHI sprites by CevUI, modified by myself.
This commit is contained in:
@@ -455,12 +455,12 @@
|
||||
if(SEND_SIGNAL(hit_atom, COMSIG_ATOM_PREHITBY, src, throwingdatum) & COMSIG_HIT_PREVENTED)
|
||||
return
|
||||
|
||||
var/volume = get_volume_by_throwforce_and_or_w_class()
|
||||
if(isliving(hit_atom)) //Living mobs handle hit sounds differently.
|
||||
var/mob/living/L = hit_atom
|
||||
if(L.in_throw_mode)
|
||||
playsound(hit_atom, pickup_sound, PICKUP_SOUND_VOLUME, TRUE)
|
||||
else
|
||||
var/volume = get_volume_by_throwforce_and_or_w_class()
|
||||
if(throwforce > 0)
|
||||
if(mob_throw_hit_sound)
|
||||
playsound(hit_atom, mob_throw_hit_sound, volume, TRUE, -1)
|
||||
@@ -471,7 +471,7 @@
|
||||
else
|
||||
playsound(hit_atom, 'sound/weapons/throwtap.ogg', 1, volume, -1)
|
||||
else
|
||||
playsound(src, drop_sound, YEET_SOUND_VOLUME)
|
||||
playsound(src, drop_sound, volume)
|
||||
|
||||
var/itempush = TRUE
|
||||
if(w_class < WEIGHT_CLASS_NORMAL)
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
/obj/item/tajcard
|
||||
name = "collectable tajaran card"
|
||||
desc = "A collectable card with an illustration of a famous Tajaran figure, usually found inside cigarette packets."
|
||||
icon = 'icons/obj/playing_cards.dmi'
|
||||
icon = 'icons/obj/item/playing_cards.dmi'
|
||||
icon_state = "tajcig"
|
||||
drop_sound = 'sound/items/drop/paper.ogg'
|
||||
pickup_sound = 'sound/items/pickup/paper.ogg'
|
||||
|
||||
Reference in New Issue
Block a user