mirror of
https://github.com/ZNixian/equivalent_exchange.git
synced 2024-12-26 23:17:28 +01:00
organization
This commit is contained in:
parent
96158272c1
commit
65a6158b5f
@ -1,63 +0,0 @@
|
|||||||
--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"}
|
|
||||||
})
|
|
1
init.lua
1
init.lua
@ -2,7 +2,6 @@ dofile(minetest.get_modpath("equivalent_exchange").."/emcs.lua")
|
|||||||
dofile(minetest.get_modpath("equivalent_exchange").."/alchemical_chest.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").."/alchemy_bag.lua")
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/condenser.lua")
|
dofile(minetest.get_modpath("equivalent_exchange").."/condenser.lua")
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/covalence_dust.lua")
|
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/energy_collector.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").."/philosophers_stone.lua")
|
||||||
dofile(minetest.get_modpath("equivalent_exchange").."/normal_items.lua")
|
dofile(minetest.get_modpath("equivalent_exchange").."/normal_items.lua")
|
||||||
|
@ -53,6 +53,24 @@ minetest.register_node("equivalent_exchange:condensed_antimatter", {
|
|||||||
|
|
||||||
-- Registering Craft Items --
|
-- 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", {
|
minetest.register_craftitem("equivalent_exchange:alchemical_crystal", {
|
||||||
description = "Alchemical Crystal",
|
description = "Alchemical Crystal",
|
||||||
inventory_image = "equivalent_exchange_alchemical_crystal.png",
|
inventory_image = "equivalent_exchange_alchemical_crystal.png",
|
||||||
@ -85,6 +103,48 @@ minetest.register_craftitem("equivalent_exchange:antimatter", {
|
|||||||
|
|
||||||
-- Registering Crafts --
|
-- 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"}
|
local fuels = {"default:diamond","equivalent_exchange:alchemical_crystal","equivalent_exchange:mobius_fuel","equivalent_exchange:aeternalis_fuel"}
|
||||||
|
|
||||||
for i = 2,4 do
|
for i = 2,4 do
|
||||||
|
Loading…
Reference in New Issue
Block a user