Split up rope textures to make custom tinting easier.
@ -4,12 +4,12 @@ local S, NS = dofile(MP.."/intllib.lua")
|
|||||||
|
|
||||||
local function rope_box_tiles(count)
|
local function rope_box_tiles(count)
|
||||||
return {
|
return {
|
||||||
string.format("ropes_ropebox_front_%i.png", count),
|
string.format("ropes_ropebox_front_%i.png^ropes_%i.png", count, count),
|
||||||
string.format("ropes_ropebox_front_%i.png", count),
|
string.format("ropes_ropebox_front_%i.png^ropes_%i.png", count, count),
|
||||||
"ropes_ropebox_side.png",
|
"ropes_ropebox_side.png",
|
||||||
"ropes_ropebox_side.png",
|
"ropes_ropebox_side.png",
|
||||||
string.format("ropes_ropebox_front_%i.png", count),
|
string.format("ropes_ropebox_front_%i.png^ropes_%i.png", count, count),
|
||||||
string.format("ropes_ropebox_front_%i.png", count),
|
string.format("ropes_ropebox_front_%i.png^ropes_%i.png", count, count),
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -207,7 +207,7 @@ local rope_def = {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drop = "",
|
drop = "",
|
||||||
tiles = { "ropes_ropebox_front_3.png" },
|
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
||||||
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
@ -237,7 +237,7 @@ local rope_bottom_def = {
|
|||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
drop = "",
|
drop = "",
|
||||||
tiles = { "ropes_ropebox_front_3.png" },
|
tiles = { "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_3.png", "ropes_5.png", "ropes_5.png" },
|
||||||
drawtype = "nodebox",
|
drawtype = "nodebox",
|
||||||
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
groups = {choppy=2, flammable=2, not_in_creative_inventory=1},
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
BIN
textures/ropes_1.png
Normal file
After Width: | Height: | Size: 376 B |
BIN
textures/ropes_2.png
Normal file
After Width: | Height: | Size: 435 B |
BIN
textures/ropes_3.png
Normal file
After Width: | Height: | Size: 509 B |
BIN
textures/ropes_4.png
Normal file
After Width: | Height: | Size: 572 B |
BIN
textures/ropes_5.png
Normal file
After Width: | Height: | Size: 653 B |
Before Width: | Height: | Size: 376 B After Width: | Height: | Size: 376 B |
Before Width: | Height: | Size: 436 B After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 510 B After Width: | Height: | Size: 508 B |
Before Width: | Height: | Size: 572 B After Width: | Height: | Size: 573 B |
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 653 B |