Remove all but brown ladders from inv

Added inv images
master
DonBatman 2016-03-25 03:28:50 -07:00
parent 9c95ac6d12
commit 445858fe49
4 changed files with 22 additions and 19 deletions

View File

@ -1,21 +1,21 @@
myladders = {}
myladders.colors = {
{"black", "Black", "^[colorize:#000000:240"},
{"blue", "Blue", "^[colorize:#0404B4:100"},
{"brown", "Brown", "^[colorize:#190B07:160"},
{"cyan", "Cyan", "^[colorize:#00ffff:120"},
{"darkgreen", "Dark Green", "^[colorize:#071907:200"},
{"darkgrey", "Dark Grey", "^[colorize:#000000:200"},
{"green", "Green", "^[colorize:#00ff00:160"},
{"grey", "Grey", "^[colorize:#000000:160"},
{"magenta", "Magenta", "^[colorize:#ff00ff:160"},
{"orange", "Orange", "^[colorize:#ff7700:220"},
{"pink", "Pink", "^[colorize:#FE2E9A:200"},
{"red", "Red", "^[colorize:#B40404:200"},
{"violet", "Violet", "^[colorize:#2F0B3A:220"},
{"white", "White", "^[colorize:#ffffff:200"},
{"yellow", "Yellow", "^[colorize:#ffff00:200"},
{"black", "Black", "^[colorize:#000000:240",1},
{"blue", "Blue", "^[colorize:#0404B4:100",1},
{"brown", "Brown", "^[colorize:#190B07:160",0},
{"cyan", "Cyan", "^[colorize:#00ffff:120",1},
{"darkgreen", "Dark Green", "^[colorize:#071907:200",1},
{"darkgrey", "Dark Grey", "^[colorize:#000000:200",1},
{"green", "Green", "^[colorize:#00ff00:160",1},
{"grey", "Grey", "^[colorize:#000000:160",1},
{"magenta", "Magenta", "^[colorize:#ff00ff:160",1},
{"orange", "Orange", "^[colorize:#ff7700:220",1},
{"pink", "Pink", "^[colorize:#FE2E9A:200",1},
{"red", "Red", "^[colorize:#B40404:200",1},
{"violet", "Violet", "^[colorize:#2F0B3A:220",1},
{"white", "White", "^[colorize:#ffffff:200",1},
{"yellow", "Yellow", "^[colorize:#ffff00:200",1},
}
local paintables = {
@ -26,11 +26,12 @@ for _, entry in ipairs(myladders.colors) do
local mat = entry[1]
local desc = entry[2]
local alpha = entry[3]
local nici = entry[4]
local ladders_type = { --Material , Description
{"myladders:treehouse", "Treehouse", "myladders_tree.obj","myladders_treewood.png^[transformR90"},
{"myladders:heavy", "Heavy Duty", "myladders_heavy.obj","myladders_heavy.png"},
{"myladders:ladder", "Default", "myladders_default.obj","default_wood.png"},
{"myladders:treehouse", "Treehouse", "myladders_tree.obj","myladders_treewood.png^[transformR90","myladders_treehouse_inv.png"},
{"myladders:heavy", "Heavy Duty", "myladders_heavy.obj","myladders_heavy.png","myladders_heavy_inv.png"},
{"myladders:ladder", "Default", "myladders_default.obj","default_wood.png","myladders_default_inv.png"},
}
for i in ipairs(ladders_type) do
@ -38,6 +39,7 @@ for i in ipairs(ladders_type) do
local desct = ladders_type[i][2]
local mesht = ladders_type[i][3]
local img = ladders_type[i][4]
local inim = ladders_type[i][5]
----------------------------------------------------------------------------------------
minetest.register_node(typ.."_"..mat, {
@ -45,12 +47,13 @@ minetest.register_node(typ.."_"..mat, {
drawtype = "mesh",
mesh = mesht,
tiles = {img..alpha},
inventory_image = inim..alpha,
paramtype = "light",
paramtype2 = "facedir",
walkable = false,
climbable = true,
is_ground_content = false,
groups = {choppy=2,flammable=1},
groups = {choppy=2,flammable=1, not_in_creative_inventory = nici},
selection_box = {
type = "fixed",
fixed = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 597 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B