Skip to content

Commit

Permalink
Add sima, juhannussima, LC, monster powder
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHorscht committed Aug 3, 2021
1 parent 59cb692 commit 866c81f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 7 deletions.
6 changes: 4 additions & 2 deletions Modworkshop Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ The potion effects are:
Slow down the wand slightly but in turn increase capacity and max mana and reduce spread.
- **__Unstable gunpowder__**:
Add spells related to explosions, bombs and gunpowder and increase capacity slightly.
- **__Monstrous Powder__**:
Adds Taikasauva spells and increases max mana by 450 - 550.
- **__Fire__**:
Add spells related to fire and slightly reduce recharge time and cast delay.
- **__Berserkium__**:
Expand All @@ -48,7 +50,7 @@ The potion effects are:
Add chaotic path and/or heavy spread spells and randomize all attributes.
- **__Ambrosia__**:
Add shield related spells, increase spells per cast and max mana.
- **__Healthium__**:
- **__Healthium / Lively Concoction__**:
Add heal spells, increase mana charge speed and spawn 4 healers.
- **__Polymorphine__**:
Add creature/polymorph related spells, increase spells per cast.
Expand All @@ -63,7 +65,7 @@ The potion effects are:
Increase max mana and mana charge speed slightly.
- **__Worm Pheromone__**:
Add egg spells and while the wand is being held, sometimes spawns worms and the holder gets the worm pheromone effect.
- **__Whiskey__**:
- **__Whiskey / Sima / Juhannussima__**:
Add all kinds of multishot modifiers, alcohol related spells.
Increase spread and max mana by a lot and increase mana charge speed a little bit.
- **__Worm Blood__**:
Expand Down
5 changes: 5 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.15.4:
- Added recipes for Sima and Juhannussima, which uses the same bonus as Whiskey
- Added recipe for Lively Concoction, which uses the same bonus as Healthium
- Added recipe for Monstrous Powder: Adds some Taikasauva spells and increases max mana by 450 - 550.

v1.15.3:
- New mod setting: Enable wand editing near anvils
- New mod setting: Shine through fog of war
Expand Down
13 changes: 12 additions & 1 deletion files/entities/anvil/potion_bonuses.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local function merge_spells(material_name, spells)
return spells
end

return {
local bonuses = {
blood = function(wand)
local spells = merge_spells("blood", {
"MIST_BLOOD", "MATERIAL_BLOOD", "TOUCH_BLOOD", "CRITICAL_HIT", "BLOOD_TO_ACID",
Expand Down Expand Up @@ -120,6 +120,11 @@ return {
wand.capacity = math.min(26, wand.capacity + Random(2,3))
add_spells_to_wand(wand, spells, math.min(Random(3,5), math.floor(wand.capacity / 2)))
end,
monster_powder_test = function(wand)
local spells = merge_spells("monster_powder_test", { "SUMMON_WANDGHOST" })
wand.manaMax = wand.manaMax + Random(450, 550)
add_spells_to_wand(wand, spells, math.min(Random(3,5), math.floor(wand.capacity / 2)), true)
end,
liquid_fire = function(wand)
local spells = merge_spells("liquid_fire", {
"FIREBALL", "METEOR", "FLAMETHROWER",
Expand Down Expand Up @@ -541,3 +546,9 @@ return {
add_spells_to_wand(wand, spells, Random(4, 6), true)
end,
}
-- This doesn't take into account that merge_spells("alcohol", { "HEAL_BULLET" }) will still mention alcohol
-- fix some time later maybe... too lazy right now, would require a big rewrite
bonuses.sima = bonuses.alcohol
bonuses.juhannussima = bonuses.alcohol
bonuses.magic_liquid_hp_regeneration_unstable = bonuses.magic_liquid_hp_regeneration
return bonuses
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "anvil_of_destiny",
"version": "1.15.3",
"version": "1.15.4",
"description": "A mod for Noita (https://noitagame.com/) which adds an anvil into the default biomes, which lets you forge two wands into a new one!",
"main": "",
"scripts": {
Expand Down
8 changes: 5 additions & 3 deletions steam description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ Add oil related spells, reduce recharge time and cast delay.
[b]► Slime ◄[/b]
Add spells related to slime, timer triggers, recoil damper and lifetime up.
Slow down the wand slightly but in turn increase capacity and max mana and reduce spread.
[b]► Unstable gunpowder ◄[/b]
[b]► Unstable Gunpowder ◄[/b]
Add spells related to explosions, bombs and gunpowder and increase capacity slightly.
[b]► Monstrous Powder ◄[/b]
Adds Taikasauva spells and increases max mana by 450 - 550.
[b]► Fire ◄[/b]
Add spells related to fire and slightly reduce recharge time and cast delay.
[b]► Berserkium ◄[/b]
Expand All @@ -47,7 +49,7 @@ Combines the effects of Acceleratium and Levitatium, as if both were applied.
Add chaotic path and/or heavy spread spells and randomize all attributes.
[b]► Ambrosia ◄[/b]
Add shield related spells, increase spells per cast and max mana.
[b]► Healthium ◄[/b]
[b]► Healthium / Lively Concoction ◄[/b]
Add heal spells, increase mana charge speed and spawn 4 healers.
[b]► Polymorphine ◄[/b]
Add creature/polymorph related spells, increase spells per cast.
Expand All @@ -62,7 +64,7 @@ Add egg/charm spells.
Increase max mana and mana charge speed slightly.
[b]► Worm Pheromone ◄[/b]
Add egg spells and while the wand is being held, sometimes spawns worms and the holder gets the worm pheromone effect.
[b]► Whiskey ◄[/b]
[b]► Whiskey / Sima / Juhannussima ◄[/b]
Add all kinds of multishot modifiers, alcohol related spells.
Increase spread and max mana by a lot and increase mana charge speed a little bit.
[b]► Worm Blood ◄[/b]
Expand Down

0 comments on commit 866c81f

Please sign in to comment.