diff --git a/aliases.lua b/aliases.lua index 0010a8a..8db1755 100644 --- a/aliases.lua +++ b/aliases.lua @@ -1,3 +1,4 @@ +--Nodes minetest.register_alias("aether_dirt","aether2_minetest:aether_dirt") minetest.register_alias("hollystone","aether2_minetest:hollystone") minetest.register_alias("skyroot","aether2_minetest:skyroot_logs") @@ -7,4 +8,18 @@ minetest.register_alias("skyroot_leaves","aether2_minetest:skyroot_leaves") minetest.register_alias("skyroot_planks","aether2_minetest:skyroot_planks") minetest.register_alias("golden_oak_planks","aether2_minetest:golden_oak_planks") minetest.register_alias("ambrosium_torch","aether2_minetest:ambrosium_torch") -minetest.register_alias("golden_oak","aether2_minetest:golden_oak_logs") + +--Items +minetest.register_alias("skyroot_stick","aether2_minetest:skyroot_stick") +minetest.register_alias("golden_oak_stick","aether2_minetest:golden_oak_stick") +minetest.register_alias("ambrosium_shard","aether2_minetest:ambrosium_shard") +minetest.register_alias("aechor_petal","aether2_minetest:aechor_petal") +minetest.register_alias("golden_amber","aether2_minetest:golden_amber") +minetest.register_alias("skyroot_stick","aether2_minetest:skyroot_stick") +minetest.register_alias("zanite_gemstone","aether2_minetest:zanite_gemstone") +minetest.register_alias("continuum_orb","aether2_minetest:continuum_orb") +minetest.register_alias("blueberry","aether2_minetest:blue_berry") + +--Armor + +--Tools diff --git a/config.txt b/config.txt index 6246bc9..db9467a 100644 --- a/config.txt +++ b/config.txt @@ -1,10 +1,18 @@ --Enable or Disable parts of the mod -run_ABM = true -enable_mobs = true -enable_crafting = true -enable_nodes = true -enable_cooking = true -enable_items = true -enable_fuels = true -enable_tools = true -enable_functions = true +run_ABM = false + +enable_mobs = false + +enable_crafting = false + +enable_nodes = false + +enable_cooking = false + +enable_items = false + +enable_fuels = false + +enable_tools = false + +enable_functions = false diff --git a/init.lua b/init.lua index 59bc353..8c2c2f4 100644 --- a/init.lua +++ b/init.lua @@ -1,35 +1,33 @@ aether2_minetest = {} local default_path = minetest.get_modpath("aether2_minetest") - - --Load File - dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt") - dofile(minetest.get_modpath("aether2_minetest") .. "/aliases.lua") +dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt") +dofile(minetest.get_modpath("aether2_minetest") .. "/aliases.lua") -if run_ABM then +if run_ABM == true then dofile(minetest.get_modpath('aether2_minetest')..'/abm.lua') end -if enable_mobs then +if enable_mobs == true then dofile(minetest.get_modpath('aether2_minetest')..'/mobs.lua') end -if enable_crafting then +if enable_crafting == true then dofile(minetest.get_modpath('aether2_minetest')..'/crafting.lua') end -if enable_nodes then +if enable_nodes == true then dofile(minetest.get_modpath('aether2_minetest')..'/nodes.lua') end -if enable_cooking then +if enable_cooking == true then dofile(minetest.get_modpath('aether2_minetest')..'/cooking.lua') end -if enable_items then +if enable_items == true then dofile(minetest.get_modpath('aether2_minetest')..'/craft_items.lua') end -if enable_fuels then +if enable_fuels == true then dofile(minetest.get_modpath('aether2_minetest')..'/fuels.lua') end -if enable_tools then +if enable_tools == true then dofile(minetest.get_modpath('aether2_minetest')..'/tools.lua') end -if enable_functions then +if enable_functions == true then dofile(minetest.get_modpath('aether2_minetest')..'/functions.lua') end diff --git a/tools.lua b/tools.lua index e69de29..11ce4e5 100644 --- a/tools.lua +++ b/tools.lua @@ -0,0 +1,14 @@ +--Groups = aetherstone, aehterdirt, aethertemple +minetest.register_tool("aether2_minetest:pick_hollystone", { + description = "Hollystone Pickaxe", + inventory_image = "pick_hollystone.png", + tool_capabilities = { + full_punch_interval = 1.3, + max_drop_level =0, + groupcaps={ + aetherstone = {times={[2]=2.0, [3]=1.00}, uses=132} + }, + damage_groups = {fleshy=3}, + } + sound = {breaks = "default_tool_stonepick"}, +})