Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magiclysm: Cooking with Poison #36627

Merged
merged 14 commits into from
Jan 4, 2020
5 changes: 3 additions & 2 deletions data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{
"type": "item_group",
"id": "displays",
"items": [ [ "mana_potion_lesser", 50 ], [ "magi_staff_minor", 5 ], [ "wizard_hat", 5 ] ]
"items": [ [ "mana_potion_lesser", 50 ], [ "magi_staff_minor", 5 ], [ "wizard_hat", 5 ], [ "cauldron_demon_chitin", 3 ] ]
},
{
"id": "coffee_display_2",
Expand Down Expand Up @@ -256,7 +256,8 @@
{ "item": "mtorch_everburning", "prob": 10 },
{ "item": "mflask_hip_whiskey", "prob": 10 },
{ "item": "mtailors_kit", "prob": 10 },
{ "item": "mspider_box", "prob": 10 }
{ "item": "mspider_box", "prob": 10 },
{ "item": "cauldron_demon_chitin", "prob": 2 }
]
},
{
Expand Down
8 changes: 7 additions & 1 deletion data/mods/Magiclysm/itemgroups/recipe_books.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"id": "magic_recipe_basic",
"type": "item_group",
"//": "Lower tier recipes, many of which can be done with the alchemist rune. Usually has at least one recipe requiring related school rune or rune weapon",
"items": [ [ "alchemy_basic", 30 ], [ "necro_basic", 30 ], [ "techno_basic", 30 ], [ "book_mythological", 10 ] ]
"items": [
[ "alchemy_basic", 30 ],
[ "necro_basic", 30 ],
[ "techno_basic", 30 ],
[ "book_mythological", 10 ],
[ "cooking_poison", 15 ]
]
}
]
19 changes: 19 additions & 0 deletions data/mods/Magiclysm/items/recipe_books.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,24 @@
"skill": "fabrication",
"price": 30000,
"required_level": 8
},
{
"id": "cooking_poison",
"type": "BOOK",
"name": { "str": "Cooking with Poison", "str_pl": "copies of Cooking with Poison" },
"description": "A leatherbound book with an embossed cauldron on the cover. Inside it describes ways to purify food magically.",
"weight": "1 kg",
"volume": "750 ml",
"price": 7900,
"bashing": 5,
"material": [ "paper" ],
"symbol": "?",
"color": "white",
"skill": "cooking",
"required_level": 4,
"max_level": 6,
"intelligence": 9,
"time": "20 m",
"fun": 1
}
]
24 changes: 24 additions & 0 deletions data/mods/Magiclysm/items/tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[
{
"id": "cauldron_demon_chitin",
"type": "TOOL",
"category": "container",
"name": "cauldron of poison",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"description": "This cauldron made of demon spider chitin seems to absorb the light. It will hold 16 liters of material and will absorb poisons from it. It may have other properties that require discovery.",
"weight": "1424 g",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry i didn't catch this earlier, but for a 20 L object, 3 pounds is very very light.

Copy link
Member Author

@Maleclypse Maleclypse Jan 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, but I used straight math for demon chitin and bowl volume. If the cauldron contains 16 L of volume that means 4 L of material. Each chunk of demon chitin is 250 ml so 16 chunks to make the cauldron. 4 L of Demon chitin chunks at 89 grams per 250 ml comes out to 1424 exactly. I'm good to update it to whatever you think is best but I feel it's important to show my math and why I will need you to let me know what it should actually be? I can add the bone glue in weight but that only adds 450 g in weight.

Edit: I could be totally wrong on how I calculated the volume of material needed though,

"volume": "20 L",
"price": 2000,
"to_hit": -1,
"looks_like": "clay_hydria",
"bashing": 1,
"material": "demon_chitin",
"symbol": ")",
"color": "light_gray",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"contains": "16 L",
"seals": true,
"//": "I went ahead and gave this a level of 2 for when magical mutagens become a thing as I figured dragonblood for instance should need different tools than making alpha mutagen.",
"watertight": true,
"qualities": [ [ "COOK", 3 ], [ "BOIL", 2 ], [ "CONTAIN", 1 ], [ "MAGIC_MUTAGEN", 2 ] ],
"use_action": "HEAT_FOOD"
}
]
55 changes: 55 additions & 0 deletions data/mods/Magiclysm/recipes/cooking.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[
{
"type": "recipe",
"result": "meat",
"category": "CC_FOOD",
"subcategory": "CSC_FOOD_MEAT",
"skill_used": "spellcraft",
Maleclypse marked this conversation as resolved.
Show resolved Hide resolved
"skills_required": [ "cooking", 1 ],
"difficulty": 3,
"book_learn": [ [ "cooking_poison", 2 ] ],
"time": "15 m",
"batch_time_factors": [ 67, 5 ],
"qualities": [ { "id": "COOK", "level": 1 }, { "id": "MAGIC_MUTAGEN", "level": 1 } ],
"tools": [ [ [ "surface_heat", 7, "LIST" ] ] ],
"components": [ [ [ "mutant_meat", 3 ] ] ]
},
{
"type": "recipe",
"result": "mutant_meat",
"category": "CC_FOOD",
"subcategory": "CSC_FOOD_MEAT",
"skill_used": "spellcraft",
"skills_required": [ "cooking", 3 ],
"difficulty": 5,
"book_learn": [ [ "cooking_poison", 2 ] ],
"time": "15 m",
"autolearn": true,
"batch_time_factors": [ 67, 5 ],
"qualities": [ { "id": "COOK", "level": 1 }, { "id": "MAGIC_MUTAGEN", "level": 1 } ],
"tools": [ [ [ "surface_heat", 7, "LIST" ] ] ],
"components": [ [ [ "meat_tainted", 4 ] ] ]
},
{
"type": "recipe",
"result": "flu_shot",
"category": "CC_CHEM",
"subcategory": "CSC_CHEM_DRUGS",
"skill_used": "spellcraft",
"skills_required": [ "cooking", 5 ],
"difficulty": 6,
"book_learn": [ [ "cooking_poison", 2 ] ],
"time": "120 m",
"autolearn": true,
"qualities": [ { "id": "COOK", "level": 1 }, { "id": "MAGIC_MUTAGEN", "level": 1 } ],
"tools": [ [ [ "surface_heat", 7, "LIST" ] ] ],
"components": [
[ [ "mutant_fat", 2 ] ],
[ [ "syringe", 1 ] ],
[ [ "owlbear_stone", 1 ] ],
[ [ "glow_dust", 2 ] ],
[ [ "aspirin", 20 ] ],
[ [ "meth", 3 ] ]
]
}
]
13 changes: 13 additions & 0 deletions data/mods/Magiclysm/recipes/magic_tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,18 @@
"autolearn": true,
"qualities": [ { "id": "CHISEL", "level": 1 }, { "id": "MANA_INFUSE", "level": 1 } ],
"components": [ [ [ "pebble", 1 ] ] ]
},
{
"type": "recipe",
"result": "cauldron_demon_chitin",
"category": "CC_ENCHANTED",
"subcategory": "CSC_ENCHANTED_TOOLS",
"skill_used": "fabrication",
"skills_required": [ "spellcraft", 3 ],
"difficulty": 4,
"time": "180 m",
"book_learn": [ "cooking_poison", 3 ],
"qualities": [ { "id": "CHISEL", "level": 1 }, { "id": "MANA_INFUSE", "level": 1 } ],
"components": [ [ [ "demon_chitin", 16 ] ], [ [ "bone_glue", 10 ] ] ]
}
]
7 changes: 7 additions & 0 deletions data/mods/Magiclysm/tool_qualities.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[
{
"type": "tool_quality",
"id": "MAGIC_MUTAGEN",
"name": "magic mutagen mixer"
}
]