diff --git a/abm.lua b/abm.lua deleted file mode 100644 index e69de29..0000000 diff --git a/aliases.lua b/aliases.lua deleted file mode 100644 index 8db1755..0000000 --- a/aliases.lua +++ /dev/null @@ -1,25 +0,0 @@ ---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") -minetest.register_alias("golden_oak","aether2_minetest:golden_oak_logs") -minetest.register_alias("aether_grass","aether2_minetest:aether_dirt_with_grass") -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") - ---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 deleted file mode 100644 index d1e2c21..0000000 --- a/config.txt +++ /dev/null @@ -1,17 +0,0 @@ -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 diff --git a/cooking.lua b/cooking.lua deleted file mode 100644 index e69de29..0000000 diff --git a/craft_items.lua b/craft_items.lua index ca932ea..383c966 100644 --- a/craft_items.lua +++ b/craft_items.lua @@ -1,41 +1,35 @@ -minetest.register_craftitem("aether2_minetest:skyroot_stick",{ +minetest.register_craftitem("aether2:skyroot_stick",{ description = "Skyroot Stick", inventory_image = "skyroot_stick.png", groups = {flammable = 2}, }) -minetest.register_craftitem("aether2_minetest:golden_oak_stick", { - description = "Golden Oak Stick", - inventory_image = "golden_oak_stick.png", - groups = {flammable = 2}, -}) - -minetest.register_craftitem("aether2_minetest:ambrosium_shard", { +minetest.register_craftitem("aether2:ambrosium_shard", { description = "Ambrosium SHard", inventory_image = "ambrosium_shard.png", }) -minetest.register_craftitem("aether2_minetest:aechor_petal", { +minetest.register_craftitem("aether2:aechor_petal", { description = "Aechor Petal", inventory_image = "aechor_petal.png", }) -minetest.register_craftitem("aether2_minetest:golden_amber", { +minetest.register_craftitem("aether2:golden_amber", { description = "Golden Amber", inventory_image = "golden_amber.png", }) -minetest.register_craftitem("aether2_minetest:zanite_gemstone", { +minetest.register_craftitem("aether2:zanite_gemstone", { description = "Zanite Gemstone", inventory_image = "zanite_gemstone.png", }) -minetest.register_craftitem("aether2_minetest:continuum_orb", { - description = "Continuum Orb" - inventory_image = "continuum_orb.png" +minetest.register_craftitem("aether2:continuum_orb", { + description = "Continuum Orb", + inventory_image = "continuum_orb.png", }) -minetest.register_craftitem("aether2_minetest:blue_berry", { - description = "Blue Berry", - inventory_image = "blue_berry.png" +minetest.register_craftitem("aether2:blueberries", { + description = "Blue Berries", + inventory_image = "blueberries.png" }) diff --git a/crafting.lua b/crafting.lua index 3c29755..2956176 100644 --- a/crafting.lua +++ b/crafting.lua @@ -1,13 +1,13 @@ minetest.register_craft({ - output = 'aether2_minetest:skyroot_planks', + output = 'aether2:skyroot_planks 4', recipe = { - {'aether2_minetest:skyroot_logs'}, + {'aether2:skyroot_logs'}, } }) minetest.register_craft({ - output = 'aether2_minetest:golden_oak_planks', + output = 'aether2:golden_oak_planks 4', recipe = { - {'aether2_minetest:golden_oak_logs'}, + {'aether2:golden_oak_logs'}, } }) diff --git a/fuels.lua b/fuels.lua deleted file mode 100644 index e69de29..0000000 diff --git a/functions.lua b/functions.lua deleted file mode 100644 index e69de29..0000000 diff --git a/init.lua b/init.lua index 0d3782e..cbe36f7 100644 --- a/init.lua +++ b/init.lua @@ -1,14 +1,4 @@ -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')..'/abm.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/mobs.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/crafting.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/nodes.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/cooking.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/craft_items.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/fuels.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/tools.lua') -dofile(minetest.get_modpath('aether2_minetest')..'/functions.lua') +dofile(minetest.get_modpath('aether2') .. '/nodes.lua') +dofile(minetest.get_modpath('aether2') .. '/tools.lua') +dofile(minetest.get_modpath('aether2') .. '/crafting.lua') +dofile(minetest.get_modpath('aether2') .. '/craft_items.lua') diff --git a/mobs.lua b/mobs.lua deleted file mode 100644 index e69de29..0000000 diff --git a/mod.conf b/mod.conf deleted file mode 100644 index e2c60fe..0000000 --- a/mod.conf +++ /dev/null @@ -1 +0,0 @@ -name = aether diff --git a/mon.conf b/mon.conf new file mode 100644 index 0000000..4b57ba6 --- /dev/null +++ b/mon.conf @@ -0,0 +1 @@ +name = aether2 diff --git a/nodes.lua b/nodes.lua index d27c3d2..0d5f8ce 100644 --- a/nodes.lua +++ b/nodes.lua @@ -1,64 +1,59 @@ -- Groups = crumbly =dirt, cracky = stone, snappy = leaves, choppy = wood, explody, oddly_breakable_by_hand --- New groups = mushy(dirt), crackly(stone), temple(temple blocks) +-- New groups = aethersoil, aetherstone, temple, dungeon ,aehtertree --Dirts -minetest.register_node("aether2_minetest:aether_dirt", { +minetest.register_node("aether2:aether_dirt", { description = 'Aether Dirt', - tiles = {"aether_dirt"}, + tiles = {"aether_dirt.png"}, groups = {crumbly = 1}, - sounds = default.node_sound_dirt_defaults(), + }) -minetest.register_node("aether2_minetest:aether_dirt_with_grass", { +minetest.register_node("aether2:aether_dirt_with_grass", { description = "Aether Grass", - tiles = {"aether_grass.png", "aether_dirt.png", - {name = "aether_dirt.png^aether_grass_side.png", + tiles = {"aether_grass_top.png", "aether_dirt.png", + {name = "aether_grass_side.png", tileable_vertical = false}}, groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1}, drop = 'aether_dirt', - sounds = default.node_sound_dirt_defaults({ - footstep = {name = "default_grass_footstep", gain = 0.25}, - }), + }) --Stones -minetest.register_node("aether2_minetest:hollystone", { - description = "Hollystone", +minetest.register_node("aether2:holystone", { + description = "Holystone", tiles = {"holystone.png"}, - groups = {cracky = 3}, - drop = 'default:coal_lump', - sounds = default.node_sound_stone_defaults(), + groups = {aetherstone = 1}, }) --Trees -minetest.register_node("aether2_minetest:skyroot_logs", { +minetest.register_node("aether2:skyroot_logs", { description = "skyroot_logs", - tiles = {"skyroot_logs_top.png", "skyroot_logs_top.png", "skyroot_logs.png"}, + tiles = {"skyroot_log_top.png", "skyroot_log_top.png", "skyroot_log.png"}, paramtype2 = "facedir", is_ground_content = false, - groups = {tree = 1, choppy = 2,}, - sounds = default.node_sound_wood_defaults(), - - on_place = minetest.rotate_node + groups = {aehtertree = 1}, + on_place = minetest.rotate_node, }) -minetest.register_node("aether2_minetest:golden_oak_logs", { +minetest.register_node("aether2:golden_oak_logs", { description = "Golden Oak Logs", - tiles = {"golden_oak_logs_top.png", "golden_oak_logs_top.png", "golden_oak_logs.png"}, + tiles = {"golden_oak_log_top.png", "golden_oak_log_top.png", "golden_oak_log.png"}, paramtype2 = "facedir", is_ground_content = false, groups = {tree = 1, choppy = 2,}, - sounds = default.node_sound_wood_defaults(), + on_place = minetest.rotate_node, + drop = { + } - on_place = minetest.rotate_node }) -minetest.register_node("aether2_minetest:skyroot_leaves", { +minetest.register_node("aether2:skyroot_leaves", { description = "Skyroot Leaves", drawtype = "allfaces_optional", waving = 1, @@ -67,34 +62,34 @@ minetest.register_node("aether2_minetest:skyroot_leaves", { paramtype = "light", is_ground_content = false, groups = {snappy = 3, leafdecay = 3, leaves = 1}, +}) - sounds = default.node_sound_leaves_defaults(), - - after_place_node = default.after_place_leaves, +minetest.register_node("aether2:golden_oak_leaves", { + description = "Golden Oak Leaves", + drawtype = "allfaces_optional", + waving = 1, + tiles = {"golden_oak_leaves.png"}, + special_tiles = {"golden_oak_leaves.png"}, + paramtype = "light", + is_ground_content = false, + groups = {snappy = 3, leafdecay = 3, leaves = 1}, }) -minetest.register_node("aether2_minetest:skyroot_planks", { +minetest.register_node("aether2:skyroot_planks", { description = "Skyroot Planks", tiles = {"skyroot_planks.png"}, groupts = {choppy=1, oddly_breakable_by_hand=1}, - sounds = default.node_sound_wood_defaults(), -}) -minetest.register_node("aether2_minetest:golden_oak_planks", { - description = "Golden Oak Planks", - tiles = {"golden_oak_planks"}, - groups = {choppy=1, oddly_breakable_by_hand=1}, - sounds = default.node_sound_wood_defaults(), }) --Placeable Items -minetest.register_node("aether2_minetest:ambrosium_torch", { +minetest.register_node("aether2:ambrosium_torch", { description = "Ambrosium Torch", drawtype = "mesh", mesh = "ambrosium_torch_floor.obj", inventory_image = "ambrosium_torch.png", - wield_image - "ambrosium_torch.png", + wield_image = "ambrosium_torch.png", tiles = {{ name = "ambrosium_torch_animated.png", animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3} diff --git a/textures/aechor_petal.png b/textures/aechor_petal.png new file mode 100644 index 0000000..99c8d10 Binary files /dev/null and b/textures/aechor_petal.png differ diff --git a/textures/aether_dirt.png b/textures/aether_dirt.png new file mode 100644 index 0000000..c5bb64a Binary files /dev/null and b/textures/aether_dirt.png differ diff --git a/textures/aether_grass_side.png b/textures/aether_grass_side.png new file mode 100644 index 0000000..30e57f9 Binary files /dev/null and b/textures/aether_grass_side.png differ diff --git a/textures/aether_grass_top.png b/textures/aether_grass_top.png new file mode 100644 index 0000000..719d0bb Binary files /dev/null and b/textures/aether_grass_top.png differ diff --git a/textures/ambrosium_shard.png b/textures/ambrosium_shard.png new file mode 100644 index 0000000..53bd59e Binary files /dev/null and b/textures/ambrosium_shard.png differ diff --git a/textures/ambrosium_torch.png b/textures/ambrosium_torch.png new file mode 100644 index 0000000..042c2ae Binary files /dev/null and b/textures/ambrosium_torch.png differ diff --git a/textures/arkenium_axe.png b/textures/arkenium_axe.png new file mode 100644 index 0000000..b9a5be1 Binary files /dev/null and b/textures/arkenium_axe.png differ diff --git a/textures/arkenium_pickaxe.png b/textures/arkenium_pickaxe.png new file mode 100644 index 0000000..f96b3c1 Binary files /dev/null and b/textures/arkenium_pickaxe.png differ diff --git a/textures/arkenium_shears.png b/textures/arkenium_shears.png new file mode 100644 index 0000000..8439369 Binary files /dev/null and b/textures/arkenium_shears.png differ diff --git a/textures/arkenium_shovel.png b/textures/arkenium_shovel.png new file mode 100644 index 0000000..802929c Binary files /dev/null and b/textures/arkenium_shovel.png differ diff --git a/textures/blood_moss_holystone.png b/textures/blood_moss_holystone.png new file mode 100644 index 0000000..a7bc12b Binary files /dev/null and b/textures/blood_moss_holystone.png differ diff --git a/textures/blueberries.png b/textures/blueberries.png new file mode 100644 index 0000000..f9a49dc Binary files /dev/null and b/textures/blueberries.png differ diff --git a/textures/golden_amber.png b/textures/golden_amber.png new file mode 100644 index 0000000..27c16e2 Binary files /dev/null and b/textures/golden_amber.png differ diff --git a/textures/golden_oak_leaves.png b/textures/golden_oak_leaves.png new file mode 100644 index 0000000..2d84bcc Binary files /dev/null and b/textures/golden_oak_leaves.png differ diff --git a/textures/golden_oak_log.png b/textures/golden_oak_log.png new file mode 100644 index 0000000..9045765 Binary files /dev/null and b/textures/golden_oak_log.png differ diff --git a/textures/golden_oak_log_top.png b/textures/golden_oak_log_top.png new file mode 100644 index 0000000..d8e2211 Binary files /dev/null and b/textures/golden_oak_log_top.png differ diff --git a/textures/golden_oak_planks.png b/textures/golden_oak_planks.png new file mode 100644 index 0000000..042c2ae Binary files /dev/null and b/textures/golden_oak_planks.png differ diff --git a/textures/gravitite_axe.png b/textures/gravitite_axe.png new file mode 100644 index 0000000..abba827 Binary files /dev/null and b/textures/gravitite_axe.png differ diff --git a/textures/gravitite_pickaxe.png b/textures/gravitite_pickaxe.png new file mode 100644 index 0000000..9adfc70 Binary files /dev/null and b/textures/gravitite_pickaxe.png differ diff --git a/textures/gravitite_shovel.png b/textures/gravitite_shovel.png new file mode 100644 index 0000000..6bd9f98 Binary files /dev/null and b/textures/gravitite_shovel.png differ diff --git a/textures/holystone.png b/textures/holystone.png new file mode 100644 index 0000000..13fdcee Binary files /dev/null and b/textures/holystone.png differ diff --git a/textures/holystone_axe.png b/textures/holystone_axe.png new file mode 100644 index 0000000..bf14399 Binary files /dev/null and b/textures/holystone_axe.png differ diff --git a/textures/holystone_pickaxe.png b/textures/holystone_pickaxe.png new file mode 100644 index 0000000..4f90c3f Binary files /dev/null and b/textures/holystone_pickaxe.png differ diff --git a/textures/holystone_shovel.png b/textures/holystone_shovel.png new file mode 100644 index 0000000..ecedb50 Binary files /dev/null and b/textures/holystone_shovel.png differ diff --git a/textures/mossy_holystone.png b/textures/mossy_holystone.png new file mode 100644 index 0000000..e25f48b Binary files /dev/null and b/textures/mossy_holystone.png differ diff --git a/textures/skyroot_axe.png b/textures/skyroot_axe.png new file mode 100644 index 0000000..69cd76c Binary files /dev/null and b/textures/skyroot_axe.png differ diff --git a/textures/skyroot_leaves.png b/textures/skyroot_leaves.png new file mode 100644 index 0000000..b9799e1 Binary files /dev/null and b/textures/skyroot_leaves.png differ diff --git a/textures/skyroot_log.png b/textures/skyroot_log.png new file mode 100644 index 0000000..a44df16 Binary files /dev/null and b/textures/skyroot_log.png differ diff --git a/textures/skyroot_log_top.png b/textures/skyroot_log_top.png new file mode 100644 index 0000000..d8e2211 Binary files /dev/null and b/textures/skyroot_log_top.png differ diff --git a/textures/skyroot_pickaxe.png b/textures/skyroot_pickaxe.png new file mode 100644 index 0000000..ddb98e2 Binary files /dev/null and b/textures/skyroot_pickaxe.png differ diff --git a/textures/skyroot_planks.png b/textures/skyroot_planks.png new file mode 100644 index 0000000..8115b7d Binary files /dev/null and b/textures/skyroot_planks.png differ diff --git a/textures/skyroot_shovel.png b/textures/skyroot_shovel.png new file mode 100644 index 0000000..844e5d5 Binary files /dev/null and b/textures/skyroot_shovel.png differ diff --git a/textures/skyroot_stick.png b/textures/skyroot_stick.png new file mode 100644 index 0000000..59d23c0 Binary files /dev/null and b/textures/skyroot_stick.png differ diff --git a/textures/valkyrie_axe.png b/textures/valkyrie_axe.png new file mode 100644 index 0000000..5ef4700 Binary files /dev/null and b/textures/valkyrie_axe.png differ diff --git a/textures/valkyrie_pickaxe.png b/textures/valkyrie_pickaxe.png new file mode 100644 index 0000000..4cabfe3 Binary files /dev/null and b/textures/valkyrie_pickaxe.png differ diff --git a/textures/valkyrie_shovel.png b/textures/valkyrie_shovel.png new file mode 100644 index 0000000..fcf6a08 Binary files /dev/null and b/textures/valkyrie_shovel.png differ diff --git a/textures/zanite_axe.png b/textures/zanite_axe.png new file mode 100644 index 0000000..0cc742b Binary files /dev/null and b/textures/zanite_axe.png differ diff --git a/textures/zanite_gemstone.png b/textures/zanite_gemstone.png new file mode 100644 index 0000000..a04ef5a Binary files /dev/null and b/textures/zanite_gemstone.png differ diff --git a/textures/zanite_pickaxe.png b/textures/zanite_pickaxe.png new file mode 100644 index 0000000..d3fcf9a Binary files /dev/null and b/textures/zanite_pickaxe.png differ diff --git a/textures/zanite_shovel.png b/textures/zanite_shovel.png new file mode 100644 index 0000000..dd330cb Binary files /dev/null and b/textures/zanite_shovel.png differ diff --git a/tools.lua b/tools.lua index 11ce4e5..bf288d7 100644 --- a/tools.lua +++ b/tools.lua @@ -1,14 +1,26 @@ --Groups = aetherstone, aehterdirt, aethertemple -minetest.register_tool("aether2_minetest:pick_hollystone", { +minetest.register_tool("aether2:pick_hollystone", { description = "Hollystone Pickaxe", - inventory_image = "pick_hollystone.png", + inventory_image = "holystone_pickaxe.png", tool_capabilities = { full_punch_interval = 1.3, max_drop_level =0, groupcaps={ - aetherstone = {times={[2]=2.0, [3]=1.00}, uses=132} + aetherstone = {times={[1]=.75, [2]=2.0, [3]=1.00}, uses=132} + }, + damage_groups = {fleshy=3}, + } +}) + +minetest.register_tool("aether2:axe_hollystone", { + description = "Hollystone Axe", + inventory_image = "holystone_axe.png", + tool_capabilities = { + full_punch_interval = 1.3, + max_drop_level =0, + groupcaps={ + aehtertree = {times={[1]=.75, [2]=2.0, [3]=1.00}, uses=132} }, damage_groups = {fleshy=3}, } - sound = {breaks = "default_tool_stonepick"}, })