From 6efe7a3cc98ba1ec327ed2405bb04d9004430870 Mon Sep 17 00:00:00 2001 From: ZigVert <56202842+Daved27hundred@users.noreply.github.com> Date: Sun, 10 Nov 2024 15:54:42 -0500 Subject: [PATCH] [XE] Mad Inventor sandwich recipe (#77113) * create sandwich and recipe and category * update fun and placeholder description * sandwich spoils * no pre-cata wine * wrote weight twice * fix improper material * remove inedible materials * fix typo in recipe and extend shelf life * add missing flag * adding the healing effect * first attempt at the spell * add missing value to tools * attempt to fix bug * Revert "attempt to fix bug" This reverts commit 74e0c32d4402146dc96e72615d1a9464613fc051. * split_damage * dagwood EOC * fix typo I saw * tweak the placeholder values --- data/mods/Xedra_Evolved/eocs/inventor.json | 1 + data/mods/Xedra_Evolved/eocs/item_eocs.json | 5 ++ .../items/inventor/consumables.json | 31 ++++++++++++ data/mods/Xedra_Evolved/recipes/category.json | 1 + .../recipes/inventor/consumables.json | 47 +++++++++++++++++++ .../Xedra_Evolved/spells/item_spells.json | 21 +++++++++ 6 files changed, 106 insertions(+) diff --git a/data/mods/Xedra_Evolved/eocs/inventor.json b/data/mods/Xedra_Evolved/eocs/inventor.json index 93b2c204ec29e..3a93f8334c965 100644 --- a/data/mods/Xedra_Evolved/eocs/inventor.json +++ b/data/mods/Xedra_Evolved/eocs/inventor.json @@ -66,6 +66,7 @@ "wolf_mask", "magnetic_holster", "binary_sword", + "cosmic_dagwood", "bio_launcher", "bio_warhead", "trinket_damage", diff --git a/data/mods/Xedra_Evolved/eocs/item_eocs.json b/data/mods/Xedra_Evolved/eocs/item_eocs.json index 9efca0a46d51e..96ee250b0681a 100644 --- a/data/mods/Xedra_Evolved/eocs/item_eocs.json +++ b/data/mods/Xedra_Evolved/eocs/item_eocs.json @@ -54,5 +54,10 @@ "required_event": "character_casts_spell", "condition": { "or": [ { "compare_string": [ "rip_ticket", { "context_val": "spell" } ] } ] }, "effect": [ { "u_consume_item": "rip_ticket" } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_DAGWOOD", + "effect": [ { "u_cast_spell": { "id": "cosmic_dagwood_regeneration" } } ] } ] diff --git a/data/mods/Xedra_Evolved/items/inventor/consumables.json b/data/mods/Xedra_Evolved/items/inventor/consumables.json index 0d7b64f30a49f..2ca3a93f9e1f4 100644 --- a/data/mods/Xedra_Evolved/items/inventor/consumables.json +++ b/data/mods/Xedra_Evolved/items/inventor/consumables.json @@ -12,6 +12,37 @@ "flags": [ "NONCONDUCTIVE", "TRADER_AVOID", "INVENTOR_CRAFTED" ], "use_action": { "type": "cast_spell", "spell_id": "rip_ticket", "no_fail": true, "level": 0, "need_wielding": true } }, + { + "id": "cosmic_dagwood", + "name": { "str": "cosmic dagwood" }, + "description": "The greatest sandwich that will ever be made, in this universe and the next. A quadruple stacker with beer-batter fried poultry, caramel chocolate chili, and topped with a specially made sauce of egg, blue cheese, honey mustard, BBQ and extremely concentrated vinegar that oozes down the other layers, before the entire thing is pressed and grilled in a waffle iron and finished with a garnish of gold and silver flakes and a fresh fruit skewered on top. All the gourmet chefs in existence could not even conceive such a combination which, by all means, should not taste this good - But you did it. And you don't plan on sharing.", + "type": "COMESTIBLE", + "comestible_type": "FOOD", + "spoils_in": "24 hours", + "symbol": "%", + "price": "29 USD", + "//": "ever order one of those overpriced sandwiches at a restaurant?", + "fun": 60, + "quench": 24, + "calories": 900, + "material": [ "wheat", "flesh", "tomato", "veggy", "egg", "milk", "junk", "fruit" ], + "flags": [ "INVENTOR_CRAFTED" ], + "color": "yellow", + "weight": "950 g", + "volume": "220 ml", + "vitamins": [ + [ "vitC", 30 ], + [ "calcium", 20 ], + [ "iron", 38 ], + [ "meat_allergen", 1 ], + [ "veggy_allergen", 1 ], + [ "wheat_allergen", 1 ], + [ "milk_allergen", 1 ], + [ "fruit_allergen", 1 ], + [ "junk_allergen", 1 ] + ], + "consumption_effect_on_conditions": [ "EOC_DAGWOOD" ] + }, { "id": "inventor_warp_grenade", "type": "TOOL", diff --git a/data/mods/Xedra_Evolved/recipes/category.json b/data/mods/Xedra_Evolved/recipes/category.json index 4983e2c72a025..e130f624890dc 100644 --- a/data/mods/Xedra_Evolved/recipes/category.json +++ b/data/mods/Xedra_Evolved/recipes/category.json @@ -8,6 +8,7 @@ "CSC_XEDRA_WEAPONS", "CSC_XEDRA_ARMOR", "CSC_XEDRA_TOOLS", + "CSC_XEDRA_CONSUMABLES", "CSC_XEDRA_ROBOTS", "CSC_XEDRA_MISC", "CSC_XEDRA_ALCHEMY", diff --git a/data/mods/Xedra_Evolved/recipes/inventor/consumables.json b/data/mods/Xedra_Evolved/recipes/inventor/consumables.json index 38aecafe24fa7..9a612798fe20c 100644 --- a/data/mods/Xedra_Evolved/recipes/inventor/consumables.json +++ b/data/mods/Xedra_Evolved/recipes/inventor/consumables.json @@ -33,6 +33,53 @@ "category": "CC_XEDRA", "subcategory": "CSC_XEDRA_WEAPONS" }, + { + "type": "recipe", + "activity_level": "LIGHT_EXERCISE", + "result": "cosmic_dagwood", + "qualities": [ + { "id": "CUT", "level": 2 }, + { "id": "COOK", "level": 2 }, + { "id": "FINE_DISTILL", "level": 1 }, + { "id": "CONCENTRATE", "level": 1 }, + { "id": "CONTAIN", "level": 1 } + ], + "proficiencies": [ + { "proficiency": "prof_food_prep" }, + { "proficiency": "prof_knife_skills" }, + { "proficiency": "prof_frying" }, + { "proficiency": "prof_frying_bread" } + ], + "tools": [ [ [ "surface_heat", 23, "LIST" ] ], [ [ "waffleiron", -1 ] ] ], + "components": [ + [ [ "brown_bread", 4 ] ], + [ [ "poultry", 2 ] ], + [ [ "batter", 1, "LIST" ] ], + [ [ "hb_beer", 1 ], [ "beer", 1 ] ], + [ [ "sauce_red", 2 ], [ "can_tomato", 1 ], [ "tomato", 1 ] ], + [ [ "chilly-p", 2 ], [ "chili_pepper", 1 ], [ "rehydrated_chili", 1 ] ], + [ [ "chocolate", 1 ] ], + [ [ "garlic_clove", 1 ], [ "rehydrated_garlic", 1 ], [ "garlic_powder", 6 ] ], + [ [ "sugar_fried", 2 ] ], + [ [ "cinnamon", 2 ] ], + [ [ "chem_acetic_acid", 1 ] ], + [ [ "eggs_bird", 2, "LIST" ], [ "eggs_reptile", 2, "LIST" ] ], + [ [ "honey_mustard", 4 ] ], + [ [ "barbecue_sauce", 6 ] ], + [ [ "cheese_hard", 3 ] ], + [ [ "gold_small", 3 ] ], + [ [ "silver_small", 3 ] ], + [ [ "splinter", 1 ] ], + [ [ "strawberries", 1 ], [ "cherries", 1 ] ] + ], + "time": "7 h", + "skill_used": "deduction", + "difficulty": 6, + "skills_required": [ "cooking", 5 ], + "flags": [ "SECRET" ], + "category": "CC_XEDRA", + "subcategory": "CSC_XEDRA_CONSUMABLES" + }, { "result": "inventor_warp_grenade", "type": "recipe", diff --git a/data/mods/Xedra_Evolved/spells/item_spells.json b/data/mods/Xedra_Evolved/spells/item_spells.json index 7d1ae31fb71c4..2f6de4b5e5718 100644 --- a/data/mods/Xedra_Evolved/spells/item_spells.json +++ b/data/mods/Xedra_Evolved/spells/item_spells.json @@ -144,6 +144,27 @@ "min_duration": 432000, "max_duration": 432000 }, + { + "id": "cosmic_dagwood_regeneration", + "type": "SPELL", + "name": "rejuvenation", + "//": "Used for the cosmic dagwood inventor item, not castable", + "description": "This spell regenerates health (limb health) for a short period", + "valid_targets": [ "self" ], + "base_energy_cost": 0, + "energy_increment": 0, + "final_energy_cost": 0, + "flags": [ "SILENT", "NO_LEGS", "SPLIT_DAMAGE" ], + "difficulty": 0, + "shape": "blast", + "message": "The sandwich is a flavor beyond time and space, and as you lick your fingers clean you feel your youth return to you - Wait, no, Your wounds are just healing.", + "effect": "attack", + "spell_class": "NONE", + "min_dot": -10, + "max_dot": -10, + "min_duration": 1500, + "max_duration": 1500 + }, { "id": "bio_explosion", "type": "SPELL",