113 lines
3.4 KiB
Lua
113 lines
3.4 KiB
Lua
-- No-jump block
|
|
minetest.register_node("axinite:nojump", {
|
|
description = "No Jump block",
|
|
drawtype = "normal",
|
|
tiles = {"nojump.png"},
|
|
groups = {
|
|
snappy = 3, cracky = 3, choppy = 3, oddly_breakable_by_hand = 3,
|
|
flammable = 2, disable_jump = 1, fall_damage_add_percent = -100
|
|
},
|
|
sounds = default.node_sound_dirt_defaults(),
|
|
})
|
|
|
|
--grief
|
|
minetest.register_node("axinite:stone",{
|
|
tiles = {"default_stone.png"},
|
|
groups = {cracky = 3, stone = 1},
|
|
drop = 'default:cobble',
|
|
legacy_mineral = true,
|
|
sounds = default.node_sound_stone_defaults(),
|
|
|
|
})
|
|
|
|
|
|
------------- XPANES PLUS
|
|
|
|
xpanes.register_pane("bar_copper", {
|
|
description = "Copper bar",
|
|
textures = {"xpanes_plus_bar_copper.png","xpanes_plus_bar_copper.png","xpanes_plus_bar_top_copper.png"},
|
|
inventory_image = "xpanes_plus_bar_copper.png",
|
|
wield_image = "xpanes_plus_bar_copper.png",
|
|
groups = {cracky=2},
|
|
sounds = default.node_sound_metal_defaults(),
|
|
recipe = {
|
|
{"default:copper_ingot", "default:copper_ingot", "default:copper_ingot"},
|
|
{"default:copper_ingot", "default:copper_ingot", "default:copper_ingot"}
|
|
}
|
|
})
|
|
|
|
xpanes.register_pane("bar_gold", {
|
|
description = "Gold bar",
|
|
textures = {"xpanes_plus_bar_gold.png","xpanes_plus_bar_gold.png","xpanes_plus_bar_top_gold.png"},
|
|
inventory_image = "xpanes_plus_bar_gold.png",
|
|
wield_image = "xpanes_plus_bar_gold.png",
|
|
groups = {cracky=1},
|
|
sounds = default.node_sound_metal_defaults(),
|
|
recipe = {
|
|
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"},
|
|
{"default:gold_ingot", "default:gold_ingot", "default:gold_ingot"}
|
|
}
|
|
})
|
|
|
|
xpanes.register_pane("bar_diamond", {
|
|
description = "Diamond bar",
|
|
textures = {"xpanes_plus_bar_diamond.png","xpanes_plus_bar_diamond.png","xpanes_plus_bar_top_diamond.png"},
|
|
inventory_image = "xpanes_plus_bar_diamond.png",
|
|
wield_image = "xpanes_plus_bar_diamond.png",
|
|
groups = {cracky=1},
|
|
sounds = default.node_sound_metal_defaults(),
|
|
recipe = {
|
|
{"default:diamond", "default:diamond", "default:diamond"},
|
|
{"default:diamond", "default:diamond", "default:diamond"}
|
|
}
|
|
})
|
|
|
|
-- Lit Pitch
|
|
-- A simple mod for playing football at night
|
|
-- (C) Sporax 2016
|
|
-- Provided to you under 3-Clause BSD
|
|
|
|
minetest.register_node("axinite:pitch", {
|
|
description = "Lit Pitch",
|
|
paramtype = "light",
|
|
light_source = 14,
|
|
light_propagates = true,
|
|
sunlight_propagates = true,
|
|
tiles = {"default_grass.png"},
|
|
groups = {crumbly = 3},
|
|
sounds = default.node_sound_dirt_defaults(),
|
|
})
|
|
|
|
minetest.register_craft ({
|
|
output = "axinite:pitch",
|
|
type = "shapeless",
|
|
recipe = {"default:dirt","default:torch"}
|
|
})
|
|
|
|
--- FAKE FIRE
|
|
|
|
minetest.register_craft({
|
|
output = 'axinite:flame',
|
|
recipe = {
|
|
{'default:coal_lump', 'default:coal_lump'},
|
|
{'default:coal_lump', 'default:coal_lump'},
|
|
{'default:torch', 'default:torch'},
|
|
}
|
|
})
|
|
|
|
minetest.register_node("axinite:flame", {
|
|
description = "Non spreading Flame.",
|
|
inventory_image = "fire_basic_flame.png",
|
|
drawtype = "plantlike",
|
|
tiles = {{
|
|
name="fire_basic_flame_animated.png",
|
|
animation={type="vertical_frames", aspect_w=16, aspect_h=16, length=1},
|
|
}},
|
|
light_source = 14,
|
|
groups = {dig_immediate=3,hot=3},
|
|
drop = 'default:coal_lump',
|
|
walkable = false,
|
|
buildable_to = false,
|
|
damage_per_second = 1,
|
|
})
|