Rename inventory to mcl_inventory
|
@ -0,0 +1 @@
|
||||||
|
name = mcl_inventory
|
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 159 B After Width: | Height: | Size: 159 B |
Before Width: | Height: | Size: 147 B After Width: | Height: | Size: 147 B |
Before Width: | Height: | Size: 129 B After Width: | Height: | Size: 129 B |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 613 B After Width: | Height: | Size: 613 B |
Before Width: | Height: | Size: 593 B After Width: | Height: | Size: 593 B |
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 823 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 859 B After Width: | Height: | Size: 859 B |
Before Width: | Height: | Size: 748 B After Width: | Height: | Size: 748 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -1,7 +1,7 @@
|
||||||
minetest.register_node("inventory:crafting_table", {
|
minetest.register_node("mcl_inventory:crafting_table", {
|
||||||
description = "Crafting Table",
|
description = "Crafting Table",
|
||||||
tiles = {"inventory_crafting_table_top.png", "default_wood.png", "inventory_crafting_table_side.png",
|
tiles = {"mcl_inventory_crafting_table_top.png", "default_wood.png", "mcl_inventory_crafting_table_side.png",
|
||||||
"inventory_crafting_table_side.png", "inventory_crafting_table_front.png", "inventory_crafting_table_front.png"},
|
"mcl_inventory_crafting_table_side.png", "mcl_inventory_crafting_table_front.png", "mcl_inventory_crafting_table_front.png"},
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
|
@ -12,12 +12,12 @@ minetest.register_node("inventory:crafting_table", {
|
||||||
clicker:get_inventory():set_size("craft", 9)
|
clicker:get_inventory():set_size("craft", 9)
|
||||||
clicker:get_inventory():set_width("main", 9)
|
clicker:get_inventory():set_width("main", 9)
|
||||||
clicker:get_inventory():set_size("main", 36)
|
clicker:get_inventory():set_size("main", 36)
|
||||||
minetest.show_formspec(clicker:get_player_name(), "inventory:craftin_table", CRAFTING_FORMSPEC)
|
minetest.show_formspec(clicker:get_player_name(), "mcl_inventory:crafting_table", CRAFTING_FORMSPEC)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "inventory:crafting_table",
|
output = "mcl_inventory:crafting_table",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"group:wood", "group:wood"},
|
{"group:wood", "group:wood"},
|
||||||
{"group:wood", "group:wood"},
|
{"group:wood", "group:wood"},
|