transformed into modpack
@ -1,3 +0,0 @@
|
||||
default
|
||||
buildtest?
|
||||
pipeworks?
|
1
equivalent_exchange/depends.txt
Normal file
@ -0,0 +1 @@
|
||||
default
|
@ -1,8 +1,6 @@
|
||||
dofile(minetest.get_modpath("equivalent_exchange").."/emcs.lua")
|
||||
dofile(minetest.get_modpath("equivalent_exchange").."/alchemical_chest.lua")
|
||||
dofile(minetest.get_modpath("equivalent_exchange").."/alchemy_bag.lua")
|
||||
dofile(minetest.get_modpath("equivalent_exchange").."/condenser.lua")
|
||||
dofile(minetest.get_modpath("equivalent_exchange").."/energy_collector.lua")
|
||||
dofile(minetest.get_modpath("equivalent_exchange").."/philosophers_stone.lua")
|
||||
dofile(minetest.get_modpath("equivalent_exchange").."/normal_items.lua")
|
||||
|
63
equivalent_exchange/normal_items.lua
Normal file
@ -0,0 +1,63 @@
|
||||
-- Registering Craft Items --
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:low_covalence", {
|
||||
description = "Low Covalence Dust",
|
||||
inventory_image = "equivalent_exchange_low_covalence.png",
|
||||
emc = 1,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:medium_covalence", {
|
||||
description = "Medium Covalence Dust",
|
||||
inventory_image = "equivalent_exchange_medium_covalence.png",
|
||||
emc = 8,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:high_covalence", {
|
||||
description = "High Covalence Dust",
|
||||
inventory_image = "equivalent_exchange_high_covalence.png",
|
||||
emc = 208,
|
||||
})
|
||||
|
||||
-- Registering Crafts --
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "equivalent_exchange:low_covalence 40",
|
||||
recipe = {"default:cobble", "default:cobble", "default:cobble",
|
||||
"default:cobble", "default:cobble", "default:cobble",
|
||||
"default:cobble", "default:cobble", "default:coal_lump"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "equivalent_exchange:medium_covalence 40",
|
||||
recipe = {"default:steel_ingot", "default:bronze_ingot"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "equivalent_exchange:high_covalence 40",
|
||||
recipe = {"default:diamond", "default:mese_crystal"}
|
||||
})
|
||||
|
||||
local materials = {"wood","stone","steel","bronze","mese","diamond"}
|
||||
local covalence = {"low_covalence","low_covalence","medium_covalence","medium_covalence","high_covalence","high_covalence"}
|
||||
local tools = {"pick_","shovel_","axe_","sword_","hoe_"}
|
||||
local type = {"default:","default:","default:","default:","farming:"}
|
||||
|
||||
|
||||
for i = 1,6 do
|
||||
for j = 1,5 do
|
||||
minetest["register_craft"]({
|
||||
type = "shapeless",
|
||||
output = type[j]..tools[j]..materials[i],
|
||||
recipe = {"equivalent_exchange:"..covalence[i], "equivalent_exchange:"..covalence[i], "equivalent_exchange:"..covalence[i], type[j]..tools[j]..materials[i]}
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "screwdriver:screwdriver",
|
||||
recipe = {"equivalent_exchange:medium_covalence", "equivalent_exchange:medium_covalence", "equivalent_exchange:medium_covalence", "screwdriver:screwdriver"}
|
||||
})
|
Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 278 B After Width: | Height: | Size: 278 B |
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 614 B |
Before Width: | Height: | Size: 184 B After Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
Before Width: | Height: | Size: 510 B After Width: | Height: | Size: 510 B |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 258 B After Width: | Height: | Size: 258 B |
@ -1,13 +1,13 @@
|
||||
local colors = {'grey','dark_grey','black','blue','cyan','green','dark_green','yellow','orange','brown','red','pink','magenta','violet'}
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:alchemy_bag_white", {
|
||||
minetest.register_craftitem("equivalent_exchange_alchemy_bags:white", {
|
||||
description = "White Alchemy Bag",
|
||||
inventory_image = "equivalent_exchange_alchemy_bag_white.png",
|
||||
emc = 9631,
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:equivalent_exchange:alchemy_bag",
|
||||
output = "equivalent_exchange:alchemy_bag_white",
|
||||
recipe = {
|
||||
{"equivalent_exchange:high_covalence", "equivalent_exchange:high_covalence", "equivalent_exchange:high_covalence"},
|
||||
{"wool:white", "equivalent_exchange:alchemical_chest", "wool:white"},
|
||||
@ -19,7 +19,7 @@ for i = 1,14 do
|
||||
|
||||
-- Registering Craft Items --
|
||||
|
||||
minetest["register_craftitem"](":".."equivalent_exchange:alchemy_bag_"..colors[i], {
|
||||
minetest["register_craftitem"](":".."equivalent_exchange_alchemy_bags:"..colors[i], {
|
||||
description = colors[i]:gsub("^%l", string.upper).." Alchemy Bag",
|
||||
groups = {not_in_creative_inventory = 1},
|
||||
inventory_image = "equivalent_exchange_alchemy_bag_"..colors[i]..".png",
|
||||
@ -29,7 +29,7 @@ for i = 1,14 do
|
||||
-- Registering Crafts --
|
||||
|
||||
minetest["register_craft"]({
|
||||
output = "equivalent_exchange:alchemy_bag_"..colors[i],
|
||||
output = "equivalent_exchange_alchemy_bags:"..colors[i],
|
||||
recipe = {
|
||||
{"equivalent_exchange:high_covalence", "equivalent_exchange:high_covalence", "equivalent_exchange:high_covalence"},
|
||||
{"wool:"..colors[i], "equivalent_exchange:alchemical_chest", "wool:"..colors[i]},
|
||||
@ -39,8 +39,8 @@ for i = 1,14 do
|
||||
|
||||
minetest["register_craft"]({
|
||||
type = "shapeless",
|
||||
output = "equivalent_exchange:alchemy_bag_"..colors[i],
|
||||
recipe = {"equivalent_exchange:alchemy_bag_white", "dye:"..colors[i]}
|
||||
output = "equivalent_exchange_alchemy_bags:"..colors[i],
|
||||
recipe = {"equivalent_exchange_alchemy_bags:white", "dye:"..colors[i]}
|
||||
})
|
||||
|
||||
end
|
2
equivalent_exchange_alchemy_bags/depends.txt
Normal file
@ -0,0 +1,2 @@
|
||||
default
|
||||
equivalent_exchange
|
3
equivalent_exchange_alchemy_bags/init.lua
Normal file
@ -0,0 +1,3 @@
|
||||
dofile(minetest.get_modpath("equivalent_exchange_alchemy_bags").."/alchemy_bag.lua")
|
||||
|
||||
print("[equivalent_exchange_alchemy_bags] Mod loaded!")
|
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 312 B |
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 335 B |
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 317 B |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 317 B After Width: | Height: | Size: 317 B |
Before Width: | Height: | Size: 308 B After Width: | Height: | Size: 308 B |
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 331 B |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 325 B After Width: | Height: | Size: 325 B |
Before Width: | Height: | Size: 326 B After Width: | Height: | Size: 326 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 321 B |
Before Width: | Height: | Size: 314 B After Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
2
equivalent_exchange_energy_collectors/depends.txt
Normal file
@ -0,0 +1,2 @@
|
||||
default
|
||||
equivalent_exchange
|
@ -45,7 +45,7 @@ collector = {
|
||||
-- Registering ABMs --
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"equivalent_exchange:energy_collector_mk1"},
|
||||
nodenames = {"equivalent_exchange_energy_collectors:mk1"},
|
||||
interval = 1.0,
|
||||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
@ -63,7 +63,7 @@ minetest.register_abm({
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"equivalent_exchange:energy_collector_mk2"},
|
||||
nodenames = {"equivalent_exchange_energy_collectors:mk2"},
|
||||
interval = 1.0,
|
||||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
@ -81,7 +81,7 @@ minetest.register_abm({
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"equivalent_exchange:energy_collector_mk3"},
|
||||
nodenames = {"equivalent_exchange_energy_collectors:mk3"},
|
||||
interval = 1.0,
|
||||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
@ -99,7 +99,7 @@ minetest.register_abm({
|
||||
})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"equivalent_exchange:antimatter_collector"},
|
||||
nodenames = {"equivalent_exchange+energy_collectors:antimatter_collector"},
|
||||
interval = 1.0,
|
||||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
@ -118,7 +118,7 @@ minetest.register_abm({
|
||||
|
||||
-- Registering Nodes --
|
||||
|
||||
minetest.register_node("equivalent_exchange:energy_collector_mk1", {
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:mk1", {
|
||||
description = "Energy Collector Mark 1",
|
||||
tiles = {
|
||||
"equivalent_exchange_energy_collector_mk1_top.png",
|
||||
@ -152,7 +152,7 @@ minetest.register_node("equivalent_exchange:energy_collector_mk1", {
|
||||
emc = 529605
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange:energy_collector_mk2", {
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:mk2", {
|
||||
description = "Energy Collector Mark 2",
|
||||
tiles = {
|
||||
"equivalent_exchange_energy_collector_mk2_top.png",
|
||||
@ -186,7 +186,7 @@ minetest.register_node("equivalent_exchange:energy_collector_mk2", {
|
||||
emc = 529605
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange:energy_collector_mk3", {
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:mk3", {
|
||||
description = "Energy Collector Mark 3",
|
||||
tiles = {
|
||||
"equivalent_exchange_energy_collector_mk3_top.png",
|
||||
@ -220,7 +220,7 @@ minetest.register_node("equivalent_exchange:energy_collector_mk3", {
|
||||
emc = 529605
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange:antimatter_collector", {
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:antimatter_collector", {
|
||||
description = "Antimatter Collector",
|
||||
tiles = {
|
||||
"equivalent_exchange_antimatter_collector_top.png",
|
||||
@ -254,7 +254,7 @@ minetest.register_node("equivalent_exchange:antimatter_collector", {
|
||||
emc = 269554885
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange:interdiction_stone", {
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:interdiction_stone", {
|
||||
description = "Interdiction Stone",
|
||||
tiles = {
|
||||
"equivalent_exchange_interdiction_stone.png",
|
||||
@ -278,7 +278,7 @@ minetest.register_node("equivalent_exchange:interdiction_stone", {
|
||||
-- Registering Crafts --
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:energy_collector_mk1",
|
||||
output = "equivalent_exchange_energy_collectors:mk1",
|
||||
recipe = {
|
||||
{"default:mese", "default:glass", "default:mese"},
|
||||
{"default:mese", "default:diamondblock", "default:mese"},
|
||||
@ -287,28 +287,28 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:energy_collector_mk2",
|
||||
output = "equivalent_exchange_energy_collectors:mk2",
|
||||
recipe = {
|
||||
{"default:mese", "equivalent_exchange:red_matter", "default:mese"},
|
||||
{"default:mese", "equivalent_exchange:energy_collector_mk1", "default:mese"},
|
||||
{"default:mese", "equivalent_exchange_energy_collectors:red_matter", "default:mese"},
|
||||
{"default:mese", "equivalent_exchange_energy_collectors:mk1", "default:mese"},
|
||||
{"default:mese", "default:mese", "default:mese"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:energy_collector_mk3",
|
||||
output = "equivalent_exchange_energy_collectors:mk3",
|
||||
recipe = {
|
||||
{"default:mese", "equivalent_exchange:antimatter", "default:mese"},
|
||||
{"default:mese", "equivalent_exchange:energy_collector_mk2", "default:mese"},
|
||||
{"default:mese", "equivalent_exchange_energy_collectors:antimatter", "default:mese"},
|
||||
{"default:mese", "equivalent_exchange_energy_collectors:mk2", "default:mese"},
|
||||
{"default:mese", "default:mese", "default:mese"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:interdiction_stone",
|
||||
output = "equivalent_exchange_energy_collectors:interdiction_stone",
|
||||
recipe = {
|
||||
{"default:torch", "equivalent_exchange:aeternalis_fuel", "default:torch"},
|
||||
{"equivalent_exchange:aeternalis_fuel", "equivalent_exchange:philosophers_stone", "equivalent_exchange:aeternalis_fuel"},
|
||||
{"default:torch", "equivalent_exchange_energy_collectors:aeternalis_fuel", "default:torch"},
|
||||
{"equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange:philosophers_stone", "equivalent_exchange_energy_collectors:aeternalis_fuel"},
|
||||
{"equivalent_exchange:high_covalence", "equivalent_exchange:high_covalence", "equivalent_exchange:high_covalence"}
|
||||
},
|
||||
replacements = {
|
||||
@ -317,10 +317,10 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:antimatter_collector",
|
||||
output = "equivalent_exchange_energy_collectors:antimatter_collector",
|
||||
recipe = {
|
||||
{"equivalent_exchange:condensed_antimatter", "equivalent_exchange:condensed_antimatter", "equivalent_exchange:condensed_antimatter"},
|
||||
{"equivalent_exchange:condensed_antimatter", "equivalent_exchange:energy_collector_mk3", "equivalent_exchange:condensed_antimatter"},
|
||||
{"equivalent_exchange:condensed_antimatter", "equivalent_exchange:condensed_antimatter", "equivalent_exchange:condensed_antimatter"}
|
||||
{"equivalent_exchange_energy_collectors:condensed_antimatter", "equivalent_exchange_energy_collectors:condensed_antimatter", "equivalent_exchange_energy_collectors:condensed_antimatter"},
|
||||
{"equivalent_exchange_energy_collectors:condensed_antimatter", "equivalent_exchange_energy_collectors_energy_collectors:mk3", "equivalent_exchange_energy_collectors:condensed_antimatter"},
|
||||
{"equivalent_exchange_energy_collectors:condensed_antimatter", "equivalent_exchange_energy_collectors:condensed_antimatter", "equivalent_exchange_energy_collectors:condensed_antimatter"}
|
||||
}
|
||||
})
|
4
equivalent_exchange_energy_collectors/init.lua
Normal file
@ -0,0 +1,4 @@
|
||||
dofile(minetest.get_modpath("equivalent_exchange_energy_collectors").."/energy_collector.lua")
|
||||
dofile(minetest.get_modpath("equivalent_exchange_energy_collectors").."/normal_items.lua")
|
||||
|
||||
print("[equivalent_exchange_energy_collectors] Mod loaded!")
|
152
equivalent_exchange_energy_collectors/normal_items.lua
Normal file
@ -0,0 +1,152 @@
|
||||
-- Registering Nodes --
|
||||
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:red_matter_block", {
|
||||
description = "Red Matter Block",
|
||||
tiles = {
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 3},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
emc = 1253376
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:antimatter_block", {
|
||||
description = "Antimatter Block",
|
||||
tiles = {
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 3},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
emc = 4202496
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange_energy_collectors:condensed_antimatter", {
|
||||
description = "Condensed Antimatter",
|
||||
tiles = {
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 5},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
emc = 33628160
|
||||
})
|
||||
|
||||
-- Registering Craft Items --
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange_energy_collectors:alchemical_crystal", {
|
||||
description = "Alchemical Crystal",
|
||||
inventory_image = "equivalent_exchange_alchemical_crystal.png",
|
||||
emc = 512,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange_energy_collectors:mobius_fuel", {
|
||||
description = "Mobius Fuel",
|
||||
inventory_image = "equivalent_exchange_mobius_fuel.png",
|
||||
emc = 2048,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange_energy_collectors:aeternalis_fuel", {
|
||||
description = "Aeternalis Fuel",
|
||||
inventory_image = "equivalent_exchange_aeternalis_fuel.png",
|
||||
emc = 8192,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange_energy_collectors:red_matter", {
|
||||
description = "Red Matter",
|
||||
inventory_image = "equivalent_exchange_red_matter.png",
|
||||
emc = 139264
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange_energy_collectors:antimatter", {
|
||||
description = "Antimatter",
|
||||
inventory_image = "equivalent_exchange_antimatter.png",
|
||||
emc = 466944
|
||||
})
|
||||
|
||||
-- Registering Crafts --
|
||||
|
||||
local fuels = {"default:diamond","equivalent_exchange_energy_collectors:alchemical_crystal","equivalent_exchange_energy_collectors:mobius_fuel","equivalent_exchange_energy_collectors:aeternalis_fuel"}
|
||||
|
||||
for i = 2,4 do
|
||||
minetest["register_craft"]({
|
||||
type = "shapeless",
|
||||
output = fuels[i],
|
||||
recipe = {"equivalent_exchange:philosophers_stone", fuels[i-1], fuels[i-1], fuels[i-1],fuels[i-1]},
|
||||
replacements = {
|
||||
{"equivalent_exchange:philosophers_stone", "equivalent_exchange:philosophers_stone"}
|
||||
}
|
||||
})
|
||||
minetest["register_craft"]({
|
||||
type = "shapeless",
|
||||
output = fuels[i-1].." 4",
|
||||
recipe = {"equivalent_exchange:philosophers_stone", fuels[i]},
|
||||
replacements = {
|
||||
{"equivalent_exchange:philosophers_stone", "equivalent_exchange:philosophers_stone"}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange_energy_collectors:red_matter",
|
||||
recipe = {
|
||||
{"equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel"},
|
||||
{"equivalent_exchange_energy_collectors:aeternalis_fuel", "default:mese", "equivalent_exchange_energy_collectors:aeternalis_fuel"},
|
||||
{"equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange_energy_collectors:antimatter",
|
||||
recipe = {
|
||||
{"equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel"},
|
||||
{"equivalent_exchange_energy_collectors:red_matter","equivalent_exchange_energy_collectors:red_matter","equivalent_exchange_energy_collectors:red_matter"},
|
||||
{"equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:aeternalis_fuel"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange_energy_collectors:red_matter_block",
|
||||
recipe = {
|
||||
{"equivalent_exchange_energy_collectors:red_matter", "equivalent_exchange_energy_collectors:red_matter", "equivalent_exchange_energy_collectors:red_matter"},
|
||||
{"equivalent_exchange_energy_collectors:red_matter", "equivalent_exchange_energy_collectors:red_matter", "equivalent_exchange_energy_collectors:red_matter"},
|
||||
{"equivalent_exchange_energy_collectors:red_matter", "equivalent_exchange_energy_collectors:red_matter", "equivalent_exchange_energy_collectors:red_matter"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange_energy_collectors:antimatter_block",
|
||||
recipe = {
|
||||
{"equivalent_exchange_energy_collectors:antimatter", "equivalent_exchange_energy_collectors:antimatter", "equivalent_exchange_energy_collectors:antimatter"},
|
||||
{"equivalent_exchange_energy_collectors:antimatter", "equivalent_exchange_energy_collectors:antimatter", "equivalent_exchange_energy_collectors:antimatter"},
|
||||
{"equivalent_exchange_energy_collectors:antimatter", "equivalent_exchange_energy_collectors:antimatter", "equivalent_exchange_energy_collectors:antimatter"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange_energy_collectors:condensed_antimatter",
|
||||
recipe = {
|
||||
{"equivalent_exchange_energy_collectors:antimatter_block", "equivalent_exchange_energy_collectors:antimatter_block", "equivalent_exchange_energy_collectors:antimatter_block"},
|
||||
{"equivalent_exchange_energy_collectors:antimatter_block", "equivalent_exchange_energy_collectors:aeternalis_fuel", "equivalent_exchange_energy_collectors:antimatter_block"},
|
||||
{"equivalent_exchange_energy_collectors:antimatter_block", "equivalent_exchange_energy_collectors:antimatter_block", "equivalent_exchange_energy_collectors:antimatter_block"}
|
||||
}
|
||||
})
|
Before Width: | Height: | Size: 428 B After Width: | Height: | Size: 428 B |
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 449 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 503 B After Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 485 B After Width: | Height: | Size: 485 B |
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 577 B |
Before Width: | Height: | Size: 654 B After Width: | Height: | Size: 654 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 327 B After Width: | Height: | Size: 327 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 498 B |
Before Width: | Height: | Size: 324 B After Width: | Height: | Size: 324 B |
Before Width: | Height: | Size: 513 B After Width: | Height: | Size: 513 B |
Before Width: | Height: | Size: 524 B After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 719 B After Width: | Height: | Size: 719 B |
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 453 B |
Before Width: | Height: | Size: 227 B After Width: | Height: | Size: 227 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 407 B |
3
equivalent_exchange_extras/depends.txt
Normal file
@ -0,0 +1,3 @@
|
||||
default
|
||||
equivalent_exchange
|
||||
equivalent_exchange_energy_collectors
|
1
equivalent_exchange_extras/init.lua
Normal file
@ -0,0 +1 @@
|
||||
print ("[equivalent_exchange_extras] Mod loaded!")
|
0
modpack.txt
Normal file
212
normal_items.lua
@ -1,212 +0,0 @@
|
||||
-- Registering Nodes --
|
||||
|
||||
minetest.register_node("equivalent_exchange:red_matter_block", {
|
||||
description = "Red Matter Block",
|
||||
tiles = {
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png",
|
||||
"equivalent_exchange_red_matter_block.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 3},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
emc = 1253376
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange:antimatter_block", {
|
||||
description = "Antimatter Block",
|
||||
tiles = {
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png",
|
||||
"equivalent_exchange_antimatter_block.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 3},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
emc = 4202496
|
||||
})
|
||||
|
||||
minetest.register_node("equivalent_exchange:condensed_antimatter", {
|
||||
description = "Condensed Antimatter",
|
||||
tiles = {
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png",
|
||||
"equivalent_exchange_condensed_antimatter.png"
|
||||
},
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky = 5},
|
||||
is_ground_content = false,
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
emc = 33628160
|
||||
})
|
||||
|
||||
-- Registering Craft Items --
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:low_covalence", {
|
||||
description = "Low Covalence Dust",
|
||||
inventory_image = "equivalent_exchange_low_covalence.png",
|
||||
emc = 1,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:medium_covalence", {
|
||||
description = "Medium Covalence Dust",
|
||||
inventory_image = "equivalent_exchange_medium_covalence.png",
|
||||
emc = 8,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:high_covalence", {
|
||||
description = "High Covalence Dust",
|
||||
inventory_image = "equivalent_exchange_high_covalence.png",
|
||||
emc = 208,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:alchemical_crystal", {
|
||||
description = "Alchemical Crystal",
|
||||
inventory_image = "equivalent_exchange_alchemical_crystal.png",
|
||||
emc = 512,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:mobius_fuel", {
|
||||
description = "Mobius Fuel",
|
||||
inventory_image = "equivalent_exchange_mobius_fuel.png",
|
||||
emc = 2048,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:aeternalis_fuel", {
|
||||
description = "Aeternalis Fuel",
|
||||
inventory_image = "equivalent_exchange_aeternalis_fuel.png",
|
||||
emc = 8192,
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:red_matter", {
|
||||
description = "Red Matter",
|
||||
inventory_image = "equivalent_exchange_red_matter.png",
|
||||
emc = 139264
|
||||
})
|
||||
|
||||
minetest.register_craftitem("equivalent_exchange:antimatter", {
|
||||
description = "Antimatter",
|
||||
inventory_image = "equivalent_exchange_antimatter.png",
|
||||
emc = 466944
|
||||
})
|
||||
|
||||
-- Registering Crafts --
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "equivalent_exchange:low_covalence 40",
|
||||
recipe = {"default:cobble", "default:cobble", "default:cobble",
|
||||
"default:cobble", "default:cobble", "default:cobble",
|
||||
"default:cobble", "default:cobble", "default:coal_lump"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "equivalent_exchange:medium_covalence 40",
|
||||
recipe = {"default:steel_ingot", "default:bronze_ingot"}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "equivalent_exchange:high_covalence 40",
|
||||
recipe = {"default:diamond", "default:mese_crystal"}
|
||||
})
|
||||
|
||||
local materials = {"wood","stone","steel","bronze","mese","diamond"}
|
||||
local covalence = {"low_covalence","low_covalence","medium_covalence","medium_covalence","high_covalence","high_covalence"}
|
||||
local tools = {"pick_","shovel_","axe_","sword_","hoe_"}
|
||||
local type = {"default:","default:","default:","default:","farming:"}
|
||||
|
||||
|
||||
for i = 1,6 do
|
||||
for j = 1,5 do
|
||||
minetest["register_craft"]({
|
||||
type = "shapeless",
|
||||
output = type[j]..tools[j]..materials[i],
|
||||
recipe = {"equivalent_exchange:"..covalence[i], "equivalent_exchange:"..covalence[i], "equivalent_exchange:"..covalence[i], type[j]..tools[j]..materials[i]}
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "screwdriver:screwdriver",
|
||||
recipe = {"equivalent_exchange:medium_covalence", "equivalent_exchange:medium_covalence", "equivalent_exchange:medium_covalence", "screwdriver:screwdriver"}
|
||||
})
|
||||
|
||||
local fuels = {"default:diamond","equivalent_exchange:alchemical_crystal","equivalent_exchange:mobius_fuel","equivalent_exchange:aeternalis_fuel"}
|
||||
|
||||
for i = 2,4 do
|
||||
minetest["register_craft"]({
|
||||
type = "shapeless",
|
||||
output = fuels[i],
|
||||
recipe = {"equivalent_exchange:philosophers_stone", fuels[i-1], fuels[i-1], fuels[i-1],fuels[i-1]},
|
||||
replacements = {
|
||||
{"equivalent_exchange:philosophers_stone", "equivalent_exchange:philosophers_stone"}
|
||||
}
|
||||
})
|
||||
minetest["register_craft"]({
|
||||
type = "shapeless",
|
||||
output = fuels[i-1].." 4",
|
||||
recipe = {"equivalent_exchange:philosophers_stone", fuels[i]},
|
||||
replacements = {
|
||||
{"equivalent_exchange:philosophers_stone", "equivalent_exchange:philosophers_stone"}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:red_matter",
|
||||
recipe = {
|
||||
{"equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel"},
|
||||
{"equivalent_exchange:aeternalis_fuel", "default:mese", "equivalent_exchange:aeternalis_fuel"},
|
||||
{"equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:antimatter",
|
||||
recipe = {
|
||||
{"equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel"},
|
||||
{"equivalent_exchange:red_matter","equivalent_exchange:red_matter","equivalent_exchange:red_matter"},
|
||||
{"equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel", "equivalent_exchange:aeternalis_fuel"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:red_matter_block",
|
||||
recipe = {
|
||||
{"equivalent_exchange:red_matter", "equivalent_exchange:red_matter", "equivalent_exchange:red_matter"},
|
||||
{"equivalent_exchange:red_matter", "equivalent_exchange:red_matter", "equivalent_exchange:red_matter"},
|
||||
{"equivalent_exchange:red_matter", "equivalent_exchange:red_matter", "equivalent_exchange:red_matter"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:antimatter_block",
|
||||
recipe = {
|
||||
{"equivalent_exchange:antimatter", "equivalent_exchange:antimatter", "equivalent_exchange:antimatter"},
|
||||
{"equivalent_exchange:antimatter", "equivalent_exchange:antimatter", "equivalent_exchange:antimatter"},
|
||||
{"equivalent_exchange:antimatter", "equivalent_exchange:antimatter", "equivalent_exchange:antimatter"}
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "equivalent_exchange:condensed_antimatter",
|
||||
recipe = {
|
||||
{"equivalent_exchange:antimatter_block", "equivalent_exchange:antimatter_block", "equivalent_exchange:antimatter_block"},
|
||||
{"equivalent_exchange:antimatter_block", "equivalent_exchange:aeternalis_fuel", "equivalent_exchange:antimatter_block"},
|
||||
{"equivalent_exchange:antimatter_block", "equivalent_exchange:antimatter_block", "equivalent_exchange:antimatter_block"}
|
||||
}
|
||||
})
|