mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 18:14:22 +01:00
778ed9f1ab
## About The Pull Request This PR kills the abstract internal and external typepaths for organs, now replaced by an EXTERNAL_ORGAN flag to distinguish the two kinds. This PR also fixes fox ears (from #87162, no tail is added) and mushpeople's caps (they should be red, the screenshot is a tad outdated). And yes, you can now use a hair dye spray to recolor body parts like most tails, podpeople hair, mushpeople caps and cat ears. The process can be reversed by using the spray again. ## Why It's Good For The Game Time-Green put some effort during the last few months to untie functions and mechanics from external/internal organ pathing. Now, all that this pathing is good for are a few typechecks, easily replaceable with bitflags. Also podpeople and mushpeople need a way to recolor their "hair". This kind of applies to fish tails from the fish infusion, which colors can't be selected right now. The rest is just there if you ever want to recolor your lizard tail for some reason. Proof of testing btw (screenshot taken before mushpeople cap fix, right side has dyed body parts, moth can't be dyed, they're already fabolous):  ## Changelog 🆑 code: Removed internal/external pathing from organs in favor of a bit flag. Hopefully this shouldn't break anything about organs. fix: Fixed invisible fox ears. fix: Fixed mushpeople caps not being colored red by default. add: You can now dye most tails, podpeople hair, mushpeople caps etc. with a hair dye spray. /🆑
152 lines
4.3 KiB
Plaintext
152 lines
4.3 KiB
Plaintext
/obj/effect/spawner/random/medical
|
|
name = "medical loot spawner"
|
|
desc = "Doc, gimmie something good."
|
|
|
|
/obj/effect/spawner/random/medical/minor_healing
|
|
name = "minor healing spawner"
|
|
icon_state = "gauze"
|
|
loot = list(
|
|
/obj/item/stack/medical/suture,
|
|
/obj/item/stack/medical/mesh,
|
|
/obj/item/stack/medical/gauze,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/injector
|
|
name = "injector spawner"
|
|
icon_state = "syringe"
|
|
loot = list(
|
|
/obj/item/implanter,
|
|
/obj/item/reagent_containers/dropper,
|
|
/obj/item/reagent_containers/syringe,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/organs
|
|
name = "ayylien organ spawner"
|
|
icon_state = "eyes"
|
|
spawn_loot_count = 3
|
|
loot = list(
|
|
/obj/item/organ/heart/gland/egg = 7,
|
|
/obj/item/organ/heart/gland/plasma = 7,
|
|
/obj/item/organ/heart/gland/chem = 5,
|
|
/obj/item/organ/heart/gland/mindshock = 5,
|
|
/obj/item/organ/heart/gland/transform = 5,
|
|
/obj/item/organ/heart/gland/spiderman = 5,
|
|
/obj/item/organ/heart/gland/slime = 4,
|
|
/obj/item/organ/heart/gland/trauma = 4,
|
|
/obj/item/organ/heart/gland/electric = 3,
|
|
/obj/item/organ/monster_core/regenerative_core = 2,
|
|
/obj/item/organ/monster_core/rush_gland = 2,
|
|
/obj/item/organ/monster_core/brimdust_sac = 2,
|
|
/obj/item/organ/heart/gland/ventcrawling = 1,
|
|
/obj/item/organ/body_egg/alien_embryo = 1,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/memeorgans
|
|
name = "meme organ spawner"
|
|
icon_state = "eyes"
|
|
spawn_loot_count = 5
|
|
loot = list(
|
|
/obj/item/organ/ears/penguin,
|
|
/obj/item/organ/ears/cat,
|
|
/obj/item/organ/eyes/moth,
|
|
/obj/item/organ/eyes/snail,
|
|
/obj/item/organ/tongue/bone,
|
|
/obj/item/organ/tongue/fly,
|
|
/obj/item/organ/tongue/snail,
|
|
/obj/item/organ/tongue/lizard,
|
|
/obj/item/organ/tongue/alien,
|
|
/obj/item/organ/tongue/ethereal,
|
|
/obj/item/organ/tongue/robot,
|
|
/obj/item/organ/tongue/zombie,
|
|
/obj/item/organ/appendix,
|
|
/obj/item/organ/liver/fly,
|
|
/obj/item/organ/lungs/plasmaman,
|
|
/obj/item/organ/tail/cat,
|
|
/obj/item/organ/tail/lizard,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/two_percent_xeno_egg_spawner
|
|
name = "2% chance xeno egg spawner"
|
|
icon_state = "xeno_egg"
|
|
loot = list(
|
|
/obj/effect/decal/remains/xeno = 49,
|
|
/obj/effect/spawner/xeno_egg_delivery = 1,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/surgery_tool
|
|
name = "Surgery tool spawner"
|
|
icon_state = "scapel"
|
|
loot = list(
|
|
/obj/item/scalpel,
|
|
/obj/item/hemostat,
|
|
/obj/item/retractor,
|
|
/obj/item/circular_saw,
|
|
/obj/item/surgicaldrill,
|
|
/obj/item/cautery,
|
|
/obj/item/bonesetter,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/surgery_tool_advanced
|
|
name = "Advanced surgery tool spawner"
|
|
icon_state = "scapel"
|
|
loot = list( // Mail loot spawner. Drop pool of advanced medical tools typically from research. Not endgame content.
|
|
/obj/item/scalpel/advanced,
|
|
/obj/item/retractor/advanced,
|
|
/obj/item/cautery/advanced,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/surgery_tool_alien
|
|
name = "Rare surgery tool spawner"
|
|
icon_state = "scapel"
|
|
loot = list( // Mail loot spawner. Some sort of random and rare surgical tool. Alien tech found here.
|
|
/obj/item/scalpel/alien,
|
|
/obj/item/hemostat/alien,
|
|
/obj/item/retractor/alien,
|
|
/obj/item/circular_saw/alien,
|
|
/obj/item/surgicaldrill/alien,
|
|
/obj/item/cautery/alien,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/medkit_rare
|
|
name = "rare medkit spawner"
|
|
icon_state = "medkit"
|
|
loot = list(
|
|
/obj/item/storage/medkit/emergency,
|
|
/obj/item/storage/medkit/surgery,
|
|
/obj/item/storage/medkit/advanced,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/medkit
|
|
name = "medkit spawner"
|
|
icon_state = "medkit"
|
|
loot = list(
|
|
/obj/item/storage/medkit/regular = 10,
|
|
/obj/item/storage/medkit/o2 = 10,
|
|
/obj/item/storage/medkit/fire = 10,
|
|
/obj/item/storage/medkit/brute = 10,
|
|
/obj/item/storage/medkit/toxin = 10,
|
|
/obj/effect/spawner/random/medical/medkit_rare = 1,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/patient_stretcher
|
|
name = "patient stretcher spawner"
|
|
icon_state = "rollerbed"
|
|
loot = list(
|
|
/obj/structure/bed/medical/emergency,
|
|
/obj/vehicle/ridden/wheelchair,
|
|
)
|
|
|
|
/obj/effect/spawner/random/medical/supplies
|
|
name = "medical supplies spawner"
|
|
icon_state = "box_small"
|
|
loot = list(
|
|
/obj/item/storage/box/hug,
|
|
/obj/item/storage/box/pillbottles,
|
|
/obj/item/storage/box/bodybags,
|
|
/obj/item/storage/box/rxglasses,
|
|
/obj/item/storage/box/beakers,
|
|
/obj/item/storage/box/gloves,
|
|
/obj/item/storage/box/masks,
|
|
/obj/item/storage/box/syringes,
|
|
)
|