Redid most of the mod because it wasnt working

This commit is contained in:
TechRunner2 2017-01-23 15:44:37 -06:00
parent bfe9011e72
commit 265dc887cf
54 changed files with 70 additions and 121 deletions

View file

View file

@ -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

View file

@ -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

View file

View file

@ -1,41 +1,35 @@
minetest.register_craftitem("aether2_minetest:skyroot_stick",{ minetest.register_craftitem("aether2:skyroot_stick",{
description = "Skyroot Stick", description = "Skyroot Stick",
inventory_image = "skyroot_stick.png", inventory_image = "skyroot_stick.png",
groups = {flammable = 2}, groups = {flammable = 2},
}) })
minetest.register_craftitem("aether2_minetest:golden_oak_stick", { minetest.register_craftitem("aether2:ambrosium_shard", {
description = "Golden Oak Stick",
inventory_image = "golden_oak_stick.png",
groups = {flammable = 2},
})
minetest.register_craftitem("aether2_minetest:ambrosium_shard", {
description = "Ambrosium SHard", description = "Ambrosium SHard",
inventory_image = "ambrosium_shard.png", inventory_image = "ambrosium_shard.png",
}) })
minetest.register_craftitem("aether2_minetest:aechor_petal", { minetest.register_craftitem("aether2:aechor_petal", {
description = "Aechor Petal", description = "Aechor Petal",
inventory_image = "aechor_petal.png", inventory_image = "aechor_petal.png",
}) })
minetest.register_craftitem("aether2_minetest:golden_amber", { minetest.register_craftitem("aether2:golden_amber", {
description = "Golden Amber", description = "Golden Amber",
inventory_image = "golden_amber.png", inventory_image = "golden_amber.png",
}) })
minetest.register_craftitem("aether2_minetest:zanite_gemstone", { minetest.register_craftitem("aether2:zanite_gemstone", {
description = "Zanite Gemstone", description = "Zanite Gemstone",
inventory_image = "zanite_gemstone.png", inventory_image = "zanite_gemstone.png",
}) })
minetest.register_craftitem("aether2_minetest:continuum_orb", { minetest.register_craftitem("aether2:continuum_orb", {
description = "Continuum Orb" description = "Continuum Orb",
inventory_image = "continuum_orb.png" inventory_image = "continuum_orb.png",
}) })
minetest.register_craftitem("aether2_minetest:blue_berry", { minetest.register_craftitem("aether2:blueberries", {
description = "Blue Berry", description = "Blue Berries",
inventory_image = "blue_berry.png" inventory_image = "blueberries.png"
}) })

View file

@ -1,13 +1,13 @@
minetest.register_craft({ minetest.register_craft({
output = 'aether2_minetest:skyroot_planks', output = 'aether2:skyroot_planks 4',
recipe = { recipe = {
{'aether2_minetest:skyroot_logs'}, {'aether2:skyroot_logs'},
} }
}) })
minetest.register_craft({ minetest.register_craft({
output = 'aether2_minetest:golden_oak_planks', output = 'aether2:golden_oak_planks 4',
recipe = { recipe = {
{'aether2_minetest:golden_oak_logs'}, {'aether2:golden_oak_logs'},
} }
}) })

View file

View file

View file

@ -1,14 +1,4 @@
aether2_minetest = {} dofile(minetest.get_modpath('aether2') .. '/nodes.lua')
local default_path = minetest.get_modpath("aether2_minetest") dofile(minetest.get_modpath('aether2') .. '/tools.lua')
--Load File dofile(minetest.get_modpath('aether2') .. '/crafting.lua')
dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt") dofile(minetest.get_modpath('aether2') .. '/craft_items.lua')
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')

View file

View file

@ -1 +0,0 @@
name = aether

1
mon.conf Normal file
View file

@ -0,0 +1 @@
name = aether2

View file

