mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-12-14 02:30:17 +01:00
Fix indentation
This commit is contained in:
parent
6e4624a0d7
commit
285019282d
22
init.lua
22
init.lua
@ -409,26 +409,26 @@ mt.register_craftitem("craftguide:book", {
|
|||||||
|
|
||||||
mt.register_node("craftguide:sign", {
|
mt.register_node("craftguide:sign", {
|
||||||
description = "Crafting Guide Sign",
|
description = "Crafting Guide Sign",
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
tiles = {"craftguide_sign.png"},
|
tiles = {"craftguide_sign.png"},
|
||||||
inventory_image = "craftguide_sign_inventory.png",
|
inventory_image = "craftguide_sign_inventory.png",
|
||||||
wield_image = "craftguide_sign_inventory.png",
|
wield_image = "craftguide_sign_inventory.png",
|
||||||
stack_max = 1,
|
stack_max = 1,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
paramtype2 = "wallmounted",
|
paramtype2 = "wallmounted",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {wood = 1, oddly_breakable_by_hand = 1, flammable = 3},
|
groups = {wood = 1, oddly_breakable_by_hand = 1, flammable = 3},
|
||||||
legacy_wallmounted = true,
|
legacy_wallmounted = true,
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "wallmounted",
|
type = "wallmounted",
|
||||||
wall_top = {-0.4375, 0.4375, -0.3125, 0.4375, 0.5, 0.3125},
|
wall_top = {-0.4375, 0.4375, -0.3125, 0.4375, 0.5, 0.3125},
|
||||||
wall_bottom = {-0.4375, -0.5, -0.3125, 0.4375, -0.4375, 0.3125},
|
wall_bottom = {-0.4375, -0.5, -0.3125, 0.4375, -0.4375, 0.3125},
|
||||||
wall_side = {-0.5, -0.3125, -0.4375, -0.4375, 0.3125, 0.4375},
|
wall_side = {-0.5, -0.3125, -0.4375, -0.4375, 0.3125, 0.4375},
|
||||||
},
|
},
|
||||||
on_rightclick = function(pos, node, user, itemstack, pointed_thing)
|
on_rightclick = function(pos, node, user, itemstack, pointed_thing)
|
||||||
craftguide:on_use(itemstack, user)
|
craftguide:on_use(itemstack, user)
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
mt.register_craft({
|
mt.register_craft({
|
||||||
|
Loading…
Reference in New Issue
Block a user