Migrate /obj/effect/spawner/lootdrop to /obj/effect/spawner/random. (#27445)

* refactor: Migrate /obj/effect/spawner/lootdrop to /obj/effect/spawner/random.

* set script PR number

* fix broken updatepaths for three course meal

* make filenames unique

* goddamnit

* redirect incorrect icon states

* ugh

* fix typepath fixes
This commit is contained in:
warriorstar-orion
2024-12-06 10:05:38 -05:00
committed by GitHub
parent 584e6b26d5
commit af2a3daf22
29 changed files with 842 additions and 849 deletions
@@ -410,14 +410,14 @@ GLOBAL_LIST_EMPTY(telecomms_trap_tank)
explosion(loc, -1, -1, 2, 4, flame_range = 4)
qdel(src)
/obj/effect/spawner/lootdrop/telecomms_core_table
/obj/effect/spawner/random/telecomms_core_table
name = "telecomms core table spawner"
lootcount = 1
spawn_loot_count = 1
loot = list(
/obj/item/rcd/combat,
/obj/item/gun/medbeam,
/obj/item/gun/energy/wormhole_projector,
/obj/item/storage/box/syndie_kit/oops_all_extraction_flares
/obj/item/rcd/combat,
/obj/item/gun/medbeam,
/obj/item/gun/energy/wormhole_projector,
/obj/item/storage/box/syndie_kit/oops_all_extraction_flares
)
/obj/item/storage/box/syndie_kit/oops_all_extraction_flares
@@ -13,18 +13,20 @@
/obj/item/spellbook/oneuse/emp/used
used = TRUE //spawns used
/obj/effect/spawner/lootdrop/wizardcrash
/obj/effect/spawner/random/wizardcrash
loot = list(
/obj/item/guardiancreator = 1, // jackpot.
/obj/item/spellbook/oneuse/knock = 1, // tresspassing charges incoming
/obj/item/gun/magic/wand/resurrection = 1, // medbay's best friend
/obj/item/tarot_generator = 1, // A little bit of everything, all of the time.
/obj/item/spellbook/oneuse/charge = 15, // and now for less useful stuff to dilute the good loot chances
/obj/item/spellbook/oneuse/summonitem = 20,
/obj/item/spellbook/oneuse/forcewall = 10,
/obj/item/tarot_card_pack = 10,
/obj/item/tarot_card_pack/jumbo = 6,
/obj/item/tarot_card_pack/mega = 4,
/obj/item/book/granter/spell/summon_cheese = 10, // hungry wizard stuff
/obj/item/reagent_containers/drinks/everfull = 10 // Cheese and wine
)
/obj/item/spellbook/oneuse/summonitem = 20,
/obj/item/spellbook/oneuse/charge = 15, // and now for less useful stuff to dilute the good loot chances
/obj/item/book/granter/spell/summon_cheese = 10, // hungry wizard stuff
/obj/item/reagent_containers/drinks/everfull = 10, // Cheese and wine
/obj/item/spellbook/oneuse/forcewall = 10,
/obj/item/tarot_card_pack = 10,
/obj/item/tarot_card_pack/jumbo = 6,
/obj/item/tarot_card_pack/mega = 4,
/obj/item/guardiancreator = 1, // jackpot.
/obj/item/spellbook/oneuse/knock = 1, // tresspassing charges incoming
/obj/item/gun/magic/wand/resurrection = 1, // medbay's best friend
/obj/item/tarot_generator = 1, // A little bit of everything, all of the time.
)