mirror of
https://bitbucket.org/kingarthursteam/cannons.git
synced 2025-01-07 11:57:28 +01:00
fixed code design
improoved some node definitions improved sounds
This commit is contained in:
parent
dedcb3fe8d
commit
64b5ad27da
12
items.lua
12
items.lua
@ -184,7 +184,7 @@ minetest.register_node("cannons:cannon", {
|
||||
|
||||
-- bronze cannon --
|
||||
minetest.register_node("cannons:bronze_canon", {
|
||||
description = "Cannon (bronze)",
|
||||
description = "Cannon (bronze)",
|
||||
stack_max = 1,
|
||||
tiles = {"cannon_bronze_cannon_top.png","cannon_bronze_cannon_top.png","cannon_bronze_cannon_side.png","cannon_bronze_cannon_side.png","cannon_bronze_cannon_top.png^cannons_rim.png","cannon_bronze_cannon_side.png"},
|
||||
drawtype = "nodebox",
|
||||
@ -266,7 +266,7 @@ minetest.register_node("cannons:ball_stone", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
node_box = cannons.nodeboxes.ball,
|
||||
})
|
||||
|
||||
@ -279,7 +279,7 @@ minetest.register_node("cannons:ball_steel", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = cannons.sound_defaults(),
|
||||
node_box = cannons.nodeboxes.ball,
|
||||
})
|
||||
|
||||
@ -343,7 +343,7 @@ minetest.register_node("cannons:ball_stone_stack", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
node_box = cannons.nodeboxes.ball_stack,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
@ -354,7 +354,7 @@ minetest.register_node("cannons:ball_stone_stack", {
|
||||
})
|
||||
|
||||
--ball steel stack
|
||||
minetest.register_node("cannons:canon_ball_steel_stack", {
|
||||
minetest.register_node("cannons:ball_steel_stack", {
|
||||
description = "Cannon Ball Steel Stack",
|
||||
stack_max = 99,
|
||||
tiles = {"cannon_cannon_top.png"},
|
||||
@ -363,7 +363,7 @@ minetest.register_node("cannons:canon_ball_steel_stack", {
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
groups = {cracky=2},
|
||||
sounds = default.node_sound_wood_defaults(),
|
||||
sounds = cannons.sound_defaults(),
|
||||
node_box = cannons.nodeboxes.ball_stack,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
|
@ -36,8 +36,8 @@ minetest.register_craft({
|
||||
--mithrill ball
|
||||
minetest.register_node("cannons:ball_mithril", {
|
||||
description = "Cannon Ball mithril",
|
||||
stack_max = 99,
|
||||
tiles = {"cannons_miithril_cannon_top.png"},
|
||||
stack_max = 9,
|
||||
tiles = {"cannon_mithril_cannon_top.png"},
|
||||
drawtype = "nodebox",
|
||||
paramtype = "light",
|
||||
paramtype2 = "facedir",
|
||||
@ -55,8 +55,8 @@ minetest.register_craft({
|
||||
--ball mithril stack
|
||||
minetest.register_node("cannons:ball_mithril_stack", {
|
||||
description = "Cannon Ball mithril Stack",
|
||||
stack_max = 99,
|
||||
tiles = {"cannon_cannon_top.png"},
|
||||
stack_max = 9,
|
||||
tiles = {"cannon_mithril_cannon_top.png"},
|
||||
drawtype = "nodebox",
|
||||
drop = 'cannons:ball_mithril 4',
|
||||
paramtype = "light",
|
||||
|
Loading…
Reference in New Issue
Block a user