v5.0
This commit is contained in:
parent
7204d4956f
commit
4708b59092
|
@ -1 +0,0 @@
|
||||||
Subproject commit a03be9a97a528d51522591da58bb775ee58b556c
|
|
69
README.md
69
README.md
|
@ -1,5 +1,23 @@
|
||||||
# ExchangeClone
|
# ExchangeClone
|
||||||
Allows players to turn items into energy (stored in orbs), and energy from orbs into items. Supports all items in Minetest Game and MineClone 2! Includes other things from Equivalent Exchange (the MineCraft mod)
|
Allows players to turn items into energy (stored in orbs), and energy from orbs into items. Supports all items in Minetest Game and MineClone 2!
|
||||||
|
|
||||||
|
## ExchangeClone's Features:
|
||||||
|
* Philosopher's Stone
|
||||||
|
* Transmutation Table
|
||||||
|
* Energy
|
||||||
|
* Alchemical Tome
|
||||||
|
* Exchange Orb
|
||||||
|
* Deconstructor
|
||||||
|
* Constructor
|
||||||
|
* Energy Collectors
|
||||||
|
* Upgraded Fuels
|
||||||
|
* Dark Matter and Red Matter
|
||||||
|
* Dark and Red Matter Tools
|
||||||
|
* Dark and Red Matter Armor
|
||||||
|
* Dark and Red Matter Furnaces
|
||||||
|
* PESA (deprecated)
|
||||||
|
|
||||||
|
See the [wiki](https://github.com/ThePython10110/ExchangeClone/wiki) for more information
|
||||||
|
|
||||||
[GitHub repo](https://github.com/thepython10110/exchangeclone)
|
[GitHub repo](https://github.com/thepython10110/exchangeclone)
|
||||||
|
|
||||||
|
@ -13,24 +31,21 @@ Allows players to turn items into energy (stored in orbs), and energy from orbs
|
||||||
|
|
||||||
Dependencies: Minetest Game or MineClone.
|
Dependencies: Minetest Game or MineClone.
|
||||||
|
|
||||||
See the [wiki](https://github.com/ThePython10110/ExchangeClone/wiki) for a list of features.
|
|
||||||
|
|
||||||
## Known issues:
|
## Known issues:
|
||||||
* There is an error reported in MineClone related to Red Matter armor setting health.
|
|
||||||
* In MineClone, it is impossible to heal past 20 health (10 hearts) without potions of healing (or the soul/life stones, which I haven't added yet)
|
* In MineClone, it is impossible to heal past 20 health (10 hearts) without potions of healing (or the soul/life stones, which I haven't added yet)
|
||||||
* With a full set of red matter armor, you can almost instantly go back to 2000 health (1000 hearts), no matter what you health is, by removing one piece of red matter armor and putting it back on. I don't really know what to do about this, because of the previous issue. Normally, I would simply make 2000 the maximum health, and leave the player's health how it is, but that doesn't really work because the extra maximum health would be useless because it's unreachable.
|
* With a full set of red matter armor, you can almost instantly go back to 200 health (100 hearts), no matter what you health is, by removing one piece of red matter armor and putting it back on. I don't really know what to do about this. If I could, I would simply make 200 the maximum health, and leave the player's health how it is, but that doesn't really work because the extra maximum health would be useless because it's unreachable.
|
||||||
* When items are inserted into the Energy Collector, Deconstructor, or Constructor with MineClone hoppers, it does not trigger the machines to start. I could probably fix this just by looking at the hopper API, so this could be fixed eventually.
|
|
||||||
* When machines are exploded, they (and the items inside) do not drop. I can't figure out why.
|
* When machines are exploded, they (and the items inside) do not drop. I can't figure out why.
|
||||||
* Dark/Red matter shears will sometimes (randomly) be treated as normal shears when used by MineClone dispensers. This will not be fixed.
|
* Dark/Red matter shears will sometimes (randomly) be treated as normal shears when used by MineClone dispensers. This will not be fixed.
|
||||||
* Nodes destroyed by special abilities will not usually update surrounding nodes (so you may end up with floating gravel, flowers, torches, etc.). This will *probably* not be fixed, unless a change to Minetest makes it easier.
|
* Nodes destroyed by special abilities will not usually update surrounding nodes (so you may end up with floating gravel, flowers, torches, etc.). This will *probably* not be fixed, unless a change to Minetest makes it easier.
|
||||||
|
|
||||||
If you have a suggestion or notice a bug, visit the [GitHub issues page](https://github.com/thepython10110/exchangeclone/issues).
|
**If you have a suggestion or notice a bug, visit the [GitHub issues page](https://github.com/thepython10110/exchangeclone/issues).**
|
||||||
|
|
||||||
![MineClone Screenshot](screenshot.png)
|
![Screenshot](screenshot.png)
|
||||||
![Minetest Game Screenshot](screenshot_mtg.png)
|
![Transmutation GUI Screenshot](transmutation_screenshot.png)
|
||||||
|
|
||||||
## Sources/license:
|
## Sources/license:
|
||||||
* Code: Forked and *heavily* modified from Enchant97's mod [Element Exchange](https://github.com/enchant97/minetest_element_exchange). Both this mod and Element Exchange are licenced under GPLv3+. Based on Equivalent Exchange and ProjectE, mods for MineCraft.
|
* Code: Forked and *heavily* modified from Enchant97's mod [Element Exchange](https://github.com/enchant97/minetest_element_exchange) (at this point, I'd say 95% of the code is my own). Both this mod and Element Exchange are licenced under GPLv3+. Based on Equivalent Exchange and ProjectE, mods for MineCraft.
|
||||||
* Textures:
|
* Textures:
|
||||||
* Energy Collector, Deconstructor, Constructor: Directly from Element Exchange, GPLv3+.
|
* Energy Collector, Deconstructor, Constructor: Directly from Element Exchange, GPLv3+.
|
||||||
* Exchange Orb: *Slightly* modified from Element Exchange (I just changed the color to white so it could change colors correctly)
|
* Exchange Orb: *Slightly* modified from Element Exchange (I just changed the color to white so it could change colors correctly)
|
||||||
|
@ -41,39 +56,43 @@ If you have a suggestion or notice a bug, visit the [GitHub issues page](https:/
|
||||||
<details><summary><h1>Changelog:</h1></summary>
|
<details><summary><h1>Changelog:</h1></summary>
|
||||||
|
|
||||||
### 5.0 (the most insteresting release so far)
|
### 5.0 (the most insteresting release so far)
|
||||||
#### You MUST break and replace any existing Constructors, Deconstructors, and Energy Collectors when updating from any previous version. Nothing will be lost.
|
**You MUST break and replace any existing Constructors, Deconstructors, and Energy Collectors when updating from any previous version. Nothing will be lost (hopefully). In Minetest Game, this is a bit of a problem (try blowing it up maybe? I don't know, sorry).**
|
||||||
* New features:
|
* New features:
|
||||||
* Added a [wiki](https://github.com/ThePython10110/ExchangeClone/wiki)! This is where you can find more complete information on pretty much everything.
|
* Added a [wiki](https://github.com/ThePython10110/ExchangeClone/wiki)! This is where you can find more complete information on pretty much everything.
|
||||||
* Because the wiki exists, I won't be including anywhere near as many details about how features work in the changelog.
|
* Because the wiki exists, I won't be including anywhere near as many details about how features work in the changelog.
|
||||||
* Added the Transmutation Table(t): Much better than the constructor/deconstructor.
|
* Added the Transmutation Table(t): Much better than the constructor/deconstructor.
|
||||||
* Alchemical Tome: Instantly teaches every item with an energy value to the Transmutation Table(t).
|
* Alchemical Tome: Instantly teaches every item with an energy value to the Transmutation Table(t).
|
||||||
* Dark/Red Matter Furnaces: Can be powered by Energy Collectors, much faster, and sometimes double ores.
|
* Dark/Red Matter Furnaces: Can be powered by Energy Collectors, much faster, and sometimes double ores.
|
||||||
* Upgraded Energy Collectors: Now MK1-MK5, each giving more energy per second. They now use personal energy by default.
|
* Upgraded Energy Collectors: Now MK1-MK5, use personal energy by default.
|
||||||
* Upgrades (MCL only)
|
* Upgrades (MCL only)
|
||||||
* Upgrades can give dark/red matter tools fortune, looting, fire aspect, and silk touch (note: abilities ignore enchantments)
|
* Upgrades can give dark/red matter tools fortune, looting, fire aspect, and silk touch (note: abilities ignore enchantments)
|
||||||
* Upgrades can give dark/red matter armor thorns and frost walker
|
* Upgrades can give dark/red matter armor thorns and frost walker
|
||||||
|
* Energy values for [Portability](https://github.com/thepython10110/Portability).
|
||||||
|
* Added energy value for Why's Falling Block Tool
|
||||||
* Mod developers can now set their own energy values by setting `exchangeclone_custom_energy` in the item/node definition.
|
* Mod developers can now set their own energy values by setting `exchangeclone_custom_energy` in the item/node definition.
|
||||||
* Changes
|
* Changes
|
||||||
* The changelog now has the most recent updates first, to make things easier to find.
|
* The changelog now has the most recent updates first, to make things easier to find.
|
||||||
* Energy for Dark/Red Matter tool abilities (as well as the Transmutation Table) is no longer stored in an orb, but inside the player (called "personal energy").
|
* Energy for Dark/Red Matter tool abilities (as well as the Transmutation Table) is no longer stored in an orb, but inside the player (called "personal energy").
|
||||||
* The amount of energy you currently have stored is visible in the bottom right of the screen.
|
* The amount of energy you currently have stored is visible in the bottom right of the screen.
|
||||||
* Because of this, the PESA is now useless and deprecated. It will be removed after a few releases (so probably a couple months at least). Remove any Exchange Orbs from your personal storage.
|
* Because of this, the PESA is now useless and deprecated. It will be removed after a few releases (so probably a couple months at least). Remove any Exchange Orbs from your personal storage.
|
||||||
* Energy Collectors, Deconstructors, and Constructors now send their energy to the placer's personal energy when they do not contain an orb.
|
* Energy Collectors, Deconstructors, and Constructors now use the placer's personal energy when they do not contain an orb.
|
||||||
* A lot of items (including DM/RM tools and armor) will not burn in lava in MineClone2.
|
* A lot of items (including DM/RM tools and armor) will not burn in lava in MineClone2.
|
||||||
* Deconstructors and Constructors now work with hoppers and don't have that weird lag thing when deconstructing
|
* Deconstructors and Constructors now work with hoppers and don't have that annoying lag thing when deconstructing
|
||||||
* The lag was caused by the fact that Enchant97 copied used node timers. Now they don't.
|
* The lag (not *technically* lag, but still) was caused by the fact that Enchant97 had them use node timers. Now they don't.
|
||||||
* **You MUST break and replace any existing Constructors, Deconstructors, and Energy Collectors when updating from any previous version. Nothing will be lost.**
|
* (De)constructors also now use the placer's personal energy when they do not contain an orb.
|
||||||
* Red Matter Armor now sets your maximum health to 200 instead of 2000
|
* Red Matter Armor now sets your maximum health to 200 instead of 2000
|
||||||
* Exchange Orbs are now 18x better as fuel than they used to be
|
* Exchange Orbs are now 18x better as fuel than they used to be
|
||||||
* DM/RM Shovels will now only create paths on blocks below air.
|
* DM/RM Shovels will now only create paths on nodes below air.
|
||||||
* Bugfixes:
|
* Bugfixes:
|
||||||
* I must have skipped a row while going through MineClone's mod list. Several mods starting with `mcl_b` or `mcl_c` have been added to the whitelist.
|
* Fall damage now works normally when not wearing dark/red matter armor... I accidentally made it decrease regardless of whether armor was worn or not.
|
||||||
|
* I must have skipped a row while going through MineClone's mod list. Several mods starting with `mcl_b...` or `mcl_c...` have been added to the whitelist.
|
||||||
* Fixed right-clicking with an orb not showing charge
|
* Fixed right-clicking with an orb not showing charge
|
||||||
* Fixed unnecessary chat logging when deconstructing/constructing
|
* Removed unnecessary chat logging when deconstructing/constructing
|
||||||
* The names for Dark and Red Matter Armor now are correct in MineClone2
|
* The names for Dark and Red Matter Armor now are correct in MineClone2
|
||||||
* Removed unnecessary tool repair recipes from dark/red matter tools/armor
|
* Removed unnecessary tool repair recipes from dark/red matter tools/armor
|
||||||
* Fixed a couple of armor texture issues in Minetest Game (though it still looks like diamond armor; 3D Armor doesn't support texture modifiers)
|
* Fixed a couple of armor texture issues in Minetest Game (though it still looks like diamond armor; 3D Armor doesn't support texture modifiers)
|
||||||
* The Red Katar is now actually craftable in Minetest Game (I just forgot that shears were only in MCL2)
|
* The Red Katar is now actually craftable in Minetest Game (I just forgot that shears were only in MCL2)
|
||||||
|
* A couple other minor things that I've forgotten about.
|
||||||
|
|
||||||
### 4.4
|
### 4.4
|
||||||
* New Features
|
* New Features
|
||||||
|
@ -216,19 +235,21 @@ If you have a suggestion or notice a bug, visit the [GitHub issues page](https:/
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
### Plans for 6.0
|
||||||
|
* Automatically generated energy values based on crafting recipes
|
||||||
|
* A slightly better method for tools that break multiple nodes (hammer, hoe, pickaxe, morningstar, katar) that may decrease lag.
|
||||||
|
* Mind, Life, Body, and Soul Stones (although MTG will only have the soul stone).
|
||||||
|
* Ability to smelt with the Philosopher's Stone and coal/charcoal (irritatingly difficult, so maybe not)
|
||||||
|
* Mercurial Eye (maybe)
|
||||||
|
|
||||||
### Features that I plan on adding eventually:
|
### Features that I plan on adding eventually:
|
||||||
* Mind, Life, Body, and Soul Stones
|
|
||||||
* Mercurial Eye (?)
|
|
||||||
* Ability to smelt with the Philosopher's Stone and coal/charcoal (maybe?)
|
|
||||||
* Exchangeclone guidebook (maybe depend on doc mod?)
|
|
||||||
* As soon as Minetest 5.8 comes out, better textures for armor...
|
* As soon as Minetest 5.8 comes out, better textures for armor...
|
||||||
* Energy Condenser
|
|
||||||
* Divining Rods
|
* Divining Rods
|
||||||
* Rings (I'll probably add a new PESA-like item for holding rings)
|
* Rings (I'll probably add a new PESA-like item for holding rings)
|
||||||
* Archangel's Smite (though arrows will not track targets)
|
* Archangel's Smite (though arrows will not track targets)
|
||||||
* Ring of Ignition
|
* Ring of Ignition
|
||||||
* Zero Ring
|
* Zero Ring
|
||||||
* Swiftwolf's Rending Gale (but without the force field; basically Why's Flying Sausage with a different texture)
|
* Swiftwolf's Rending Gale (but without the force field; basically Why's Flying Sausage with a different texture)
|
||||||
* Harvest Band?
|
* Harvest Band (maybe not)
|
||||||
* Ring of Arcana (possibly without the Harvest Band)
|
* Ring of Arcana (possibly without the Harvest Band)
|
||||||
* Gem Armor
|
* Gem Armor
|
11
armor.lua
11
armor.lua
|
@ -28,6 +28,7 @@ local function get_armor_texture(type, matter, preview)
|
||||||
end
|
end
|
||||||
|
|
||||||
function exchangeclone.check_armor_health(obj)
|
function exchangeclone.check_armor_health(obj)
|
||||||
|
if not obj:is_player() then return end
|
||||||
local max_armor = 5
|
local max_armor = 5
|
||||||
local armor_pieces = 0
|
local armor_pieces = 0
|
||||||
if exchangeclone.mcl then
|
if exchangeclone.mcl then
|
||||||
|
@ -166,9 +167,7 @@ if exchangeclone.mcl then
|
||||||
end
|
end
|
||||||
|
|
||||||
mcl_damage.register_modifier(function(obj, damage, reason)
|
mcl_damage.register_modifier(function(obj, damage, reason)
|
||||||
if reason.type == "fall" then
|
if reason.type ~= "fall" and not blocked_damage_types[reason.type] then return end
|
||||||
return damage/5
|
|
||||||
elseif not blocked_damage_types[reason.type] then return end
|
|
||||||
local inv = mcl_util.get_inventory(obj)
|
local inv = mcl_util.get_inventory(obj)
|
||||||
if inv then
|
if inv then
|
||||||
local armor_pieces = 0
|
local armor_pieces = 0
|
||||||
|
@ -182,7 +181,11 @@ if exchangeclone.mcl then
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if armor_pieces >= 4 then
|
if armor_pieces >= 4 then
|
||||||
return 0
|
if reason.type == "fall" then
|
||||||
|
return damage/5
|
||||||
|
else
|
||||||
|
return 0
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end, 0)
|
end, 0)
|
||||||
|
|
71
energy.lua
71
energy.lua
|
@ -3,7 +3,11 @@ exchangeclone.mtg_energy_values = {
|
||||||
exchange_orb = 33792,
|
exchange_orb = 33792,
|
||||||
deconstructor = 67592,
|
deconstructor = 67592,
|
||||||
constructor = 92168,
|
constructor = 92168,
|
||||||
energy_collector = 23901,
|
energy_collector_mk1 = 74499,
|
||||||
|
energy_collector_mk2 = (54*256)+(3*74499),
|
||||||
|
energy_collector_mk3 = (54*256)+(3*237321),
|
||||||
|
energy_collector_mk4 = (54*256)+(3*725787),
|
||||||
|
energy_collector_mk5 = (54*256)+(3*2191185),
|
||||||
philosophers_stone = 9984,
|
philosophers_stone = 9984,
|
||||||
alchemical_coal = 512,
|
alchemical_coal = 512,
|
||||||
mobius_fuel = 2048,
|
mobius_fuel = 2048,
|
||||||
|
@ -48,7 +52,9 @@ exchangeclone.mtg_energy_values = {
|
||||||
pesa = 64,
|
pesa = 64,
|
||||||
transmutation_table = (64*4)+4,
|
transmutation_table = (64*4)+4,
|
||||||
transmutation_tablet = (64*4)+4+(139264*4)+4,
|
transmutation_tablet = (64*4)+4+(139264*4)+4,
|
||||||
alchemical_tome = 0
|
alchemical_tome = 0,
|
||||||
|
dark_matter_furnace = 8+(139264*8),
|
||||||
|
red_matter_furnace = 1114120+(466944*3)
|
||||||
},
|
},
|
||||||
["beds"] = {
|
["beds"] = {
|
||||||
bed_bottom = 168,
|
bed_bottom = 168,
|
||||||
|
@ -391,10 +397,14 @@ I had to change some since they weren't as "equivalent" as they were supposed to
|
||||||
I also didn't type out the ones with a value of 1, since that's the default.]]
|
I also didn't type out the ones with a value of 1, since that's the default.]]
|
||||||
exchangeclone.mcl_energy_values = {
|
exchangeclone.mcl_energy_values = {
|
||||||
["exchangeclone"] = {
|
["exchangeclone"] = {
|
||||||
|
exchange_orb = 33792,
|
||||||
deconstructor = 67592,
|
deconstructor = 67592,
|
||||||
constructor = 92168,
|
constructor = 92168,
|
||||||
energy_collector = 23883,
|
energy_collector_mk1 = 74499,
|
||||||
exchange_orb = 33792,
|
energy_collector_mk2 = (54*256)+(3*74499),
|
||||||
|
energy_collector_mk3 = (54*256)+(3*237321),
|
||||||
|
energy_collector_mk4 = (54*256)+(3*725787),
|
||||||
|
energy_collector_mk5 = (54*256)+(3*2191185),
|
||||||
philosophers_stone = 9984,
|
philosophers_stone = 9984,
|
||||||
alchemical_coal = 512,
|
alchemical_coal = 512,
|
||||||
mobius_fuel = 2048,
|
mobius_fuel = 2048,
|
||||||
|
@ -439,7 +449,34 @@ exchangeclone.mcl_energy_values = {
|
||||||
pesa = 64,
|
pesa = 64,
|
||||||
transmutation_table = (64*4)+4,
|
transmutation_table = (64*4)+4,
|
||||||
transmutation_tablet = (64*4)+4+(139264*4)+4,
|
transmutation_tablet = (64*4)+4+(139264*4)+4,
|
||||||
alchemical_tome = 0
|
alchemical_tome = 0,
|
||||||
|
dark_matter_furnace = 8+(139264*8),
|
||||||
|
red_matter_furnace = 1114120+(466944*3),
|
||||||
|
blank_upgrade = 344,
|
||||||
|
fire_aspect_1_upgrade = 344 + (139264*4) + (4*4),
|
||||||
|
fire_aspect_2_upgrade = 557416 + (139264*4) + (4*4),
|
||||||
|
fortune_1_upgrade = 344 + (139264*4) + (8192*4),
|
||||||
|
fortune_2_upgrade = 590168 + (139264*4) + (8192*4),
|
||||||
|
fortune_3_upgrade = 1179992 + (139264*4) + (8192*4),
|
||||||
|
frost_walker_1_upgrade = 344 + (139264*4) + (9*4),
|
||||||
|
frost_walker_2_upgrade = 557436 + (139264*4) + (9*4),
|
||||||
|
looting_1_upgrade = 344 + (139264*4) + (1536*4),
|
||||||
|
looting_2_upgrade = 563544 + (139264*4) + (1536*4),
|
||||||
|
looting_3_upgrade = 1126744 + (139264*4) + (1536*4),
|
||||||
|
silk_touch_upgrade = 344 + (139264*4) + (12*4),
|
||||||
|
curse_of_vanishing_upgrade = 344 + (139264*4) + 2,
|
||||||
|
thorns_1_upgrade = 344 + (139264*4) + (8*4),
|
||||||
|
thorns_2_upgrade = 557432 + (139264*4) + (8*4),
|
||||||
|
thorns_3_upgrade = 1114520 + (139264*4) + (8*4),
|
||||||
|
depth_strider_1_upgrade = 344 + (139264*4) + (48*4),
|
||||||
|
depth_strider_2_upgrade = 557592 + (139264*4) + (48*4),
|
||||||
|
depth_strider_3_upgrade = 1114840 + (139264*4) + (48*4),
|
||||||
|
knockback_1_upgrade = 344 + (139264*4) + (216*4),
|
||||||
|
knockback_2_upgrade = 558264 + (139264*4) + (216*4),
|
||||||
|
soul_speed_1_upgrade = 344 + (139264*4) + (49*4),
|
||||||
|
soul_speed_2_upgrade = 557596 + (139264*4) + (49*4),
|
||||||
|
soul_speed_3_upgrade = 1114844 + (139264*4) + (49*4),
|
||||||
|
upgrader = (139264*2) + (466944*2) + 4,
|
||||||
},
|
},
|
||||||
["mcl_core"] = {
|
["mcl_core"] = {
|
||||||
light_0 = 0,
|
light_0 = 0,
|
||||||
|
@ -1304,6 +1341,9 @@ exchangeclone.mcl_energy_values = {
|
||||||
bucket_fake_lava = 832,
|
bucket_fake_lava = 832,
|
||||||
bucket_fake_water = 960,
|
bucket_fake_water = 960,
|
||||||
},
|
},
|
||||||
|
["falling_block_tool"] = {
|
||||||
|
falling_block_tool = 11,
|
||||||
|
},
|
||||||
["flying_sausage"] = {
|
["flying_sausage"] = {
|
||||||
cooked_elytra = 297216,
|
cooked_elytra = 297216,
|
||||||
burnt_elytra = 297216,
|
burnt_elytra = 297216,
|
||||||
|
@ -1364,6 +1404,25 @@ exchangeclone.mcl_energy_values = {
|
||||||
boots_useful_green_potato = 256*4,
|
boots_useful_green_potato = 256*4,
|
||||||
bucket_useful_green_potato_liquid = 768,
|
bucket_useful_green_potato_liquid = 768,
|
||||||
useful_green_potato_gold = 2048*8+256
|
useful_green_potato_gold = 2048*8+256
|
||||||
|
},
|
||||||
|
["portability"] = {
|
||||||
|
crafting_table = 8192 + 4,
|
||||||
|
ender_chest = 8192 + 2304,
|
||||||
|
enchanting_table_1 = 8192 + 16790,
|
||||||
|
enchanting_table_2 = 8192 + 16790 + 498,
|
||||||
|
enchanting_table_3 = 8192 + 16790 + 498*2,
|
||||||
|
enchanting_table_4 = 8192 + 16790 + 498*3,
|
||||||
|
enchanting_table_5 = 8192 + 16790 + 498*4,
|
||||||
|
enchanting_table_6 = 8192 + 16790 + 498*5,
|
||||||
|
enchanting_table_7 = 8192 + 16790 + 498*6,
|
||||||
|
enchanting_table_8 = 8192 + 16790 + 498*7,
|
||||||
|
enchanting_table_9 = 8192 + 16790 + 498*8,
|
||||||
|
enchanting_table_10 = 8192 + 16790 + 498*9,
|
||||||
|
enchanting_table_11 = 8192 + 16790 + 498*10,
|
||||||
|
enchanting_table_12 = 8192 + 16790 + 498*11,
|
||||||
|
enchanting_table_13 = 8192 + 16790 + 498*12,
|
||||||
|
enchanting_table_14 = 8192 + 16790 + 498*13,
|
||||||
|
enchanting_table_15 = 8192 + 16790 + 498*14,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1487,6 +1546,7 @@ exchangeclone.whitelisted_mods = {
|
||||||
mcl_brewing = true,
|
mcl_brewing = true,
|
||||||
mcl_cake = true,
|
mcl_cake = true,
|
||||||
mcl_campfires = true,
|
mcl_campfires = true,
|
||||||
|
mcl_cartography_table = true,
|
||||||
mcl_cauldrons = true,
|
mcl_cauldrons = true,
|
||||||
mcl_cherry_blossom = true,
|
mcl_cherry_blossom = true,
|
||||||
mcl_chests = true,
|
mcl_chests = true,
|
||||||
|
@ -1564,6 +1624,7 @@ exchangeclone.whitelisted_mods = {
|
||||||
mclx_core = true,
|
mclx_core = true,
|
||||||
mclx_fences = true,
|
mclx_fences = true,
|
||||||
mclx_stairs = true,
|
mclx_stairs = true,
|
||||||
|
portability = true,
|
||||||
meat_blocks = true,
|
meat_blocks = true,
|
||||||
flying_sausage = true,
|
flying_sausage = true,
|
||||||
useful_green_potatoes = true,
|
useful_green_potatoes = true,
|
||||||
|
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 612 KiB After Width: | Height: | Size: 573 KiB |
Binary file not shown.
Before Width: | Height: | Size: 793 KiB |
|
@ -142,7 +142,6 @@ local after_dig_node = function(pos, oldnode, oldmetadata, player)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
meta:from_table(meta2)
|
meta:from_table(meta2)
|
||||||
local p = {x=pos.x+math.random(0, 10)/10-0.5, y=pos.y, z=pos.z+math.random(0, 10)/10-0.5}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -200,6 +199,16 @@ minetest.register_node("exchangeclone:upgrader", {
|
||||||
_mcl_hardness = 75,
|
_mcl_hardness = 75,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "exchangeclone:upgrader",
|
||||||
|
recipe = {
|
||||||
|
{"exchangeclone:dark_matter_block", "mcl_deepslate:tuff", "exchangeclone:dark_matter_block"}, -- Tuff has to be useful SOMEHOW...
|
||||||
|
{"mcl_deepslate:tuff", "exchangeclone:philosophers_stone", "mcl_deepslate:tuff"},
|
||||||
|
{"exchangeclone:red_matter_block", "mcl_deepslate:tuff", "exchangeclone:red_matter_block"}
|
||||||
|
},
|
||||||
|
replacements = {{"exchangeclone:philosophers_stone", "exchangeclone:philosophers_stone"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craftitem("exchangeclone:blank_upgrade", {
|
minetest.register_craftitem("exchangeclone:blank_upgrade", {
|
||||||
description = "Blank Upgrade",
|
description = "Blank Upgrade",
|
||||||
|
@ -210,9 +219,9 @@ minetest.register_craftitem("exchangeclone:blank_upgrade", {
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "exchangeclone:blank_upgrade",
|
output = "exchangeclone:blank_upgrade",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"exchangeclone:dark_matter_block", "mcl_deepslate:tuff", "exchangeclone:dark_matter_block"}, -- Tuff has to be useful SOMEHOW...
|
{"mcl_copper:copper_ingot", "mcl_deepslate:tuff", "mcl_copper:copper_ingot"}, -- Copper and tuff because they're useless.
|
||||||
{"mcl_deepslate:tuff", "exchangeclone:philosophers_stone", "mcl_deepslate:tuff"},
|
{"mcl_deepslate:tuff", "exchangeclone:philosophers_stone", "mcl_deepslate:tuff"},
|
||||||
{"exchangeclone:red_matter_block", "mcl_deepslate:tuff", "exchangeclone:red_matter_block"}
|
{"mcl_copper:copper_ingot", "mcl_deepslate:tuff", "mcl_copper:copper_ingot"}
|
||||||
},
|
},
|
||||||
replacements = {{"exchangeclone:philosophers_stone", "exchangeclone:philosophers_stone"}}
|
replacements = {{"exchangeclone:philosophers_stone", "exchangeclone:philosophers_stone"}}
|
||||||
})
|
})
|
||||||
|
@ -259,6 +268,48 @@ exchangeclone.register_upgrade(
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:knockback_1_upgrade",
|
||||||
|
"Knockback I Upgrade",
|
||||||
|
"^[multiply:#777777",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_core:slimeblock", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_core:slimeblock", "exchangeclone:blank_upgrade", "mcl_core:slimeblock"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_core:slimeblock", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"knockback",
|
||||||
|
1,
|
||||||
|
{
|
||||||
|
["exchangeclone:dark_matter_sword"] = true,
|
||||||
|
["exchangeclone:red_matter_sword"] = true,
|
||||||
|
["exchangeclone:dark_matter_axe"] = true,
|
||||||
|
["exchangeclone:red_matter_axe"] = true,
|
||||||
|
["exchangeclone:red_katar"] = true,
|
||||||
|
["exchangeclone:red_katar_3x3"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:knockback_2_upgrade",
|
||||||
|
"Knockback II Upgrade",
|
||||||
|
"^[multiply:#aaaaaa",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_core:slimeblock", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_core:slimeblock", "exchangeclone:knockback_1_upgrade", "mcl_core:slimeblock"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_core:slimeblock", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"knockback",
|
||||||
|
2,
|
||||||
|
{
|
||||||
|
["exchangeclone:dark_matter_sword"] = true,
|
||||||
|
["exchangeclone:red_matter_sword"] = true,
|
||||||
|
["exchangeclone:dark_matter_axe"] = true,
|
||||||
|
["exchangeclone:red_matter_axe"] = true,
|
||||||
|
["exchangeclone:red_katar"] = true,
|
||||||
|
["exchangeclone:red_katar_3x3"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
exchangeclone.register_upgrade(
|
exchangeclone.register_upgrade(
|
||||||
"exchangeclone:looting_1_upgrade",
|
"exchangeclone:looting_1_upgrade",
|
||||||
"Looting I Upgrade",
|
"Looting I Upgrade",
|
||||||
|
@ -407,6 +458,108 @@ exchangeclone.register_upgrade(
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:depth_strider_1_upgrade",
|
||||||
|
"Depth Strider I Upgrade",
|
||||||
|
"^[multiply:#000066",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_fishing:salmon_raw", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_fishing:salmon_raw", "exchangeclone:blank_upgrade", "mcl_fishing:salmon_raw"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_fishing:salmon_raw", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"depth_strider",
|
||||||
|
1,
|
||||||
|
{
|
||||||
|
["exchangeclone:boots_dark_matter"] = true,
|
||||||
|
["exchangeclone:boots_red_matter"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:depth_strider_2_upgrade",
|
||||||
|
"Depth Strider II Upgrade",
|
||||||
|
"^[multiply:#0000aa",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_fishing:salmon_raw", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_fishing:salmon_raw", "exchangeclone:depth_strider_1_upgrade", "mcl_fishing:salmon_raw"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_fishing:salmon_raw", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"depth_strider",
|
||||||
|
2,
|
||||||
|
{
|
||||||
|
["exchangeclone:boots_dark_matter"] = true,
|
||||||
|
["exchangeclone:boots_red_matter"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:depth_strider_3_upgrade",
|
||||||
|
"Depth Strider III Upgrade",
|
||||||
|
"^[multiply:#0000ff",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_fishing:salmon_raw", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_fishing:salmon_raw", "exchangeclone:depth_strider_2_upgrade", "mcl_fishing:salmon_raw"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_fishing:salmon_raw", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"depth_strider",
|
||||||
|
3,
|
||||||
|
{
|
||||||
|
["exchangeclone:boots_dark_matter"] = true,
|
||||||
|
["exchangeclone:boots_red_matter"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:soul_speed_1_upgrade",
|
||||||
|
"Soul Speed I Upgrade",
|
||||||
|
"^[brighten^[invert:rgb^[brighten^[multiply:#181400",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_blackstone:soul_soil", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_blackstone:soul_soil", "exchangeclone:blank_upgrade", "mcl_blackstone:soul_soil"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_blackstone:soul_soil", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"soul_speed",
|
||||||
|
1,
|
||||||
|
{
|
||||||
|
["exchangeclone:boots_dark_matter"] = true,
|
||||||
|
["exchangeclone:boots_red_matter"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:soul_speed_2_upgrade",
|
||||||
|
"Soul Speed II Upgrade",
|
||||||
|
"^[brighten^[invert^[brighten:rgb^[multiply:#2c2000",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_blackstone:soul_soil", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_blackstone:soul_soil", "exchangeclone:soul_speed_1_upgrade", "mcl_blackstone:soul_soil"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_blackstone:soul_soil", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"soul_speed",
|
||||||
|
2,
|
||||||
|
{
|
||||||
|
["exchangeclone:boots_dark_matter"] = true,
|
||||||
|
["exchangeclone:boots_red_matter"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:soul_speed_3_upgrade",
|
||||||
|
"Soul Speed III Upgrade",
|
||||||
|
"^[brighten^[invert^[brighten^[multiply:#352700",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "mcl_blackstone:soul_soil", "exchangeclone:dark_matter"},
|
||||||
|
{"mcl_blackstone:soul_soil", "exchangeclone:soul_speed_2_upgrade", "mcl_blackstone:soul_soil"},
|
||||||
|
{"exchangeclone:dark_matter", "mcl_blackstone:soul_soil", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"soul_speed",
|
||||||
|
3,
|
||||||
|
{
|
||||||
|
["exchangeclone:boots_dark_matter"] = true,
|
||||||
|
["exchangeclone:boots_red_matter"] = true,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
exchangeclone.register_upgrade(
|
exchangeclone.register_upgrade(
|
||||||
"exchangeclone:silk_touch_upgrade",
|
"exchangeclone:silk_touch_upgrade",
|
||||||
"Silk Touch Upgrade",
|
"Silk Touch Upgrade",
|
||||||
|
@ -529,4 +682,37 @@ exchangeclone.register_upgrade(
|
||||||
["group:red_katar"] = true,
|
["group:red_katar"] = true,
|
||||||
["group:red_morningstar"] = true,
|
["group:red_morningstar"] = true,
|
||||||
}
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
exchangeclone.register_upgrade(
|
||||||
|
"exchangeclone:curse_of_vanishing_upgrade",
|
||||||
|
"Curse of Vanishing \"Upgrade\"",
|
||||||
|
"^[invert:rgb",
|
||||||
|
{
|
||||||
|
{"exchangeclone:dark_matter", "xpanes:pane_silver_flat", "exchangeclone:dark_matter"},
|
||||||
|
{"xpanes:pane_silver_flat", "exchangeclone:blank_upgrade", "xpanes:pane_silver_flat"},
|
||||||
|
{"exchangeclone:dark_matter", "xpanes:pane_silver_flat", "exchangeclone:dark_matter"},
|
||||||
|
},
|
||||||
|
"curse_of_vanishing",
|
||||||
|
1,
|
||||||
|
{
|
||||||
|
["exchangeclone:dark_matter_sword"] = true,
|
||||||
|
["exchangeclone:red_matter_sword"] = true,
|
||||||
|
["exchangeclone:dark_matter_axe"] = true,
|
||||||
|
["exchangeclone:red_matter_axe"] = true,
|
||||||
|
["exchangeclone:dark_matter_shovel"] = true,
|
||||||
|
["exchangeclone:red_matter_shovel"] = true,
|
||||||
|
["exchangeclone:dark_matter_shears"] = true,
|
||||||
|
["exchangeclone:red_matter_shears"] = true,
|
||||||
|
["group:dark_matter_pickaxe"] = true,
|
||||||
|
["group:red_matter_pickaxe"] = true,
|
||||||
|
["group:dark_matter_hoe"] = true,
|
||||||
|
["group:red_matter_hoe"] = true,
|
||||||
|
["group:dark_matter_hammer"] = true,
|
||||||
|
["group:red_matter_hammer"] = true,
|
||||||
|
["group:red_katar"] = true,
|
||||||
|
["group:red_morningstar"] = true,
|
||||||
|
["group:dark_matter_armor"] = true,
|
||||||
|
["group:red_matter_armor"] = true,
|
||||||
|
}
|
||||||
)
|
)
|
Binary file not shown.
After Width: | Height: | Size: 403 KiB |
Loading…
Reference in New Issue