-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from DustyBagel/Experimental
Fix for issue #7.
- Loading branch information
Showing
4 changed files
with
82 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
A collaboration project with Bob64, also known as DustyBagel, to help Technic and Elepower work together. Recipes were added for Technic machines to make some items from Elepower, and for Elepower machines to make some items from Technic. A new electric converter connects Technic and Elepower grids together when enabled. All content contained within is licensed under the GNU Lesser General Public License version 2.1. | ||
A collaboration project with Bob64, also known as DustyBagel, to help Technic and Elepower work together. Recipes were added for Technic machines to make some items from Elepower, and for Elepower machines to make some items from Technic. A new electric converter connects Technic and Elepower grids together when enabled. | ||
|
||
IMPORTANT INFORMATION | ||
|
||
Please note that the power converter developed by Bob64 is not fully complete. Bugs are still possible, so please report any issues on GitHub. There are also some duplication glitches from having Elepower and Technic modpacks together. There are plans to fix these if it is possible to do so. | ||
|
||
Copyright Information | ||
|
||
All content contained within is licensed under the GNU Lesser General Public License version 2.1. If you have questions about the copyright of this mod, you can get into contack with us at [email protected]. | ||
|
||
Copyright (C) 2023 DumbDave961 and Bob64 aka DustyBagel [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
--Ore overrides to clear unneeded ores. | ||
local lead_to_use = minetest.settings:get("lead_used") or "both" | ||
|
||
if lead_to_use == "technic" then | ||
minetest.register_abm({ | ||
nodenames = {"elepower_dynamics:stone_with_lead"}, -- replace with the name of the ore | ||
interval = 1, -- runs every 1 second | ||
chance = 1, -- always fires | ||
action = function(pos) | ||
minetest.swap_node(pos, {name = "default:stone"}) | ||
end, | ||
}) | ||
elseif lead_to_use == "elepower" then | ||
minetest.register_abm({ | ||
nodenames = {"technic:mineral_lead"}, -- replace with the name of the ore | ||
interval = 1, -- runs every 1 second | ||
chance = 1, -- always fires | ||
action = function(pos) | ||
minetest.swap_node(pos, {name = "default:stone"}) | ||
end, | ||
}) | ||
elseif lead_to_use == "both" then | ||
return false | ||
end | ||
|
||
local zinc_to_use = minetest.settings:get("zinc_used") or "both" | ||
|
||
if zinc_to_use == "technic" then | ||
minetest.register_abm({ | ||
nodenames = {"elepower_dynamics:stone_with_zinc"}, -- replace with the name of the ore | ||
interval = 1, -- runs every 1 second | ||
chance = 1, -- always fires | ||
action = function(pos) | ||
minetest.swap_node(pos, {name = "default:stone"}) | ||
end, | ||
}) | ||
elseif zinc_to_use == "elepower" then | ||
minetest.register_abm({ | ||
nodenames = {"technic:mineral_zinc"}, -- replace with the name of the ore | ||
interval = 1, -- runs every 1 second | ||
chance = 1, -- always fires | ||
action = function(pos) | ||
minetest.swap_node(pos, {name = "default:stone"}) | ||
end, | ||
}) | ||
elseif zinc_to_use == "both" then | ||
return false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters