Skip to content

Commit

Permalink
v6.3 (fixes #13)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePython10110 committed Jan 10, 2024
1 parent c5013d9 commit d875163
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ Dependencies: Minetest Game or MineClone.
## Changelog
<details><summary>Look at this fancy expanding changelog</summary>

### v6.3
* Added Technic items to MCL base energy values (reported by @programmerjake)
* Fixed a bug where iron nuggets were worth the same amount as a random piece of chain armor (reported by @programmerjake)

### v6.2
* Added a setting to disable the Alchemical Tome crafting recipe (suggested by @programmerjake)

Expand Down
23 changes: 11 additions & 12 deletions zzzz_exchangeclone_init/base_energy_values.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ if exchangeclone.mcl then
["mcl_core:grass"] = 1,
["mcl_core:gravel"] = 4,
["mcl_core:ice"] = 1,
["mcl_core:iron_ingot"] = 256,
["mcl_core:mycelium"] = 2,
["mcl_core:obsidian"] = 64,
["mcl_core:redsand"] = 1,
Expand Down Expand Up @@ -200,8 +201,6 @@ if exchangeclone.mcl then
["meat_blocks:meatball"] = 64,

["mesecons:redstone"] = 64,

["useful_green_potatoes:useful_green_potato"] = 256,
}) do
exchangeclone.base_energy_values[itemstring] = exchangeclone.base_energy_values[itemstring] or energy_value
end
Expand Down Expand Up @@ -276,16 +275,6 @@ else

["moreores:mithril_ingot"] = 16384,
["moreores:silver_ingot"] = 4000,

["technic:chromium_ingot"] = 4096,
["technic:granite"] = 1,
["technic:lead_ingot"] = 256,
["technic:marble"] = 1,
["technic:sulfur_lump"] = 128,
["technic:uranium_ingot"] = 8192,
["technic:zinc_ingot"] = 512,

["useful_green_potatoes:useful_green_potato"] = 256
}) do
exchangeclone.base_energy_values[itemstring] = exchangeclone.base_energy_values[itemstring] or energy_value
end
Expand All @@ -296,6 +285,16 @@ end

for itemstring, energy_value in pairs ({
["exchangeclone:alchemical_tome"] = 0,

["technic:chromium_ingot"] = 4096,
["technic:granite"] = 1,
["technic:lead_ingot"] = 256,
["technic:marble"] = 1,
["technic:sulfur_lump"] = 128,
["technic:uranium_ingot"] = 8192,
["technic:zinc_ingot"] = 512,

["useful_green_potatoes:useful_green_potato"] = 256
}) do
exchangeclone.base_energy_values[itemstring] = energy_value
end
Expand Down

0 comments on commit d875163

Please sign in to comment.