From 6691475000e9c41cab6cf1cf0c0a63fea026026b Mon Sep 17 00:00:00 2001 From: PHCodes <47927305+PHCodes@users.noreply.github.com> Date: Fri, 22 Sep 2023 20:57:42 -0400 Subject: [PATCH] Cheesy. Spiky. Adds the Grille-d Cheese and the Sharp Metal Bits reagent. Sharp Metal Bits does 4 piercing per second after ingestion and causes a pop-up notifying the consumer of their poor life choices. The Grille-d Cheese requires 1 stick of butter, 2 slices of bread, 1 wedge of cheese, and 3 Metal Rods to cook. Credit to rosysyntax for the sprite. --- .../Locale/en-US/deltav/reagents/toxins.ftl | 1 + .../Objects/Consumable/Food/meals.yml | 25 ++++++++++++++++++ .../Prototypes/DeltaV/Reagents/toxins.yml | 20 ++++++++++++++ .../DeltaV/Recipes/Cooking/meal_recipes.yml | 11 ++++++++ .../Baked/grilledmetal.rsi/grilled-metal.png | Bin 0 -> 821 bytes .../Food/Baked/grilledmetal.rsi/meta.json | 14 ++++++++++ 6 files changed, 71 insertions(+) create mode 100644 Resources/Locale/en-US/deltav/reagents/toxins.ftl create mode 100644 Resources/Prototypes/DeltaV/Reagents/toxins.yml create mode 100644 Resources/Textures/DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi/grilled-metal.png create mode 100644 Resources/Textures/DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi/meta.json diff --git a/Resources/Locale/en-US/deltav/reagents/toxins.ftl b/Resources/Locale/en-US/deltav/reagents/toxins.ftl new file mode 100644 index 0000000000..22483aabcc --- /dev/null +++ b/Resources/Locale/en-US/deltav/reagents/toxins.ftl @@ -0,0 +1 @@ +oh-god-you-ate-metal = Your insides hurt. You are likely bleeding internally. diff --git a/Resources/Prototypes/DeltaV/Entities/Objects/Consumable/Food/meals.yml b/Resources/Prototypes/DeltaV/Entities/Objects/Consumable/Food/meals.yml index 0b071a250f..cce8c186e0 100644 --- a/Resources/Prototypes/DeltaV/Entities/Objects/Consumable/Food/meals.yml +++ b/Resources/Prototypes/DeltaV/Entities/Objects/Consumable/Food/meals.yml @@ -20,3 +20,28 @@ Quantity: 6 - ReagentId: Vitamin Quantity: 2 + +- type: entity + name: grille-d cheese + parent: FoodMealBase + id: FoodMealMetalGrilledCheese + description: Two slices of bread cooked in butter with a lofty wedge of SOLID IRON in the middle. Dripping with leftover cheese. + components: + - type: FlavorProfile + flavors: + - butter + - metallic + - type: Sprite + sprite: DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi + state: "grilled-metal" + - type: SolutionContainerManager + solutions: + food: + maxVol: 15 + reagents: + - ReagentId: Nutriment + Quantity: 6 + - ReagentId: Vitamin + Quantity: 2 + - ReagentId: SharpMetalBits + Quantity: 2 diff --git a/Resources/Prototypes/DeltaV/Reagents/toxins.yml b/Resources/Prototypes/DeltaV/Reagents/toxins.yml new file mode 100644 index 0000000000..43624ab9b1 --- /dev/null +++ b/Resources/Prototypes/DeltaV/Reagents/toxins.yml @@ -0,0 +1,20 @@ +- type: reagent + id: SharpMetalBits + name: reagent-name-metal-bits + group: Toxins + desc: reagent-desc-metal-bits + physicalDesc: reagent-physical-desc-metallic + color: "#85929E" + metabolisms: + Poison: + effects: + - !type:PopupMessage + type: Local + visualType: MediumCaution + messages: + - "oh-god-you-ate-metal" + - !type:HealthChange + damage: + types: + Piercing: 4 + \ No newline at end of file diff --git a/Resources/Prototypes/DeltaV/Recipes/Cooking/meal_recipes.yml b/Resources/Prototypes/DeltaV/Recipes/Cooking/meal_recipes.yml index a64617c047..c8110ecd8a 100644 --- a/Resources/Prototypes/DeltaV/Recipes/Cooking/meal_recipes.yml +++ b/Resources/Prototypes/DeltaV/Recipes/Cooking/meal_recipes.yml @@ -7,3 +7,14 @@ FoodBreadPlainSlice: 2 FoodCheeseSlice: 1 FoodButter: 1 + +- type: microwaveMealRecipe + id: RecipeGrilledMetal + name: grille-d cheese + result: FoodMealMetalGrilledCheese + time: 10 + solids: + FoodBreadPlainSlice: 2 + FoodCheeseSlice: 1 + FoodButter: 1 + PartRodMetal1: 3 diff --git a/Resources/Textures/DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi/grilled-metal.png b/Resources/Textures/DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi/grilled-metal.png new file mode 100644 index 0000000000000000000000000000000000000000..09cbb61c0487824a6e21c817bb4a1c8f96dc3a9d GIT binary patch literal 821 zcmV-51Iqk~P)Px%)k#D_R9J=Wl}|_%VHn1LBY|wYh)^<~)^;{9mNxVvEeHl-3K>)gtEYLS_ z007(3RO{($R1*hiC|5`(lbR4hjf{+_$-$^PbNM(yBfycC1{$qdx?{R89y9_N2^}}* z0U#s2oGMI{?my_qZv={fs**yu`ytCjg5rP-f$Fvpb?-ursFzApYJ+F z8m(DBk=%l0SvqCKs~WH!jhQ=l2o7BEg^PBU+=AS~E7dyM_Hq4Wl-z=3#byM#lEzOD#CBY>_qZ82H2v$#1ABcU^6S^zBNH&~1H!`r774OC2E zDZjyymIhY6U)YYu+~Nvu&O^$Ae=j8vGy=?+7Ph1DuH^)>;L&K!(sL1f->v(G;WhZMG>u`C_*rU0_w(Q_%iUV17k|zh}vg6A(hE=H_NfO-6en>d??l<|op$>min< z<8#~f5UbuVU%XcAh+K+ssIyh+O`Ah$DZc@1CNTBk`|ce|e{Q6q&Q?{rc1^U7I_mf@ z@Ec%NM9`L5!nOba01jnXNoGw=04e|g00;m8000000Mb*F00000NkvXXu0mjf_Iz&~ literal 0 HcmV?d00001 diff --git a/Resources/Textures/DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi/meta.json b/Resources/Textures/DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi/meta.json new file mode 100644 index 0000000000..98236b4123 --- /dev/null +++ b/Resources/Textures/DeltaV/Objects/Consumable/Food/Baked/grilledmetal.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-SA-4.0", + "copyright": "rosysyntax", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "grilled-metal" + } + ] +}