mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Implements footstep sound system and adds sounds to various floor types.
* Adds system for turfs to have "footstep sounds" that play when someone walks over them. * Adds system for floor types (the kind of turfs where you can put tiles on them) to support the footstep sounds. * Adds sounds to plating, tiles, wood, and carpet floor types. * Footstep sound system is configurable in game_options.txt, it can be turned off completely or the volume adjusted.
This commit is contained in:
@@ -156,6 +156,8 @@ var/list/gamemode_cache = list()
|
||||
var/slime_delay = 0
|
||||
var/animal_delay = 0
|
||||
|
||||
var/footstep_volume = 0
|
||||
|
||||
var/admin_legacy_system = 0 //Defines whether the server uses the legacy admin system with admins.txt or the SQL system. Config option in config.txt
|
||||
var/ban_legacy_system = 0 //Defines whether the server uses the legacy banning system with the files in /data or the SQL system. Config option in config.txt
|
||||
var/use_age_restriction_for_jobs = 0 //Do jobs use account age restrictions? --requires database
|
||||
@@ -768,6 +770,8 @@ var/list/gamemode_cache = list()
|
||||
if("animal_delay")
|
||||
config.animal_delay = value
|
||||
|
||||
if("footstep_volume")
|
||||
config.footstep_volume = text2num(value)
|
||||
|
||||
if("use_loyalty_implants")
|
||||
config.use_loyalty_implants = 1
|
||||
|
||||
Reference in New Issue
Block a user