Animalia support

This commit is contained in:
ThePython 2024-03-06 07:53:29 -08:00
parent df7d7136bd
commit 52916955cb
3 changed files with 37 additions and 9 deletions

View File

@ -1,3 +1,4 @@
# Changelog
## To-do for v8.0: ## To-do for v8.0:
- [x] Deprecate (De)Constructors - [x] Deprecate (De)Constructors
- [x] Remove fuel crafting recipes for stars and upgrades - [x] Remove fuel crafting recipes for stars and upgrades
@ -24,10 +25,14 @@
- [ ] Ignition - [ ] Ignition
- [ ] Update wiki - [ ] Update wiki
## Changelog ### v8.0: The Expansion Update
<details><summary>Look at this fancy expanding changelog</summary> #### Overview:
* It's called "The Expansion Update" because I didn't know what else to call it and it adds several features from ProjectExpansion.
* Replaces (De)Constructor with EMC Link
* Adds more types of matter/fuel
* Added lots of useful items from ProjectE(xpansion)
### v8.0 #### Full changelog
* New Features: * New Features:
* Added the EMC Link to replace both the Constructor and Deconstructor. * Added the EMC Link to replace both the Constructor and Deconstructor.
* Added the Dark Matter Pedestal. * Added the Dark Matter Pedestal.
@ -42,6 +47,8 @@
* Pedestal abilities use the "Weather" mod (the one by theFox) in Minetest Game * Pedestal abilities use the "Weather" mod (the one by theFox) in Minetest Game
* Added Black Hole Band * Added Black Hole Band
* Added Void Ring * Added Void Ring
* Added support for Animalia
* Added support for Mobs Monster
* Changes: * Changes:
* Moved the changelog back to a separate file (it was getting annoyingly long) * Moved the changelog back to a separate file (it was getting annoyingly long)
* The Constructor and Deconstructor are now deprecated, replaced with the EMC Link. * The Constructor and Deconstructor are now deprecated, replaced with the EMC Link.
@ -49,12 +56,15 @@
* Dark and Red Matter Armor now uses ProjectE's textures * Dark and Red Matter Armor now uses ProjectE's textures
* Removed the ability to right click with stars to see the charge (it's unnecessary). * Removed the ability to right click with stars to see the charge (it's unnecessary).
* Organized textures into folders * Organized textures into folders
* Collectors now match ProjectExpansion's recipes and amounts (except MTG doesn't have glowstone so it's replaced with gold in the recipe) * Collectors now match ProjectExpansion's recipes, EMC generation rates, and textures
* MTG doesn't have glowstone, so it's replaced with gold in the recipe, adding around 3000 EMC to the cost of each collector.
* Bugfixes: * Bugfixes:
* Dark and Red Matter Armor display properly (and identically) in both games, with ProjectE's textures. * Dark and Red Matter Armor display properly (and identically) in both games, with ProjectE's textures.
* `add_star_emc` now correctly works with negative EMC values. * `add_star_emc` now correctly works with negative EMC values.
<details><summary><h2>Older versions</h3></summary>
### v7.3 (not released yet because there's not enough) ### v7.3 (not released yet because there's not enough)
* Renamed Alchemical Tome to Tome of Knowledge, and made it uncraftable by default. * Renamed Alchemical Tome to Tome of Knowledge, and made it uncraftable by default.

View File

@ -13,6 +13,7 @@ ExchangeClone upports all items in the following mods/games (and anything that c
* Ethereal * Ethereal
* Nether * Nether
* Mobs Redo API and Mobs Animals * Mobs Redo API and Mobs Animals
* Animalia
ExchangeClone is tested with the latest release of Minetest, Minetest Game, MineClone2, and Mineclonia. ExchangeClone is tested with the latest release of Minetest, Minetest Game, MineClone2, and Mineclonia.
@ -74,7 +75,4 @@ Dependencies: Minetest Game or MineClone.
* Sound for picking up items with BHB or Void Ring: Copied from Mineclonia * Sound for picking up items with BHB or Void Ring: Copied from Mineclonia
* All other sounds: Directly from EE2/ProjectE (MIT) * All other sounds: Directly from EE2/ProjectE (MIT)
You can find the old textures and sounds by going back to previous commits in GitHub. You can find the old textures and sounds by going back to previous commits in GitHub.
-----

View File

@ -375,11 +375,13 @@ end
if minetest.get_modpath("mobs") then if minetest.get_modpath("mobs") then
for item, emc in pairs({ for item, emc in pairs({
["mobs:beehive"] = 2048, ["mobs:beehive"] = 2048,
["mobs:bucket_milk"] = 800, ["mobs:bucket_milk"] = 784,
["mobs:chicken_feather"] = 48, ["mobs:chicken_feather"] = 48,
["mobs:egg"] = 32, ["mobs:egg"] = 32,
["mobs:hairball"] = 16, ["mobs:hairball"] = 16,
["mobs:honey"] = 48, ["mobs:honey"] = 48,
["mobs:leather"] = 64,
["mobs:lava_orb"] = 16834,
["mobs:rabbit_hide"] = 16, ["mobs:rabbit_hide"] = 16,
["mobs:rat_cooked"] = 64, ["mobs:rat_cooked"] = 64,
}) do }) do
@ -390,6 +392,24 @@ if minetest.get_modpath("mobs") then
}) })
end end
if minetest.get_modpath("animalia") then
for item, emc in pairs({
["animalia:bucket_guano"] = 832,
["animalia:bucket_milk"] = 784,
["animalia:feather"] = 48,
["animalia:leather"] = 64,
["animalia:nametag"] = 192,
["animalia:pelt_bear"] = 192,
["animalia:saddle"] = 192,
}) do
exchangeclone.base_emc_values[item] = emc
end
table.insert_all(exchangeclone.group_values, {
{"food_meat", 64},
{"food_egg", 32},
})
end
table.insert_all(exchangeclone.group_values, { table.insert_all(exchangeclone.group_values, {
{"tree", 32}, {"tree", 32},
{"leaves", 1}, {"leaves", 1},