use static for shared member vars

This commit is contained in:
spookerton
2022-04-24 07:52:32 +01:00
parent 757fecf223
commit ee67e174fb
24 changed files with 47 additions and 48 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
var/is_manifest = 0 //If set to 1, the ghost is able to whisper. Usually only set if a cultist drags them through the veil.
var/ghost_sprite = null
var/global/list/possible_ghost_sprites = list(
var/static/list/possible_ghost_sprites = list(
"Clear" = "blank",
"Green Blob" = "otherthing",
"Bland" = "ghost",
+1 -1
View File
@@ -34,7 +34,7 @@
var/turf/home
var/homeName
var/global/amount = 0
var/static/amount = 0
/mob/living/bot/mulebot/Initialize()
. = ..()
+2 -2
View File
@@ -26,7 +26,7 @@
var/obj/item/communicator/integrated/communicator // Our integrated communicator.
var/chassis = "pai-repairbot" // A record of your chosen chassis.
var/global/list/possible_chassis = list(
var/static/list/possible_chassis = list(
"Drone" = "pai-repairbot",
"Cat" = "pai-cat",
"Mouse" = "pai-mouse",
@@ -41,7 +41,7 @@
"Rabbit" = "pai-rabbit",
)
var/global/list/possible_say_verbs = list(
var/static/list/possible_say_verbs = list(
"Robotic" = list("states","declares","queries"),
"Natural" = list("says","yells","asks"),
"Beep" = list("beeps","beeps loudly","boops"),
@@ -25,7 +25,7 @@
meat_type = /obj/item/reagent_containers/food/snacks/carpmeat/fish
// By default they can be in any water turf. Subtypes might restrict to deep/shallow etc
var/global/list/suitable_turf_types = list(
var/static/list/suitable_turf_types = list(
/turf/simulated/floor/beach/water,
/turf/simulated/floor/beach/coastline,
/turf/simulated/floor/holofloor/beach/water,