From eb4be991bb3b06c200612695706a94872cfbe52b Mon Sep 17 00:00:00 2001 From: Will <7099514+Willburd@users.noreply.github.com> Date: Mon, 21 Jul 2025 18:14:09 -0400 Subject: [PATCH] use global file (#18034) --- code/_helpers/global_lists.dm | 4 ++-- code/datums/elements/lootable/_lootable.dm | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/code/_helpers/global_lists.dm b/code/_helpers/global_lists.dm index 871a0d610ba..0ed0dd88a9d 100644 --- a/code/_helpers/global_lists.dm +++ b/code/_helpers/global_lists.dm @@ -579,10 +579,10 @@ GLOBAL_LIST_EMPTY(random_maps) GLOBAL_LIST_EMPTY(map_count) GLOBAL_LIST_EMPTY(narsie_list) GLOBAL_LIST_EMPTY(id_card_states) -GLOBAL_LIST_EMPTY(allocated_gamma) +GLOBAL_LIST_EMPTY(allocated_gamma_loot) GLOBAL_LIST_EMPTY(semirandom_mob_spawner_decisions) -GLOBAL_LIST_INIT(unique_gamma, list( +GLOBAL_LIST_INIT(unique_gamma_loot, list( /obj/item/perfect_tele, /obj/item/bluespace_harpoon, /obj/item/clothing/glasses/thermal/syndi, diff --git a/code/datums/elements/lootable/_lootable.dm b/code/datums/elements/lootable/_lootable.dm index 5717091aa90..b9e58093f5d 100644 --- a/code/datums/elements/lootable/_lootable.dm +++ b/code/datums/elements/lootable/_lootable.dm @@ -1,13 +1,3 @@ -GLOBAL_LIST_INIT(allocated_gamma_loot,list()) -GLOBAL_LIST_INIT(unique_gamma_loot,list(\ - /obj/item/perfect_tele,\ - /obj/item/bluespace_harpoon,\ - /obj/item/clothing/glasses/thermal/syndi,\ - /obj/item/gun/energy/netgun,\ - /obj/item/gun/projectile/dartgun,\ - /obj/item/clothing/gloves/black/bloodletter,\ - /obj/item/gun/energy/mouseray/metamorphosis)) - /datum/element/lootable var/chance_nothing = 0 // Unlucky people might need to loot multiple spots to find things. var/chance_uncommon = 10 // Probability of pulling from the uncommon_loot list.