Files
Batrachophreno 4ecb0bc21c Repath obj/machinery to obj/structure/machinery [MDB Ignore] (#22500)
Repaths obj/machinery to obj/structure/machinery. **Note for
reviewers:** the only meaningful changed code exists within
**code/game/objects/structures.dm** and
**code/game/objects/structures/_machinery.dm**, largely concerning
damage procs. With the exception of moving airlock defines to their own
file, ALL OTHER CHANGES ARE STRICTLY PATH CHANGES.

Objects, _categorically_, are largely divided between those you can hold
in your hand/inventory and those you can't. Machinery objects are
already subtypes of Structures behaviorally, this PR just makes their
pathing reflect that, and allows for future work (tool actions, more
health/destruction functionality) to be developed without unnecessary
code duplication.

I have tested this PR by loading up the Horizon and dismantling various
machines and structures with tools, shooting guns of various types
throughout the ship, and detonating a bunch of explosions throughout the
ship.
2026-05-26 19:35:48 +00:00

449 lines
10 KiB
Plaintext

/singleton/cargo_item/ammoniabottle
category = "hydroponics"
name = "ammonia bottle"
supplier = "getmore"
description = "A small bottle."
price = 15
items = list(
/obj/item/reagent_containers/glass/bottle/ammonia
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/apron
category = "hydroponics"
name = "apron"
supplier = "getmore"
description = "A basic blue apron."
price = 20
items = list(
/obj/item/clothing/accessory/apron/blue
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/beenet
category = "hydroponics"
name = "bee net"
supplier = "vysoka"
description = "A needed tool to maintain bee imprisonment."
price = 24
items = list(
/obj/item/bee_net
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/beesmoker
category = "hydroponics"
name = "bee smoker"
supplier = "vysoka"
description = "For when you need to show those bees whos boss."
price = 60
items = list(
/obj/item/bee_smoker
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/beehiveassembly
category = "hydroponics"
name = "beehive assembly"
supplier = "vysoka"
description = "Beehive frame, some assembly required."
price = 40
items = list(
/obj/item/beehive_assembly
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 2
/singleton/cargo_item/cat
category = "hydroponics"
name = "cat"
supplier = "molinaris"
description = "A domesticated, feline pet. Has a tendency to adopt crewmembers."
price = 350
items = list(
/mob/living/simple_animal/cat
)
access = 0
container_type = "box"
groupable = FALSE
spawn_amount = 1
/singleton/cargo_item/chicken
category = "hydroponics"
name = "chicken"
supplier = "molinaris"
description = "Adorable! They make such a racket though."
price = 80
items = list(
/mob/living/simple_animal/chick
)
access = 0
container_type = "box"
groupable = FALSE
spawn_amount = 1
/singleton/cargo_item/corgi
category = "hydroponics"
name = "corgi"
supplier = "molinaris"
description = "Studies have shown corgis are the most well adapted canines in space, for some reason."
price = 600
items = list(
/obj/structure/largecrate/animal/corgi
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/cow
category = "hydroponics"
name = "cow"
supplier = "molinaris"
description = "Known for their milk, just don't tip them over."
price = 800
items = list(
/mob/living/simple_animal/cow
)
access = 0
container_type = "box"
groupable = FALSE
spawn_amount = 1
/singleton/cargo_item/icetunneler
category = "hydroponics"
name = "ice tunneler"
supplier = "zharkov"
description = "A crate containing a ice tunneler."
price = 700
items = list(
/obj/structure/largecrate/animal/adhomai
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/goat
category = "hydroponics"
name = "goat"
supplier = "molinaris"
description = "Not known for their pleasant disposition."
price = 400
items = list(
/mob/living/simple_animal/hostile/retaliate/goat
)
access = 0
container_type = "box"
groupable = FALSE
spawn_amount = 1
/singleton/cargo_item/pig
category = "hydroponics"
name = "pig"
supplier = "molinaris"
description = "Used in the past simply as meat farms, modern people recognize the affectionate side of these bacon factories."
price = 300
items = list(
/mob/living/simple_animal/pig
)
access = 0
container_type = "box"
groupable = FALSE
spawn_amount = 1
/singleton/cargo_item/hakhma
category = "hydroponics"
name = "hakhma"
supplier = "molinaris"
description = "An oversized insect breed by Scarab colony ships, known for their milk."
price = 800
items = list(
/mob/living/simple_animal/hakhma
)
access = 0
container_type = "box"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/schlorrgoegg
category = "hydroponics"
name = "schlorrgo egg"
supplier = "zharkov"
description = "A large egg that will eventually grow into a Schlorrgo."
price = 300
items = list(
/obj/item/reagent_containers/food/snacks/egg/schlorrgo
)
access = 0
container_type = "freezer"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/fatshouter
category = "hydroponics"
name = "fatshouter"
supplier = "zharkov"
description = "A crate containing a fatshouter, an Adhomian animal."
price = 1500
items = list(
/obj/structure/largecrate/animal/adhomai/fatshouter
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/floradiskbox
category = "hydroponics"
name = "flora disk box"
supplier = "nanotrasen"
description = "A box of flora data disks, apparently."
price = 120
items = list(
/obj/item/storage/box/botanydisk
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/honeyextractor
category = "hydroponics"
name = "honey extractor"
supplier = "vysoka"
description = "Needed equipment to extract sweet liquid gold."
price = 80
items = list(
/obj/structure/machinery/honey_extractor
)
access = 0
container_type = "box"
groupable = FALSE
spawn_amount = 1
/singleton/cargo_item/hydroponicstray
category = "hydroponics"
name = "hydroponics tray"
supplier = "nanotrasen"
description = "A safe space to raise your plants."
price = 100
items = list(
/obj/structure/machinery/portable_atmospherics/hydroponics
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/leathergloves
category = "hydroponics"
name = "leather gloves"
supplier = "getmore"
description = "These leather work gloves protect against thorns, barbs, prickles, spikes and other harmful objects of floral origin."
price = 12
items = list(
/obj/item/clothing/gloves/botanic_leather
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/packetofdionanodes
category = "hydroponics"
name = "packet of diona nodes"
supplier = "nanotrasen"
description = "It has a picture of diona pods on the front."
price = 25
items = list(
/obj/item/seeds/replicapod
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/packetofkudzuseeds
category = "hydroponics"
name = "packet of kudzu seeds"
supplier = "vysoka"
description = "It has a picture of kudzu vines on the front."
price = 12
items = list(
/obj/item/seeds/kudzuseed
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/packetofstrangeplantnodes
category = "hydroponics"
name = "packet of strange plant nodes"
supplier = "zeng_hu"
description = "It has a picture of strange plants on the front."
price = 12
items = list(
/obj/item/seeds/random
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/plantanalyzer
category = "hydroponics"
name = "plant analyzer"
supplier = "getmore"
description = "A hand-held environmental scanner which reports current gas levels."
price = 70
items = list(
/obj/item/analyzer/plant_analyzer
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/plant_b_gone
category = "hydroponics"
name = "Plant-B-Gone"
supplier = "blam"
description = "Kills those pesky weeds!"
price = 35
items = list(
/obj/item/reagent_containers/spray/plantbgone
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/queenbeepack
category = "hydroponics"
name = "queen bee pack"
supplier = "vysoka"
description = "Contains one queen bee, bee kingdom not included."
price = 40
items = list(
/obj/item/bee_pack
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/sampleoflibertycapspores
category = "hydroponics"
name = "sample of liberty cap spores"
supplier = "vysoka"
description = "It's labelled as coming from liberty cap mushrooms."
price = 25
items = list(
/obj/item/seeds/libertymycelium
)
access = ACCESS_HYDROPONICS
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/sampleofreishispores
category = "hydroponics"
name = "sample of reishi spores"
supplier = "vysoka"
description = "It's labelled as coming from reishi."
price = 35
items = list(
/obj/item/seeds/reishimycelium
)
access = ACCESS_HYDROPONICS
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/wulumunushaseed
category = "hydroponics"
name = "wulumunusha seed"
supplier = "zeng_hu"
description = "A Skrellian plant used in religious ceremonies and drinks."
price = 45
items = list(
/obj/item/seeds/wulumunushaseed
)
access = ACCESS_HYDROPONICS
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/chainsaw
category = "hydroponics"
name = "chainsaw"
supplier = "nanotrasen"
description = "A portable mechanical saw commonly used to fell trees."
price = 400
items = list(
/obj/item/material/twohanded/chainsaw
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/steelhatchet
category = "hydroponics"
name = "steel hatchet"
supplier = "nanotrasen"
description = "A very sharp axe blade upon a short fibremetal handle. It has a long history of chopping things, but now it is used for chopping wood."
price = 25
items = list(
/obj/item/material/hatchet
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/steelminihoe
category = "hydroponics"
name = "steel mini hoe"
supplier = "nanotrasen"
description = "It's used for removing weeds or scratching your back."
price = 12
items = list(
/obj/item/material/minihoe
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1
/singleton/cargo_item/weedkillergrenade
category = "hydroponics"
name = "weedkiller grenade"
supplier = "blam"
description = "Used for purging large areas of invasive plant species. Contents under pressure. Do not directly inhale contents."
price = 100
items = list(
/obj/item/grenade/chem_grenade/antiweed
)
access = 0
container_type = "crate"
groupable = TRUE
spawn_amount = 1