Added wield images
parent
a3e577a3ec
commit
4a29cc936a
|
@ -22,6 +22,7 @@ minetest.register_node("ethereal:crystal_spike", {
|
|||
minetest.register_craftitem("ethereal:crystal_ingot", {
|
||||
description = "Crystal Ingot",
|
||||
inventory_image = "crystal_ingot.png",
|
||||
wield_image = "crystal_ingot.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -63,6 +64,7 @@ minetest.register_craft({
|
|||
minetest.register_tool("ethereal:sword_crystal", {
|
||||
description = "Crystal Sword",
|
||||
inventory_image = "crystal_sword.png",
|
||||
wield_image = "crystal_sword.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.6,
|
||||
max_drop_level = 1,
|
||||
|
@ -90,6 +92,7 @@ minetest.register_craft({
|
|||
minetest.register_tool("ethereal:axe_crystal", {
|
||||
description = "Crystal Axe",
|
||||
inventory_image = "crystal_axe.png",
|
||||
wield_image = "crystal_axe.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.8,
|
||||
max_drop_level = 1,
|
||||
|
@ -117,6 +120,7 @@ minetest.register_craft({
|
|||
minetest.register_tool("ethereal:pick_crystal", {
|
||||
description = "Crystal Pickaxe",
|
||||
inventory_image = "crystal_pick.png",
|
||||
wield_image = "crystal_pick.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.7,
|
||||
max_drop_level = 3,
|
||||
|
|
10
extra.lua
10
extra.lua
|
@ -61,12 +61,15 @@ minetest.register_craft({
|
|||
minetest.register_node("ethereal:paper_wall", {
|
||||
drawtype = "nodebox",
|
||||
description = ("Paper Wall"),
|
||||
tiles = {"paper_wall.png",},
|
||||
tiles = {"paper_wall.png"},
|
||||
inventory_image_image = "paper_wall.png",
|
||||
wield_image = "paper_wall.png",
|
||||
paramtype = "light",
|
||||
groups = {snappy = 3},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
walkable = true,
|
||||
is_ground_content = false,
|
||||
sunlight_propagates = true,
|
||||
paramtype2 = "facedir",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -132,6 +135,7 @@ minetest.register_craft({
|
|||
minetest.register_craftitem("ethereal:charcoal_lump", {
|
||||
description = "Lump of Charcoal",
|
||||
inventory_image = "charcoal_lump.png",
|
||||
wield_image = "charcoal_lump.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -217,6 +221,7 @@ minetest.register_node("ethereal:illumishroom", {
|
|||
wield_image = "illumishroom.png",
|
||||
paramtype = "light",
|
||||
light_source = 5,
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {dig_immediate = 3, attached_node = 1,flammable = 3},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
@ -234,6 +239,7 @@ minetest.register_node("ethereal:illumishroom2", {
|
|||
wield_image = "illumishroom2.png",
|
||||
paramtype = "light",
|
||||
light_source = 5,
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {dig_immediate = 3, attached_node = 1,flammable = 3},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
@ -251,6 +257,7 @@ minetest.register_node("ethereal:illumishroom3", {
|
|||
wield_image = "illumishroom3.png",
|
||||
paramtype = "light",
|
||||
light_source = 5,
|
||||
sunlight_propagates = true,
|
||||
walkable = false,
|
||||
groups = {dig_immediate = 3, attached_node = 1,flammable = 3},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
|
@ -264,6 +271,7 @@ minetest.register_node("ethereal:illumishroom3", {
|
|||
minetest.register_tool("ethereal:light_staff", {
|
||||
description = "Staff of Light",
|
||||
inventory_image = "light_staff.png",
|
||||
wield_image = "light_staff.png",
|
||||
stack_max = 1,
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
minetest.register_craftitem("ethereal:fish_raw", {
|
||||
description = "Raw Fish",
|
||||
inventory_image = "fish_raw.png",
|
||||
wield_image = "fish_raw.png",
|
||||
on_use = minetest.item_eat(2),
|
||||
})
|
||||
|
||||
|
@ -9,6 +10,7 @@ minetest.register_craftitem("ethereal:fish_raw", {
|
|||
minetest.register_craftitem("ethereal:fish_cooked", {
|
||||
description = "Cooked Fish",
|
||||
inventory_image = "fish_cooked.png",
|
||||
wield_image = "fish_cooked.png",
|
||||
on_use = minetest.item_eat(5),
|
||||
})
|
||||
|
||||
|
@ -23,6 +25,7 @@ minetest.register_craft({
|
|||
minetest.register_craftitem("ethereal:sashimi", {
|
||||
description = "Sashimi",
|
||||
inventory_image = "sashimi.png",
|
||||
wield_image = "sashimi.png",
|
||||
on_use = minetest.item_eat(4),
|
||||
})
|
||||
|
||||
|
@ -37,12 +40,14 @@ minetest.register_craft({
|
|||
minetest.register_craftitem("ethereal:worm", {
|
||||
description = "Worm",
|
||||
inventory_image = "worm.png",
|
||||
wield_image = "worm.png",
|
||||
})
|
||||
|
||||
-- Fishing Rod
|
||||
minetest.register_craftitem("ethereal:fishing_rod", {
|
||||
description = "Fishing Rod",
|
||||
inventory_image = "fishing_rod.png",
|
||||
wield_image = "fishing_rod.png",
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
@ -94,4 +99,4 @@ minetest.register_craft({
|
|||
type = "shapeless",
|
||||
output = "ethereal:fishing_rod_baited",
|
||||
recipe = {"ethereal:fishing_rod", "ethereal:worm"},
|
||||
})
|
||||
})
|
||||
|
|
16
leaves.lua
16
leaves.lua
|
@ -14,6 +14,7 @@ minetest.register_node("ethereal:acacia_leaves", {
|
|||
drawtype = leaftype,
|
||||
tiles = {"moretrees_acacia_leaves.png"},
|
||||
inventory_image = "moretrees_acacia_leaves.png",
|
||||
wield_image = "moretrees_acacia_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
visual_scale = 1.2,
|
||||
|
@ -34,6 +35,7 @@ minetest.override_item("default:acacia_leaves", {
|
|||
drawtype = leaftype,
|
||||
tiles = {"moretrees_acacia_leaves.png"},
|
||||
inventory_image = "moretrees_acacia_leaves.png",
|
||||
wield_image = "moretrees_acacia_leaves.png",
|
||||
visual_scale = 1.2,
|
||||
walkable = false,
|
||||
drop = {
|
||||
|
@ -53,6 +55,7 @@ minetest.register_node("ethereal:willow_twig", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"willow_twig.png"},
|
||||
inventory_image = "willow_twig.png",
|
||||
wield_image = "willow_twig.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
visual_scale = 1.2,
|
||||
|
@ -76,6 +79,7 @@ minetest.register_node("ethereal:redwood_leaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"redwood_leaves.png"},
|
||||
inventory_image = "redwood_leaves.png",
|
||||
wield_image = "redwood_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -96,6 +100,7 @@ minetest.override_item("default:leaves", {
|
|||
drawtype = leaftype,
|
||||
visual_scale = 1.2,
|
||||
inventory_image = "default_leaves.png",
|
||||
wield_image = "default_leaves.png",
|
||||
walkable = false,
|
||||
drop = {
|
||||
max_items = 1,
|
||||
|
@ -113,6 +118,7 @@ minetest.register_node("ethereal:orange_leaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"orange_leaves.png"},
|
||||
inventory_image = "orange_leaves.png",
|
||||
wield_image = "orange_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -133,6 +139,7 @@ minetest.override_item("default:jungleleaves", {
|
|||
drawtype = leaftype,
|
||||
visual_scale = 1.2,
|
||||
inventory_image = "default_jungleleaves.png",
|
||||
wield_image = "default_jungleleaves.png",
|
||||
walkable = false,
|
||||
drop = {
|
||||
max_items = 1,
|
||||
|
@ -150,6 +157,7 @@ minetest.register_node("ethereal:bananaleaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"banana_leaf.png"},
|
||||
inventory_image = "banana_leaf.png",
|
||||
wield_image = "banana_leaf.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -172,6 +180,7 @@ minetest.register_node("ethereal:yellowleaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"yellow_leaves.png"},
|
||||
inventory_image = "yellow_leaves.png",
|
||||
wield_image = "yellow_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -197,6 +206,7 @@ minetest.register_node("ethereal:palmleaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"moretrees_palm_leaves.png"},
|
||||
inventory_image = "moretrees_palm_leaves.png",
|
||||
wield_image = "moretrees_palm_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -219,6 +229,7 @@ minetest.register_node("ethereal:birch_leaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"moretrees_birch_leaves.png"},
|
||||
inventory_image = "moretrees_birch_leaves.png",
|
||||
wield_image = "moretrees_birch_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -240,6 +251,7 @@ minetest.override_item("default:pine_needles", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"pine_leaves.png"},
|
||||
inventory_image = "pine_leaves.png",
|
||||
wield_image = "pine_leaves.png",
|
||||
walkable = false,
|
||||
drop = {
|
||||
max_items = 1,
|
||||
|
@ -259,6 +271,7 @@ minetest.register_node("ethereal:frost_leaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"ethereal_frost_leaves.png"},
|
||||
inventory_image = "ethereal_frost_leaves.png",
|
||||
wield_image = "ethereal_frost_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -332,6 +345,7 @@ minetest.register_node("ethereal:bamboo_leaves", {
|
|||
visual_scale = 1.2,
|
||||
tiles = {"bamboo_leaves.png"},
|
||||
inventory_image = "bamboo_leaves.png",
|
||||
wield_image = "bamboo_leaves.png",
|
||||
paramtype = "light",
|
||||
walkable = false,
|
||||
waving = 1,
|
||||
|
@ -345,4 +359,4 @@ minetest.register_node("ethereal:bamboo_leaves", {
|
|||
},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
after_place_node = default.after_place_leaves,
|
||||
})
|
||||
})
|
||||
|
|
|
@ -3,6 +3,7 @@ minetest.register_craftitem("ethereal:wild_onion_plant", {
|
|||
description = "Wild Onion",
|
||||
groups = {not_in_creative_inventory=1},
|
||||
inventory_image = "wild_onion.png",
|
||||
wield_image = "wild_onion.png",
|
||||
on_use = minetest.item_eat(2),
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:wild_onion_1")
|
||||
|
|
|
@ -7,6 +7,7 @@ ethereal.register_sapling = function(name, desc, texture)
|
|||
visual_scale = 1.0,
|
||||
tiles = {texture .. "_sapling.png"},
|
||||
inventory_image = texture .. "_sapling.png",
|
||||
wield_image = texture .. "_sapling.png",
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
|
|
12
sealife.lua
12
sealife.lua
|
@ -31,6 +31,7 @@ minetest.register_node("ethereal:coral2", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"coral2.png"},
|
||||
inventory_image = "coral2.png",
|
||||
wield_image = "coral2.png",
|
||||
paramtype = "light",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -53,6 +54,7 @@ minetest.register_node("ethereal:coral3", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"coral3.png"},
|
||||
inventory_image = "coral3.png",
|
||||
wield_image = "coral3.png",
|
||||
paramtype = "light",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -75,6 +77,7 @@ minetest.register_node("ethereal:coral4", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"coral4.png"},
|
||||
inventory_image = "coral4.png",
|
||||
wield_image = "coral4.png",
|
||||
paramtype = "light",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -97,6 +100,7 @@ minetest.register_node("ethereal:coral5", {
|
|||
drawtype = "plantlike",
|
||||
tiles = {"coral5.png"},
|
||||
inventory_image = "coral5.png",
|
||||
wield_image = "coral5.png",
|
||||
paramtype = "light",
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -147,8 +151,9 @@ minetest.register_abm({
|
|||
catch_up = false,
|
||||
action = function(pos, node)
|
||||
|
||||
local sel = math.random(1,5)
|
||||
if sel == 1 or node.name == "ethereal:seaweed" then
|
||||
local sel = math.random(1, 5)
|
||||
if sel == 1
|
||||
or node.name == "ethereal:seaweed" then
|
||||
local height = 0
|
||||
|
||||
while (minetest.get_node(pos).name == "ethereal:seaweed"
|
||||
|
@ -158,7 +163,8 @@ minetest.register_abm({
|
|||
pos.y = pos.y + 1
|
||||
end
|
||||
|
||||
if height < 14 and pos.y < 0
|
||||
if height < 14
|
||||
and pos.y < 0
|
||||
and minetest.get_node(pos).name == "default:water_source" then
|
||||
minetest.set_node(pos, {name = "ethereal:seaweed"})
|
||||
end
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
minetest.register_craftitem("ethereal:strawberry", {
|
||||
description = "Strawberry",
|
||||
inventory_image = "strawberry.png",
|
||||
wield_image = "strawberry.png",
|
||||
on_use = minetest.item_eat(1),
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
return farming.place_seed(itemstack, placer, pointed_thing, "ethereal:strawberry_1")
|
||||
|
|
Loading…
Reference in New Issue