Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702)

This commit is contained in:
Matt Atlas
2020-08-28 20:47:00 +02:00
committed by GitHub
parent db1b0cece0
commit 0dd08df5b2
125 changed files with 629 additions and 557 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
use_power = 0
req_access = list(access_engine_equip)
gfi_layer_rotation = GFI_ROTATION_DEFDIR
clicksound = "switch"
clicksound = /decl/sound_category/switch_sound
var/area/area
var/areastring = null
var/obj/item/cell/cell
+1 -1
View File
@@ -25,7 +25,7 @@
density = 1
anchored = 1
use_power = 0
clicksound = "switch"
clicksound = /decl/sound_category/switch_sound
var/capacity = 5e6 // maximum charge
var/charge = 1e6 // actual charge