@ -1,64 +1,59 @@
-- Groups = crumbly =dirt, cracky = stone, snappy = leaves, choppy = wood, explody, oddly_breakable_by_hand -- 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 --Dirts
minetest.register_node("aether2_minetest:aether_dirt", { minetest.register_node("aether2:aether_dirt", {
description = 'Aether Dirt', description = 'Aether Dirt',
tiles = {"aether_dirt"}, tiles = {"aether_dirt.png"},
groups = {crumbly = 1}, 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", description = "Aether Grass",
tiles = {"aether_grass.png", "aether_dirt.png", tiles = {"aether_grass_top.png", "aether_dirt.png",
{name = "aether_dirt.png^aether_grass_side.png", {name = "aether_grass_side.png",
tileable_vertical = false}}, tileable_vertical = false}},
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1}, groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
drop = 'aether_dirt', drop = 'aether_dirt',
sounds = default.node_sound_dirt_defaults({
footstep = {name = "default_grass_footstep", gain = 0.25},
}),
}) })
--Stones --Stones
minetest.register_node("aether2_minetest:hollystone", { minetest.register_node("aether2:holystone", {
description = "Hollystone", description = "Holystone",
tiles = {"holystone.png"}, tiles = {"holystone.png"},
groups = {cracky = 3}, groups = {aetherstone = 1},
drop = 'default:coal_lump',
sounds = default.node_sound_stone_defaults(),
}) })
--Trees --Trees
minetest.register_node("aether2_minetest:skyroot_logs", { minetest.register_node("aether2:skyroot_logs", {
description = "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", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
groups = {tree = 1, choppy = 2,}, groups = {aehtertree = 1},
sounds = default.node_sound_wood_defaults(), on_place = minetest.rotate_node,
on_place = minetest.rotate_node
}) })
minetest.register_node("aether2_minetest:golden_oak_logs", { minetest.register_node("aether2:golden_oak_logs", {
description = "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", paramtype2 = "facedir",
is_ground_content = false, is_ground_content = false,
groups = {tree = 1, choppy = 2,}, groups = {tree = 1, choppy = 2,},
sounds = default.node_sound_wood_defaults(), on_place = minetest.rotate_node,
drop = { drop = {
} }
on_place = minetest.rotate_node
}) })
minetest.register_node("aether2_minetest:skyroot_leaves", { minetest.register_node("aether2:skyroot_leaves", {
description = "Skyroot Leaves", description = "Skyroot Leaves",
drawtype = "allfaces_optional", drawtype = "allfaces_optional",
waving = 1, waving = 1,
@ -67,34 +62,34 @@ minetest.register_node("aether2_minetest:skyroot_leaves", {
paramtype = "light", paramtype = "light",
is_ground_content = false, is_ground_content = false,
groups = {snappy = 3, leafdecay = 3, leaves = 1}, groups = {snappy = 3, leafdecay = 3, leaves = 1},
})
sounds = default.node_sound_leaves_defaults(), minetest.register_node("aether2:golden_oak_leaves", {
description = "Golden Oak Leaves",
after_place_node = default.after_place_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", description = "Skyroot Planks",
tiles = {"skyroot_planks.png"}, tiles = {"skyroot_planks.png"},
groupts = {choppy=1, oddly_breakable_by_hand=1}, 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 --Placeable Items
minetest.register_node("aether2_minetest:ambrosium_torch", { minetest.register_node("aether2:ambrosium_torch", {
description = "Ambrosium Torch", description = "Ambrosium Torch",
drawtype = "mesh", drawtype = "mesh",
mesh = "ambrosium_torch_floor.obj", mesh = "ambrosium_torch_floor.obj",
inventory_image = "ambrosium_torch.png", inventory_image = "ambrosium_torch.png",
wield_image - "ambrosium_torch.png", wield_image = "ambrosium_torch.png",
tiles = {{ tiles = {{
name = "ambrosium_torch_animated.png", name = "ambrosium_torch_animated.png",
animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3} animation = {type = "vertical_frames", aspect_w = 16, aspect_h = 16, length = 3.3}

BIN
textures/aechor_petal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
textures/aether_dirt.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
textures/arkenium_axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 505 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 441 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 389 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
textures/blueberries.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
textures/golden_amber.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
textures/golden_oak_log.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
textures/gravitite_axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 757 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 729 B

BIN
textures/holystone.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
textures/holystone_axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
textures/skyroot_axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 B

BIN
textures/skyroot_leaves.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
textures/skyroot_log.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

BIN
textures/skyroot_planks.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 435 B

BIN
textures/skyroot_shovel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 B

BIN
textures/skyroot_stick.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
textures/valkyrie_axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 B

BIN
textures/zanite_axe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 776 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
textures/zanite_pickaxe.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 696 B

BIN
textures/zanite_shovel.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

View file

@ -1,14 +1,26 @@
--Groups = aetherstone, aehterdirt, aethertemple --Groups = aetherstone, aehterdirt, aethertemple
minetest.register_tool("aether2_minetest:pick_hollystone", { minetest.register_tool("aether2:pick_hollystone", {
description = "Hollystone Pickaxe", description = "Hollystone Pickaxe",
inventory_image = "pick_hollystone.png", inventory_image = "holystone_pickaxe.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 1.3, full_punch_interval = 1.3,
max_drop_level =0, max_drop_level =0,
groupcaps={ 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}, damage_groups = {fleshy=3},
} }
sound = {breaks = "default_tool_stonepick"},
}) })