Skip to content

Commit

Permalink
[XE] Mad Inventor sandwich recipe (#77113)
Browse files Browse the repository at this point in the history
* 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 74e0c32.

* split_damage

* dagwood EOC

* fix typo I saw

* tweak the placeholder values
  • Loading branch information
Daved27hundred authored Nov 10, 2024
1 parent c4a19f1 commit 6efe7a3
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/mods/Xedra_Evolved/eocs/inventor.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"wolf_mask",
"magnetic_holster",
"binary_sword",
"cosmic_dagwood",
"bio_launcher",
"bio_warhead",
"trinket_damage",
Expand Down
5 changes: 5 additions & 0 deletions data/mods/Xedra_Evolved/eocs/item_eocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" } } ]
}
]
31 changes: 31 additions & 0 deletions data/mods/Xedra_Evolved/items/inventor/consumables.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions data/mods/Xedra_Evolved/recipes/category.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
47 changes: 47 additions & 0 deletions data/mods/Xedra_Evolved/recipes/inventor/consumables.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
21 changes: 21 additions & 0 deletions data/mods/Xedra_Evolved/spells/item_spells.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6efe7a3

Please sign in to comment.