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] Potion fruits! #67840

Merged
merged 51 commits into from
Aug 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
6446ade
Create potion_fruits.json
Standing-Storm Aug 22, 2023
a981fd9
Update effects.json
Standing-Storm Aug 22, 2023
6f9f930
Update consumables.json
Standing-Storm Aug 22, 2023
9324d45
Update consumables.json
Standing-Storm Aug 22, 2023
9d16b6c
Update proficiencies.json
Standing-Storm Aug 22, 2023
de445ef
Update potion_fruits.json
Standing-Storm Aug 22, 2023
55ba178
Create potion_fruits.json
Standing-Storm Aug 22, 2023
d312ddf
Update potion_fruits.json
Standing-Storm Aug 22, 2023
b0240fa
Update item_only.json
Standing-Storm Aug 22, 2023
66945a4
Update item_only.json
Standing-Storm Aug 22, 2023
41b9da9
Update effects.json
Standing-Storm Aug 22, 2023
73a68cf
Update potion_fruits.json
Standing-Storm Aug 22, 2023
3198fa9
Update potion_fruits.json
Standing-Storm Aug 22, 2023
755862d
Update potion_fruits.json
Standing-Storm Aug 22, 2023
738c3b2
Update item_only.json
Standing-Storm Aug 22, 2023
8cf3ed7
Update item_only.json
Standing-Storm Aug 22, 2023
451c7ae
Update potion_fruits.json
Standing-Storm Aug 22, 2023
3b83b54
Update effects.json
Standing-Storm Aug 22, 2023
ecdb11c
Update potion_fruits.json
Standing-Storm Aug 22, 2023
9904061
Update potion_fruits.json
Standing-Storm Aug 22, 2023
3d73db8
Update effects.json
Standing-Storm Aug 22, 2023
267a4d0
Update potion_fruits.json
Standing-Storm Aug 22, 2023
ae3fd3c
Update potion_fruits.json
Standing-Storm Aug 22, 2023
14cec25
Linting
Standing-Storm Aug 23, 2023
ecbe719
Add cranberries
Standing-Storm Aug 23, 2023
3c23749
Update potion_fruits.json
Standing-Storm Aug 23, 2023
92148c6
Update effects.json
Standing-Storm Aug 23, 2023
9d97477
Update effects.json
Standing-Storm Aug 23, 2023
cb3dafa
Update potion_fruits.json
Standing-Storm Aug 23, 2023
935f75d
Update potion_fruits.json
Standing-Storm Aug 23, 2023
0026140
Update potion_fruits.json
Standing-Storm Aug 23, 2023
0f91b0e
Update potion_fruits.json
Standing-Storm Aug 23, 2023
f9be81b
Create effect_potion_fruit.json
Standing-Storm Aug 23, 2023
d59fe0b
Update recipe_books.json
Standing-Storm Aug 23, 2023
eb5edea
Update recipe_books.json
Standing-Storm Aug 23, 2023
7d3a384
Update recipe_books.json
Standing-Storm Aug 23, 2023
9a5e50e
Update itemgroups.json
Standing-Storm Aug 23, 2023
64f8a6d
Update data/mods/Magiclysm/items/potion_fruits.json
Standing-Storm Aug 23, 2023
eb7f49e
Update data/mods/Magiclysm/Spells/consumables.json
Standing-Storm Aug 23, 2023
74bbcef
Update data/mods/Magiclysm/items/recipe_books.json
Standing-Storm Aug 23, 2023
725ff68
Fixes
Standing-Storm Aug 24, 2023
cd4bea4
Add str_pl
Standing-Storm Aug 24, 2023
d97fac9
Merge branch 'CleverRaven:master' into potion-fruits
Standing-Storm Aug 24, 2023
0561d4a
Fix density?
Standing-Storm Aug 24, 2023
72da049
Merge branch 'CleverRaven:master' into potion-fruits
Standing-Storm Aug 24, 2023
5ba5516
Remove unused consumable spells
Standing-Storm Aug 25, 2023
c06e805
add "nutrient override"
Standing-Storm Aug 25, 2023
4e2d6b3
Fix cranberry density
Standing-Storm Aug 25, 2023
1e239f9
Remove cranberries from bad density test as requested
Standing-Storm Aug 25, 2023
541667f
Remove irradiated cranberries as requested
Standing-Storm Aug 25, 2023
673dbe3
Merge branch 'CleverRaven:master' into potion-fruits
Standing-Storm Aug 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/json/items/comestibles/raw_fruit.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"type": "COMESTIBLE",
"id": "cranberries",
"name": { "str": "handful of cranberries", "str_pl": "handfuls of cranberries" },
"weight": "100 g",
"weight": "106 g",
"color": "red",
"spoils_in": 640,
"comestible_type": "FOOD",
Expand All @@ -139,7 +139,7 @@
"price": "17 cent",
"price_postapoc": "33 cent",
"material": [ "fruit" ],
"volume": "83 ml",
"volume": "250 ml",
"fun": -5,
"flags": [ "SMOKABLE", "RAW", "EDIBLE_FROZEN" ],
"smoking_result": "dry_fruit",
Expand Down
12 changes: 12 additions & 0 deletions data/mods/Magiclysm/Spells/consumables.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,17 @@
"shape": "blast",
"min_damage": 20,
"max_damage": 20
},
{
"id": "pfruit_regeneration_spell",
"type": "SPELL",
"name": "Apple Potion Healing Effect",
"description": "Heals the target.",
"valid_targets": [ "self" ],
"min_damage": -1,
"max_damage": -1,
"effect": "attack",
"shape": "blast",
"flags": [ "SILENT" ]
}
]
178 changes: 178 additions & 0 deletions data/mods/Magiclysm/effects/effect_potion_fruit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
[
{
"id": "effect_pfruit_heal",
"type": "effect_type",
"name": [ "Restore Flesh and Bone" ],
"desc": [ "Thanks to that apple, your wounds are slowly healing." ],
"apply_message": "Your flesh and bones start to knit together before your eyes.",
"remove_message": "Your regeneration slows down.",
"rating": "good",
"show_intensity": false,
"enchantments": [
{
"intermittent_activation": { "effects": [ { "frequency": "30 seconds", "spell_effects": [ { "id": "pfruit_regeneration_spell" } ] } ] }
}
]
},
{
"id": "effect_pfruit_cure",
"type": "effect_type",
"name": [ "Ward off Miasma" ],
"desc": [ "No illness is going to get you down now." ],
"apply_message": "You feel revitalized.",
"rating": "good",
"show_intensity": false,
"removes_effects": [ "scurvy", "redcells_anemia", "anemia", "toxin_buildup", "common_cold", "flu" ]
},
{
"id": "effect_pfruit_attack_speed",
"type": "effect_type",
"name": [ "Quick Blows" ],
"desc": [ "Thanks to that pear, you can attack faster." ],
"apply_message": "You arms speed up.",
"remove_message": "Your muscle's twitch as the pear's magic fades.",
"rating": "good",
"show_intensity": false,
"enchantments": [ { "values": [ { "value": "ATTACK_SPEED", "add": -15 } ] } ]
},
{
"id": "effect_pfruit_thorns",
"type": "effect_type",
"name": [ "Blackberry Thorns" ],
"desc": [ "Anyone who attacks you will regret it." ],
"apply_message": "Long thorns grow through your skin, clothes, and armor.",
"remove_message": "The thorns vanish without a trace, leaving your gear unharmed.",
"rating": "good",
"show_intensity": false,
"enchantments": [ "enchant_pfruit_thorns" ]
},
{
"type": "enchantment",
"id": "enchant_pfruit_thorns",
"condition": "ALWAYS",
"has": "HELD",
"hit_me_effect": [ { "id": "pfruit_aura_thorns", "hit_self": false } ]
},
{
"id": "pfruit_aura_thorns",
"type": "SPELL",
"name": "Blackberry fruit aura thorns",
"description": "Stab a monster that attacked you.",
"valid_targets": [ "hostile" ],
"flags": [ "RANDOM_DAMAGE" ],
"shape": "blast",
"effect": "attack",
"damage_type": "stab",
"min_damage": 1,
"max_damage": 4,
"min_range": 1,
"max_range": 1
},
{
"id": "effect_pfruit_keep_warm",
"type": "effect_type",
"name": [ "Summer's Heat" ],
"desc": [ "The magic of those strawberries is keeping you warm." ],
"apply_message": "You feel a pleasant warmth.",
"remove_message": "You shiver as a cool breeze hits your skin.",
"rating": "good",
"show_intensity": false,
"enchantments": [ { "values": [ { "value": "CLIMATE_CONTROL_HEAT", "add": 50 } ] } ]
},
{
"id": "effect_pfruit_purge",
"type": "effect_type",
"name": [ "Ward off Toxins" ],
"desc": [ "Your body will not be corrupted by these vile substances." ],
"apply_message": "You feel cleansed.",
"rating": "good",
"show_intensity": false,
"removes_effects": [
"poison",
"venom_dmg",
"venom_weaken",
"badpoison",
"foodpoison",
"paralyzepoison",
"bloodworms",
"brainworms",
"tapeworm"
]
},
{
"id": "effect_pfruit_dodge",
"type": "effect_type",
"name": [ "Flexible" ],
"desc": [ "Your range of motion is greatly increased." ],
"apply_message": "You arms are as bendy as rubber.",
"remove_message": "Your limbs creak as they lose their flexibility.",
"rating": "good",
"show_intensity": false,
"limb_score_mods": [
{ "limb_score": "reaction", "modifier": 2.0 },
{ "limb_score": "block", "modifier": 1.2 },
{ "limb_score": "crawl", "modifier": 1.5 }
],
"enchantments": [ { "values": [ { "value": "BONUS_DODGE", "add": 1 } ] } ],
"flags": [ "DOWNED_RECOVERY", "EFFECT_LIMB_SCORE_MOD" ]
},
{
"type": "effect_type",
"id": "effect_pfruit_nightvision",
"name": [ "Wintergreen Vision" ],
"desc": [ "You can see in the dark." ],
"apply_message": "The night doesn't seem so dark anymore",
"remove_message": "The darkness of the night rushes in again.",
"rating": "good",
"limb_score_mods": [ { "limb_score": "night_vis", "modifier": 6 } ],
"flags": [ "EFFECT_LIMB_SCORE_MOD" ]
},
{
"id": "effect_pfruit_nobleed",
"type": "effect_type",
"name": [ "Stopped Bleeding" ],
"desc": [ "Your blood is all being held within your body." ],
"apply_message": "Your wounds tingle.",
"remove_message": "You feel a prickle as your wounds ache.",
"rating": "good",
"show_intensity": false,
"removes_effects": [ "bleed" ],
"flags": [ "BLEED_IMMUNE" ]
},
{
"id": "effect_pfruit_vision",
"type": "effect_type",
"name": [ "Good Vision" ],
"desc": [ "The magic of those apricots is helping you see better." ],
"apply_message": "You can pick out even minute details.",
"remove_message": "Distant objects loose their magical clarity.",
"rating": "good",
"show_intensity": false,
"limb_score_mods": [ { "limb_score": "vision", "modifier": 1.25 } ],
"enchantments": [ { "values": [ { "value": "PERCEPTION", "add": 2 } ] } ],
"flags": [ "GLARE_RESIST", "EFFECT_LIMB_SCORE_MOD" ]
},
{
"id": "effect_pfruit_eat_poison",
"type": "effect_type",
"name": [ "Poison-Eater" ],
"desc": [ "You can eat toxic or spoiled food without penalty. You still should not eat zombie meat." ],
"apply_message": "Your sense of taste dulls.",
"remove_message": "Something in your mouth tastes foul.",
"rating": "good",
"show_intensity": false,
"flags": [ "IMMUNE_SPOIL" ],
"vitamins": [ { "vitamin": "mutant_toxin", "rate": [ [ -1, -1 ] ], "absorb_mult": [ 0.5 ], "tick": [ "1 s" ] } ]
},
{
"id": "effect_pfruit_no_drunk",
"type": "effect_type",
"name": [ "Remove intoxicants" ],
"desc": [ "You are being rapidly sobered up." ],
"apply_message": "Your head pounds, but you feel much more alert.",
"remove_message": ".",
"rating": "mixed",
"show_intensity": false,
"removes_effects": [ "drunk", "meth", "high", "weed_high" ]
}
]
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/itemgroups/itemgroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type": "item_group",
"id": "homebooks",
"copy-from": "homebooks",
"extend": { "items": [ { "group": "spellbook_loot_0", "prob": 4 } ] }
"extend": { "items": [ { "group": "spellbook_loot_0", "prob": 4 }, { "item": "history_botanical_enchantment", "prob": 2 } ] }
},
{
"type": "item_group",
Expand Down
1 change: 1 addition & 0 deletions data/mods/Magiclysm/itemgroups/recipe_books.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
[ "techno_basic", 30 ],
[ "enchantment_basic", 30 ],
[ "book_mythological", 10 ],
[ "history_botanical_enchantment", 15 ],
[ "cooking_poison", 15 ],
[ "metal_legends", 5 ]
]
Expand Down
Loading