Nebula
Nebula copied to clipboard
Beewrite
Description of changes
- Moves beekeeping into an
insects
modpack. - Converts the honey extractor into a general-purpose industrial centrifuge in main code, currently only capable of converting growns and filled combs into reagents and scraps.
- Reworks beehive frames into a general frame type that is filled with reagents, rather than a bespoke item subtype.
- Removes the existing beehive machinery and replaces it with
/obj/structure/apiary
, which is crafted directly from planks rather than using a bespoke parts item. - Implements
/datum/extension/insect_hive
and/decl/insect_species
to allow for nests to go on any structure, and contain a variety of insects with a variety of products. - Implements bees using the above. Beehives will generate swarms, which will gather pollen (not currently modeled via reagent, just a counter) from nearby flowers, then return the pollen to the hive, where it will be used to fill a frame or create a comb.
- Swarms will need to be smoked before harvesting frames to avoid agitating the hive and getting stung.
TODO
- [x] Modpack beekeeping.
- [x] Rewrite frames.
- [x] Rewrite centrifuge.
- [x] Test frames/centrifuge/growns interactions.
- [x] Rewrite beehive/implement apiary.
- [ ] Implement and test swarm behavior.
- [x] Implement and test frame filling/creating behavior.
- [ ] Add wasp and bee hives to dead trees.
- [ ] Add anthills to dirt/sand.
- [ ] Add bars recipe so wax lumps from centrifuge can be crafted into bars.
- [ ] Implement honey ants as a variant species.
- [ ] Implement silkworms as a variant species.
- [ ] Implement wasps as a variant species.
Why and what will this PR improve
Generalizes beekeeping in a way that allows for an expansion into other species (ants and wasps) and allows hives to be placed on arbitrary structures like dead trees or old closets.
Authorship
Myself.
Changelog
:cl: add: Beekeeping has been rewritten almost entirely, please refer to the Beewrite PR on the GitHub repo for details. /:cl: