Added items, blocks, crafting recipes, and a few more files
This commit is contained in:
parent
57282fbaa0
commit
a447ac8abd
5 changed files with 70 additions and 15 deletions
0
aliases.lua
Normal file
0
aliases.lua
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
minetest.register_craftitem("aether2_minetest: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", {
|
||||||
|
description = "Ambrosium SHard",
|
||||||
|
inventory_image = "ambrosium_shard.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("aether2_minetest:aechor_petal", {
|
||||||
|
description = "Aechor Petal",
|
||||||
|
inventory_image = "aechor_petal.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("aether2_minetest:golden_amber", {
|
||||||
|
description = "Golden Amber",
|
||||||
|
inventory_image = "golden_amber.png",
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craftitem("aether2_minetest: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_minetest:blue_berry", {
|
||||||
|
description = "Blue Berry",
|
||||||
|
inventory_image = "blue_berry.png"
|
||||||
|
})
|
13
crafting.lua
Normal file
13
crafting.lua
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'aether2_minetest:skyroot_planks',
|
||||||
|
recipe = {
|
||||||
|
{'aether2_minetest:skyroot_logs'},
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = 'aether2_minetest:golden_oak_planks',
|
||||||
|
recipe = {
|
||||||
|
{'aether2_minetest:golden_oak_logs'},
|
||||||
|
}
|
||||||
|
})
|
1
init.lua
1
init.lua
|
@ -2,6 +2,7 @@ aether2_minetest = {}
|
||||||
|
|
||||||
--Load File
|
--Load File
|
||||||
dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt")
|
dofile(minetest.get_modpath("aether2_minetest") .. "/config.txt")
|
||||||
|
dofile(minetest.get_modpath("aether2_minetest") .. "/aliases.lua")
|
||||||
|
|
||||||
if run_ABM then
|
if run_ABM then
|
||||||
dofile(minetest.get_modpath('aether2_minetest')..'/abm.lua')
|
dofile(minetest.get_modpath('aether2_minetest')..'/abm.lua')
|
||||||
|
|
30
nodes.lua
30
nodes.lua
|
@ -66,23 +66,23 @@ 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},
|
||||||
drop = {
|
|
||||||
max_items = 1,
|
|
||||||
items = {
|
|
||||||
{
|
|
||||||
-- player will get sapling with 1/20 chance
|
|
||||||
items = {'aether2_minetest:skyroot_sapling'},
|
|
||||||
rarity = 20,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
-- player will get leaves only if he get no saplings,
|
|
||||||
-- this is because max_items is 1
|
|
||||||
items = {'default:leaves'},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
|
||||||
after_place_node = default.after_place_leaves,
|
after_place_node = default.after_place_leaves,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
minetest.register_node("aether2_minetest: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(),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue