Skip to content

Commit

Permalink
Halves the volume of the arcade game (#2853)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request
Title
<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

## Why It's Good For The Game
Currently you can hear people playing this game across entire ships it's
a bit ridiculous
<!-- Please add a short description of why you think these changes would
benefit the game. If you can't justify it in words, it might not be
worth adding. -->

## Changelog

:cl:
tweak: Finally turned down the volume of the arcade program
/🆑

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
JimKil3 authored Mar 27, 2024
1 parent 77ca54d commit 39fa70d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions code/modules/modular_computers/file_system/programs/arcade.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
usr?.mind?.adjust_experience(/datum/skill/gaming, 1)
if(boss_hp <= 0)
heads_up = "You have crushed [boss_name]! Rejoice!"
playsound(computer.loc, 'sound/arcade/win.ogg', 50)
playsound(computer.loc, 'sound/arcade/win.ogg', 25)
game_active = FALSE
program_icon_state = "arcade_off"
if(istype(computer))
Expand All @@ -38,7 +38,7 @@
sleep(10)
else if(player_hp <= 0 || player_mp <= 0)
heads_up = "You have been defeated... how will the station survive?"
playsound(computer.loc, 'sound/arcade/lose.ogg', 50)
playsound(computer.loc, 'sound/arcade/lose.ogg', 25)
game_active = FALSE
program_icon_state = "arcade_off"
if(istype(computer))
Expand All @@ -58,17 +58,17 @@
return
if (boss_mp <= 5)
heads_up = "[boss_mpamt] magic power has been stolen from you!"
playsound(computer.loc, 'sound/arcade/steal.ogg', 50, TRUE)
playsound(computer.loc, 'sound/arcade/steal.ogg', 25, TRUE)
player_mp -= boss_mpamt
boss_mp += boss_mpamt
else if(boss_mp > 5 && boss_hp <12)
heads_up = "[boss_name] heals for [bossheal] health!"
playsound(computer.loc, 'sound/arcade/heal.ogg', 50, TRUE)
playsound(computer.loc, 'sound/arcade/heal.ogg', 25, TRUE)
boss_hp += bossheal
boss_mp -= boss_mpamt
else
heads_up = "[boss_name] attacks you for [boss_attackamt] damage!"
playsound(computer.loc, 'sound/arcade/hit.ogg', 50, TRUE)
playsound(computer.loc, 'sound/arcade/hit.ogg', 25, TRUE)
player_hp -= boss_attackamt

pause_state = FALSE
Expand Down Expand Up @@ -109,7 +109,7 @@
attackamt = rand(2,6) + rand(0, gamerSkill)
pause_state = TRUE
heads_up = "You attack for [attackamt] damage."
playsound(computer.loc, 'sound/arcade/hit.ogg', 50, TRUE)
playsound(computer.loc, 'sound/arcade/hit.ogg', 25, TRUE)
boss_hp -= attackamt
sleep(10)
game_check()
Expand All @@ -126,7 +126,7 @@
healcost = rand(1, maxPointCost)
pause_state = TRUE
heads_up = "You heal for [healamt] damage."
playsound(computer.loc, 'sound/arcade/heal.ogg', 50, TRUE)
playsound(computer.loc, 'sound/arcade/heal.ogg', 25, TRUE)
player_hp += healamt
player_mp -= healcost
sleep(10)
Expand All @@ -139,7 +139,7 @@
rechargeamt = rand(4,7) + rand(0, gamerSkill)
pause_state = TRUE
heads_up = "You regain [rechargeamt] magic power."
playsound(computer.loc, 'sound/arcade/mana.ogg', 50, TRUE)
playsound(computer.loc, 'sound/arcade/mana.ogg', 25, TRUE)
player_mp += rechargeamt
sleep(10)
game_check()
Expand Down

0 comments on commit 39fa70d

Please sign in to comment.