Version MFF.
0
.gitignore
vendored
Normal file → Executable file
0
depends.txt
Normal file → Executable file
12
fence.lua
Normal file → Executable file
@ -8,8 +8,8 @@ local colored_block_description = "Wooden Fence"
|
||||
local neutral_block = "default:fence_wood"
|
||||
local colored_block_sunlight = "false"
|
||||
local colored_block_walkable = "true"
|
||||
local colored_block_groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2, not_in_creative_inventory=1}
|
||||
local colored_block_sound = "default.node_sound_wood_defaults()"
|
||||
local colored_block_groups = {snappy=1,choppy=2,oddly_breakable_by_hand=2,flammable=2}
|
||||
local colored_block_sound = default.node_sound_wood_defaults()
|
||||
|
||||
for shade = 1, 3 do
|
||||
|
||||
@ -37,7 +37,7 @@ for shade = 1, 3 do
|
||||
drawtype = "fencelike",
|
||||
description = nodedesc,
|
||||
tiles = { pngname },
|
||||
inventory_image = pngnameinv,
|
||||
inventory_image = pngnameinv,
|
||||
wield_image = pngnameinv,
|
||||
sunlight_propagates = colored_block_sunlight,
|
||||
paramtype = "light",
|
||||
@ -54,7 +54,7 @@ for shade = 1, 3 do
|
||||
drawtype = "fencelike",
|
||||
description = s50nodedesc,
|
||||
tiles = { s50pngname },
|
||||
inventory_image = s50pngnameinv,
|
||||
inventory_image = s50pngnameinv,
|
||||
wield_image = s50pngnameinv,
|
||||
sunlight_propagates = colored_block_sunlight,
|
||||
paramtype = "light",
|
||||
@ -151,7 +151,7 @@ for hue = 1, 12 do
|
||||
drawtype = "fencelike",
|
||||
description = nodedesc,
|
||||
tiles = { pngname },
|
||||
inventory_image = pngnameinv,
|
||||
inventory_image = pngnameinv,
|
||||
wield_image = pngnameinv,
|
||||
sunlight_propagates = colored_block_sunlight,
|
||||
paramtype = "light",
|
||||
@ -252,7 +252,7 @@ for grey = 1,5 do
|
||||
drawtype = "fencelike",
|
||||
description = nodedesc,
|
||||
tiles = { pngname },
|
||||
inventory_image = pngnameinv,
|
||||
inventory_image = pngnameinv,
|
||||
wield_image = pngnameinv,
|
||||
sunlight_propagates = colored_block_sunlight,
|
||||
paramtype = "light",
|
||||
|
2
init.lua
Normal file → Executable file
@ -133,5 +133,5 @@ dofile(minetest.get_modpath("coloredwood").."/wood.lua")
|
||||
dofile(minetest.get_modpath("coloredwood").."/fence.lua")
|
||||
dofile(minetest.get_modpath("coloredwood").."/stick.lua")
|
||||
|
||||
print("[Colored Wood] Loaded!")
|
||||
minetest.log("action", "[Colored Wood] Loaded!")
|
||||
|
||||
|
10
stick.lua
Normal file → Executable file
@ -40,13 +40,13 @@ for shade = 1, 3 do
|
||||
minetest.register_craftitem(colorname, {
|
||||
description = itemdesc,
|
||||
inventory_image = pngname,
|
||||
groups = { coloredsticks=1, not_in_creative_inventory=1, stick=1 }
|
||||
groups = { coloredsticks=1, stick=1 }
|
||||
})
|
||||
|
||||
minetest.register_craftitem(s50colorname, {
|
||||
description = s50itemdesc,
|
||||
inventory_image = s50pngname,
|
||||
groups = { coloredsticks=1, not_in_creative_inventory=1, stick=1 }
|
||||
groups = { coloredsticks=1, stick=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft( {
|
||||
@ -81,7 +81,7 @@ for hue = 1, 12 do
|
||||
minetest.register_craftitem(colorname, {
|
||||
description = itemdesc,
|
||||
inventory_image = pngname,
|
||||
groups = { coloredsticks=1, not_in_creative_inventory=1, stick=1 }
|
||||
groups = { coloredsticks=1, stick=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
@ -98,7 +98,7 @@ for hue = 1, 12 do
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
|
||||
|
||||
-- ============================================================
|
||||
-- The 5 levels of greyscale.
|
||||
@ -120,7 +120,7 @@ for grey = 1,5 do
|
||||
minetest.register_craftitem(greyshadename, {
|
||||
description = itemdesc,
|
||||
inventory_image = pngname,
|
||||
groups = { coloredsticks=1, not_in_creative_inventory=1, stick=1 }
|
||||
groups = { coloredsticks=1, stick=1 }
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
|
BIN
textures/coloredwood_fence_aqua.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_aqua_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
0
textures/coloredwood_fence_black.png
Normal file → Executable file
Before Width: | Height: | Size: 205 B After Width: | Height: | Size: 205 B |
BIN
textures/coloredwood_fence_blue.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_blue_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
BIN
textures/coloredwood_fence_cyan.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_cyan_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
0
textures/coloredwood_fence_dark_aqua.png
Normal file → Executable file
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
BIN
textures/coloredwood_fence_dark_aqua_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 344 B |
BIN
textures/coloredwood_fence_dark_blue.png
Normal file → Executable file
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 340 B |
BIN
textures/coloredwood_fence_dark_blue_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 327 B |
BIN
textures/coloredwood_fence_dark_cyan.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 345 B |
BIN
textures/coloredwood_fence_dark_cyan_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 327 B |
BIN
textures/coloredwood_fence_dark_green.png
Normal file → Executable file
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 340 B |
BIN
textures/coloredwood_fence_dark_green_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 327 B |
0
textures/coloredwood_fence_dark_lime.png
Normal file → Executable file
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
BIN
textures/coloredwood_fence_dark_lime_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 344 B |
0
textures/coloredwood_fence_dark_magenta.png
Normal file → Executable file
Before Width: | Height: | Size: 298 B After Width: | Height: | Size: 298 B |
BIN
textures/coloredwood_fence_dark_magenta_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 327 B |
0
textures/coloredwood_fence_dark_orange.png
Normal file → Executable file
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
BIN
textures/coloredwood_fence_dark_orange_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 344 B |
BIN
textures/coloredwood_fence_dark_red.png
Normal file → Executable file
Before Width: | Height: | Size: 356 B After Width: | Height: | Size: 340 B |
BIN
textures/coloredwood_fence_dark_red_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 327 B |
0
textures/coloredwood_fence_dark_redviolet.png
Normal file → Executable file
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
BIN
textures/coloredwood_fence_dark_redviolet_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 344 B |
0
textures/coloredwood_fence_dark_skyblue.png
Normal file → Executable file
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
BIN
textures/coloredwood_fence_dark_skyblue_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 344 B |
0
textures/coloredwood_fence_dark_violet.png
Normal file → Executable file
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 373 B |
BIN
textures/coloredwood_fence_dark_violet_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 344 B |
BIN
textures/coloredwood_fence_dark_yellow.png
Normal file → Executable file
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 345 B |
BIN
textures/coloredwood_fence_dark_yellow_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 327 B |
0
textures/coloredwood_fence_darkgrey.png
Normal file → Executable file
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
BIN
textures/coloredwood_fence_green.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_green_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
0
textures/coloredwood_fence_grey.png
Normal file → Executable file
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 208 B |
BIN
textures/coloredwood_fence_light_aqua.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
BIN
textures/coloredwood_fence_light_blue.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_light_cyan.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_light_green.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_light_lime.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
BIN
textures/coloredwood_fence_light_magenta.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_light_orange.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
BIN
textures/coloredwood_fence_light_red.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_light_redviolet.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
BIN
textures/coloredwood_fence_light_skyblue.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
BIN
textures/coloredwood_fence_light_violet.png
Normal file → Executable file
Before Width: | Height: | Size: 398 B After Width: | Height: | Size: 382 B |
BIN
textures/coloredwood_fence_light_yellow.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
0
textures/coloredwood_fence_lightgrey.png
Normal file → Executable file
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
BIN
textures/coloredwood_fence_lime.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_lime_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_magenta.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_magenta_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_aqua.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_aqua_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_blue.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_blue_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_cyan.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_cyan_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_green.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_green_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_lime.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_lime_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_magenta.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_magenta_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_orange.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_orange_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_red.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_red_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_redviolet.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_redviolet_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_skyblue.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_skyblue_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_violet.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_violet_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_yellow.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_medium_yellow_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_orange.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_orange_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_red.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_red_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_redviolet.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_redviolet_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_skyblue.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_skyblue_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_violet.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_violet_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
0
textures/coloredwood_fence_white.png
Normal file → Executable file
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
BIN
textures/coloredwood_fence_yellow.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_fence_yellow_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 383 B |
BIN
textures/coloredwood_stick_aqua.png
Normal file → Executable file
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 143 B |
BIN
textures/coloredwood_stick_aqua_s50.png
Normal file → Executable file
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 143 B |
BIN
textures/coloredwood_stick_black.png
Normal file → Executable file
Before Width: | Height: | Size: 121 B After Width: | Height: | Size: 115 B |
BIN
textures/coloredwood_stick_blue.png
Normal file → Executable file
Before Width: | Height: | Size: 144 B After Width: | Height: | Size: 143 B |