Skip to content

Commit

Permalink
Magiclysm: Alchemy, Part 1-Potion tools and Stat Potion Brewing (#32132)
Browse files Browse the repository at this point in the history
* First potion commits

* Potion recipes, and harvest for adrenal gland

* Alchemist rune now a craft, Cat's potion fixed

* Alchemist rune craft difficulty adjustment

* Alchemist rune craft diff. adjustment 2

* Typos, harvesting, and rune fix

* Linting

* Potion starter now uses hard_liquor requirement

* No reptile eggs for bird potions

* Hairball size increased

* Missing 0

* Update data/mods/Magiclysm/items/comestibles.json

GitHub desktop won't push chance to hairball volume

* Typo
  • Loading branch information
LaVeyanFiend authored and KorGgenT committed Jul 5, 2019
1 parent 1b27404 commit 43d7a86
Show file tree
Hide file tree
Showing 8 changed files with 411 additions and 31 deletions.
20 changes: 0 additions & 20 deletions data/mods/Magiclysm/Spells/classless.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,26 +125,6 @@
"max_duration": 50000,
"duration_increment": 3000
},
{
"id": "create_rune_alchemist",
"type": "SPELL",
"name": "Alchemist Rune",
"description": "This ritual creates a small pebble attuned to alchemy itself. This rune can substitute for the eight school runes in basic recipes.",
"valid_targets": [ "self" ],
"min_damage": 1,
"max_damage": 1,
"effect": "spawn_item",
"effect_str": "rune_alchemist",
"base_casting_time": 5000,
"base_energy_cost": 500,
"min_duration": 1,
"max_duration": 2,
"duration_increment": 1,
"difficulty": 7,
"max_level": 1,
"energy_source": "MANA",
"flags": [ "PERMANENT", "NO_LEGS", "CONCENTRATE" ]
},
{
"id": "translocate_self",
"type": "SPELL",
Expand Down
96 changes: 96 additions & 0 deletions data/mods/Magiclysm/harvest.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,101 @@
{ "drop": "fat", "type": "flesh", "mass_ratio": 0.07 },
{ "drop": "feather", "type": "skin", "mass_ratio": 0.005 }
]
},
{
"id": "mammal_small_fur",
"//": "override of vanilla harvest, includes hairballs",
"type": "harvest",
"entries": [
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.28 },
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.05 },
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
{ "drop": "raw_fur", "type": "skin", "mass_ratio": 0.02 },
{ "drop": "fat", "type": "flesh", "mass_ratio": 0.07 },
{ "drop": "hairball", "type": "bionic", "max": 3 }
]
},
{
"id": "mammal_large_fur",
"//": "vanilla override, includes adrenal gland",
"type": "harvest",
"entries": [
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.32 },
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
{ "drop": "stomach_large", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
{ "drop": "raw_fur", "type": "skin", "mass_ratio": 0.02 },
{ "drop": "fat", "type": "flesh", "mass_ratio": 0.07 },
{ "drop": "adrenal_gland_large", "type": "bionic", "max": 2 }
]
},
{
"id": "mammal_large_leather",
"//": "vanilla override, includes adrenal gland",
"type": "harvest",
"entries": [
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.32 },
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
{ "drop": "stomach_large", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
{ "drop": "raw_leather", "type": "skin", "mass_ratio": 0.02 },
{ "drop": "fat", "type": "flesh", "mass_ratio": 0.07 },
{ "drop": "adrenal_gland_large", "type": "bionic", "max": 2 }
]
},
{
"id": "mammal_large_wool",
"//": "drops large stomach",
"type": "harvest",
"entries": [
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.32 },
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
{ "drop": "stomach_large", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
{ "drop": "wool_staple", "type": "skin", "mass_ratio": 0.02 },
{ "drop": "fat", "type": "flesh", "mass_ratio": 0.07 },
{ "drop": "adrenal_gland_large", "type": "bionic", "max": 2 }
]
},
{
"id": "animal_large_noskin",
"//": "for those vertebrates that don't have something you can skin off of them",
"type": "harvest",
"entries": [
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.32 },
{ "drop": "meat_scrap", "type": "flesh", "mass_ratio": 0.01 },
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "sweetbread", "type": "flesh", "mass_ratio": 0.002 },
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
{ "drop": "stomach_large", "scale_num": [ 1, 1 ], "max": 1, "type": "offal" },
{ "drop": "bone", "type": "bone", "mass_ratio": 0.15 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
{ "drop": "fat", "type": "flesh", "mass_ratio": 0.07 },
{ "drop": "adrenal_gland_large", "type": "bionic", "max": 2 }
]
}
]
9 changes: 6 additions & 3 deletions data/mods/Magiclysm/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
[ "summon_undead_spellbook", 2 ],
[ "techno_fundamentals", 6 ],
[ "techno_em", 5 ],
[ "techno_idiots", 3 ]
[ "techno_idiots", 3 ],
[ "alchemy_basic", 3 ]
]
},
{
Expand All @@ -68,7 +69,8 @@
[ "summon_undead_spellbook", 1 ],
[ "techno_fundamentals", 2 ],
[ "techno_em", 1 ],
[ "techno_idiots", 3 ]
[ "techno_idiots", 3 ],
[ "alchemy_basic", 10 ]
]
},
{
Expand Down Expand Up @@ -162,7 +164,8 @@
[ "techno_em", 30 ],
[ "techno_idiots", 60 ],
[ "translocate_spellbook", 20 ],
[ "stat_up_spellbook", 45 ]
[ "stat_up_spellbook", 45 ],
[ "alchemy_basic", 30 ]
]
},
{
Expand Down
86 changes: 86 additions & 0 deletions data/mods/Magiclysm/items/alchemy_items.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,91 @@
"to_hit": -2,
"qualities": [ [ "BUTCHER", -50 ] ],
"//": "Potion recipes that require a full owlbear egg could also instead require larger amounts of stone shell. Since 1 egg gives 3 shells, you could perhaps have 1 egg be equivalent to 5 or more shells when making potions."
},
{
"id": "copper_infuser",
"copy-from": "copper_bracelet",
"type": "ARMOR",
"qualities": [ [ "MANA_INFUSE", 1 ] ],
"name": "copper infusion bracelet",
"name_plural": "copper infusion bracelets",
"description": "This bracelet has runes engraved on it. You sense a faint air of mysticism when you look at it. It would be useful for imbuing mana into material."
},
{
"id": "copper_circlet",
"type": "ARMOR",
"category": "armor",
"name": "copper circlet",
"name_plural": "copper circlets",
"description": "A wooden band with copper trimmings to be worn on the head. Touching your temples with it on makes you feel very calm.",
"weight": 700,
"volume": "600ml",
"price": 1500,
"price_postapoc": 100,
"material": [ "copper", "wood" ],
"symbol": "[",
"color": "brown",
"covers": [ "HEAD" ],
"coverage": 5,
"encumbrance": 1,
"warmth": 0,
"material_thickness": 1,
"flags": [ "BELTED" ],
"qualities": [ [ "MANA_FOCUS", 1 ] ]
},
{
"id": "stone_chisel",
"type": "TOOL",
"name": "stone chisel",
"name_plural": "stone chisels",
"looks_like": "chisel",
"description": "This is a short stone chisel. It can be used to engrave on stone, wood, or soft metals.",
"weight": 660,
"volume": 1,
"price": 1600,
"to_hit": 2,
"bashing": 2,
"cutting": 1,
"material": "stone",
"symbol": ";",
"color": "light_gray",
"qualities": [ [ "CHISEL", 1 ] ],
"flags": [ "BELT_CLIP" ]
},
{
"id": "alchemy_basic",
"type": "BOOK",
"name": "A Beginner's Guide to Alchemy",
"description": "A paperback tome for the art of liquid magic, alcohol not included.",
"weight": 1000,
"volume": 3,
"price": 7900,
"bashing": 5,
"material": [ "paper" ],
"symbol": "?",
"color": "white",
"skill": "cooking",
"required_level": 3,
"max_level": 5,
"intelligence": 9,
"time": "20 m",
"fun": 1
},
{
"id": "potion_starter",
"copy-from": "mixed_alcohol_strong",
"type": "COMESTIBLE",
"name": "potion starter",
"description": "Strong alcohol, infused with mana and concentrated into a liquid that can stabilize spells into liquid form. You can still drink it, if you want."
},
{
"id": "adrenal_gland_large",
"copy-from": "meat",
"type": "COMESTIBLE",
"name": "large adrenal gland",
"name_plural": "large adrenal glands",
"description": "An organ located above the kidneys responsible for secretion of adrenaline, cortisol, and aldosterone. This one is huge, whether by nature or mutation.",
"delete": { "flags": [ "SMOKABLE" ] },
"price": 2000
}
]
19 changes: 19 additions & 0 deletions data/mods/Magiclysm/items/comestibles.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,24 @@
"healthy": 3,
"color": "yellow",
"description": "The liquid innards of an owlbear egg. Good eating."
},
{
"id": "hairball",
"type": "COMESTIBLE",
"comestible_type": "MED",
"healthy": -1,
"stack_size": 1,
"material": [ "fur", "water" ],
"primary_material": "fur",
"volume": "350ml",
"weight": 15,
"color": "brown",
"symbol": "0",
"name": "hairball",
"name_plural": "hairballs",
"description": "A big, ugly ball of animal spit and licked-off hairs. Don't swallow it.",
"price": 0,
"flags": [ "TRADER_AVOID", "EDIBLE_FROZEN" ],
"fun": -20
}
]
55 changes: 55 additions & 0 deletions data/mods/Magiclysm/recipes/magic_tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[
{
"type": "recipe",
"result": "copper_circlet",
"byproducts": [ [ "tinder", 40 ] ],
"category": "CC_ENCHANTED",
"subcategory": "CSC_ENCHANTED_TOOLS",
"skill_used": "fabrication",
"skills_required": [ "spellcraft", 2 ],
"difficulty": 3,
"time": "30 m",
"autolearn": true,
"qualities": [ { "id": "HAMMER_FINE", "level": 1 }, { "id": "CUT_FINE", "level": 1 } ],
"tools": [ [ [ "surface_heat", 10, "LIST" ] ] ],
"components": [ [ [ "scrap_copper", 1 ], [ "copper", 100 ] ], [ [ "splinter", 3 ] ] ]
},
{
"type": "recipe",
"result": "stone_chisel",
"category": "CC_OTHER",
"subcategory": "CSC_OTHER_TOOLS",
"skill_used": "fabrication",
"difficulty": 0,
"time": "20 m",
"autolearn": true,
"qualities": [ { "id": "HAMMER", "level": 1 }, { "id": "CUT", "level": 1 } ],
"components": [ [ [ "rock", 1 ], [ "sharp_rock", 1 ] ], [ [ "stick", 1 ], [ "2x4", 1 ] ] ]
},
{
"type": "recipe",
"result": "copper_infuser",
"category": "CC_ENCHANTED",
"subcategory": "CSC_ENCHANTED_TOOLS",
"skill_used": "fabrication",
"skills_required": [ "spellcraft", 2 ],
"difficulty": 3,
"time": "20 m",
"book_learn": [ [ "alchemy_basic", 4 ] ],
"qualities": [ { "id": "CHISEL", "level": 1 } ],
"components": [ [ [ "copper_bracelet", 1 ] ] ]
},
{
"type": "recipe",
"result": "rune_alchemist",
"category": "CC_ENCHANTED",
"subcategory": "CSC_ENCHANTED_TOOLS",
"skill_used": "fabrication",
"skills_required": [ "spellcraft", 4 ],
"difficulty": 2,
"time": "120m",
"autolearn": true,
"qualities": [ { "id": "CHISEL", "level": 1 }, { "id": "MANA_INFUSE", "level": 1 } ],
"components": [ [ [ "pebble", 1 ] ] ]
}
]
Loading

0 comments on commit 43d7a86

Please sign in to comment.