mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
21b4095dfd
Upstream 04/17/2026 fixes https://github.com/Bubberstation/Bubberstation/issues/5549 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com> Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: Rhials <28870487+Rhials@users.noreply.github.com> Co-authored-by: rageguy505 <54517726+rageguy505@users.noreply.github.com> Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Aliceee2ch <160794176+Aliceee2ch@users.noreply.github.com> Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com> Co-authored-by: Tsar-Salat <62388554+Tsar-Salat@users.noreply.github.com> Co-authored-by: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Co-authored-by: Maxipat <108554989+Maxipat112@users.noreply.github.com> Co-authored-by: SyncIt21 <110812394+SyncIt21@users.noreply.github.com> Co-authored-by: deltanedas <39013340+deltanedas@users.noreply.github.com> Co-authored-by: SimplyLogan <47579821+loganuk@users.noreply.github.com> Co-authored-by: loganuk <fakeemail123@aol.com> Co-authored-by: Leland Kemble <70413276+lelandkemble@users.noreply.github.com> Co-authored-by: FalloutFalcon <86381784+FalloutFalcon@users.noreply.github.com> Co-authored-by: Roxy <75404941+TealSeer@users.noreply.github.com> Co-authored-by: Lucy <lucy@absolucy.moe> Co-authored-by: siliconOpossum <138069572+siliconOpossum@users.noreply.github.com> Co-authored-by: Isratosh <Isratosh@hotmail.com> Co-authored-by: TheRyeGuyWhoWillNowDie <70169560+TheRyeGuyWhoWillNowDie@users.noreply.github.com> Co-authored-by: Neocloudy <88008002+Neocloudy@users.noreply.github.com> Co-authored-by: Alexander V. <volas@ya.ru> Co-authored-by: ElGitificador <168473461+ElGitificador@users.noreply.github.com> Co-authored-by: Twaticus <46540570+Twaticus@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Tim <timothymtorres@gmail.com> Co-authored-by: Iamgoofball <iamgoofball@gmail.com> Co-authored-by: Layzu666 <121319428+Layzu666@users.noreply.github.com> Co-authored-by: Arturlang <24881678+Arturlang@users.noreply.github.com> Co-authored-by: _0Steven <42909981+00-Steven@users.noreply.github.com> Co-authored-by: mrmanlikesbt <99309552+mrmanlikesbt@users.noreply.github.com> Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> Co-authored-by: John F. Kennedy <54908920+MacaroniCritter@users.noreply.github.com> Co-authored-by: Cursor <102828457+theselfish@users.noreply.github.com> Co-authored-by: Josh <josh.adam.powell@gmail.com> Co-authored-by: Josh Powell <josh.powell@softwire.com> Co-authored-by: Yobrocharlie <Charliemiller5617@gmail.com> Co-authored-by: Hardly3D <66234359+Hardly3D@users.noreply.github.com> Co-authored-by: shayoki <96078776+shayoki@users.noreply.github.com> Co-authored-by: LT3 <83487515+lessthnthree@users.noreply.github.com>
111 lines
4.9 KiB
Plaintext
111 lines
4.9 KiB
Plaintext
///If the machine is used/deleted in the crafting process
|
|
#define CRAFTING_MACHINERY_CONSUME 1
|
|
///If the structure is used/deleted in the crafting process
|
|
#define CRAFTING_STRUCTURE_CONSUME 1
|
|
///If the machine is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it
|
|
#define CRAFTING_MACHINERY_USE 0
|
|
///If the structure is only "used" i.e. it checks to see if it's nearby and allows crafting, but doesn't delete it
|
|
#define CRAFTING_STRUCTURE_USE 0
|
|
|
|
//stack recipe placement check types
|
|
/// Checks if there is an object of the result type in any of the cardinal directions
|
|
#define STACK_CHECK_CARDINALS (1<<0)
|
|
/// Checks if there is an object of the result type within one tile
|
|
#define STACK_CHECK_ADJACENT (1<<1)
|
|
|
|
//---- Defines for var/crafting_flags
|
|
///If this craft must be learned before it becomes available
|
|
#define CRAFT_MUST_BE_LEARNED (1<<0)
|
|
///Should only one object exist on the same turf?
|
|
#define CRAFT_ONE_PER_TURF (1<<1)
|
|
/// Setting this to true will effectively set check_direction to true.
|
|
#define CRAFT_IS_FULLTILE (1<<2)
|
|
/// If this craft should run the direction check, for use when building things like directional windows where you can have more than one per turf
|
|
#define CRAFT_CHECK_DIRECTION (1<<3)
|
|
/// If the craft requires a floor below
|
|
#define CRAFT_ON_SOLID_GROUND (1<<4)
|
|
/// If the craft checks that there are objects with density in the same turf when being built
|
|
#define CRAFT_CHECK_DENSITY (1<<5)
|
|
/// Any reagent inputs to the craft will be transferred to the finishing product instead of being deleted
|
|
/// Note this only handles reagents that are SPECIFICALLY ASKED FOR in the component list, not all reagents in all components
|
|
#define CRAFT_TRANSFERS_REAGENT_COMPONENTS (1<<6)
|
|
/// Crafting clears all reagents present in the finished product
|
|
#define CRAFT_CLEARS_REAGENTS (1<<7)
|
|
/// For the crafting unit test, we don't check if the custom materials of an item are the same when crafted and spawned should its recipe have this flag.
|
|
#define CRAFT_SKIP_MATERIALS_PARITY (1<<8)
|
|
/// Exclusive to the personal_crafting component, skips the time spent crafting the recipe.
|
|
#define CRAFT_IGNORE_DO_AFTER (1<<9)
|
|
/// This craft won't change the materials of the resulting item to match that of the combined components
|
|
#define CRAFT_NO_MATERIALS (1<<10)
|
|
|
|
//Crafting blacklist behaviors
|
|
/// By default, blacklist the result if it's not in reqs
|
|
#define BLACKLIST_RESULT_IF_NOT_IN_REQS null
|
|
/// Always blacklist - override default behavior
|
|
#define ALWAYS_BLACKLIST_RESULT TRUE
|
|
/// Never blacklist - override default behavior
|
|
#define NEVER_BLACKLIST_RESULT FALSE
|
|
|
|
//food/drink crafting defines
|
|
#define CAT_FOOD "Foods"
|
|
// cuisine categories
|
|
#define CUISINE_ITALIAN "Italian"
|
|
#define CUISINE_JAPANESE "Japanese"
|
|
#define CUISINE_LIZARD "Lizard"
|
|
#define CUISINE_MARTIAN "Martian"
|
|
#define CUISINE_MEXICAN "Mexican"
|
|
#define CUISINE_MOTHIC "Mothic"
|
|
#define CUISINE_TERRAN "Terran" // catch-all for earth food that we don't have a more specific category for
|
|
// dish categories
|
|
#define DISH_BREAD "Bread"
|
|
#define DISH_BURGER "Burger"
|
|
#define DISH_BURRITO "Burrito" // also includes wraps/enchilada
|
|
#define DISH_CAKE "Cake"
|
|
#define DISH_CANDY "Candy"
|
|
#define DISH_CONDIMENT "Condiment" // catch-all for sauces, dressings, sides, etc
|
|
#define DISH_COOKIE "Cookie"
|
|
#define DISH_FROZEN "Frozen" // catch-all for ice cream, popsicles, etc
|
|
#define DISH_MEAT "Meat" // anything often served on its own as a "meat dish" (like steak), though it may include tofu
|
|
#define DISH_NOODLES "Noodles"
|
|
#define DISH_PASTRY "Pastry"
|
|
#define DISH_PIE "Pie"
|
|
#define DISH_PIZZA "Pizza"
|
|
#define DISH_RICE "Rice" // practically anything with rice in it
|
|
#define DISH_SALAD "Salad" // often includes salad adjacent (ie: coleslaw, stir fry)
|
|
#define DISH_SANDWICH "Sandwich" // divorced from burger for better filtering. also, yes, includes hotdogs.
|
|
#define DISH_SOUP "Soup"
|
|
#define DISH_SUSHI "Sushi"
|
|
#define DISH_TACO "Taco"
|
|
#define DISH_UNCATEGORIZED "Uncategorized"
|
|
// meal categories
|
|
#define MEAL_APPETIZER "Appetizer"
|
|
#define MEAL_BREAKFAST "Breakfast"
|
|
#define MEAL_COMPONENT "Component" // stuff you're not intended to eat
|
|
#define MEAL_DESSERT "Dessert"
|
|
#define MEAL_MAIN_COURSE "Main Course"
|
|
#define MEAL_SNACK "Snack"
|
|
#define MEAL_UNCATEGORIZED "Uncategorized"
|
|
|
|
#define CAT_DRINK "Drinks"
|
|
|
|
//crafting defines
|
|
//When adding new defines, please make sure to also add them to the encompassing list
|
|
#define CAT_WEAPON_RANGED "Weapons Ranged"
|
|
#define CAT_WEAPON_MELEE "Weapons Melee"
|
|
#define CAT_WEAPON_AMMO "Weapon Ammo"
|
|
#define CAT_ROBOT "Robotics"
|
|
#define CAT_MISC "Misc"
|
|
#define CAT_CLOTHING "Clothing"
|
|
#define CAT_CHEMISTRY "Chemistry"
|
|
#define CAT_ATMOSPHERIC "Atmospherics"
|
|
#define CAT_STRUCTURE "Structures"
|
|
#define CAT_TILES "Tiles"
|
|
#define CAT_WINDOWS "Windows"
|
|
#define CAT_DOORS "Doors"
|
|
#define CAT_FURNITURE "Furniture"
|
|
#define CAT_EQUIPMENT "Equipment"
|
|
#define CAT_CONTAINERS "Containers"
|
|
#define CAT_ENTERTAINMENT "Entertainment"
|
|
#define CAT_TOOLS "Tools"
|
|
#define CAT_CULT "Blood Cult"
|