mirror of
https://github.com/mt-mods/coloredwood.git
synced 2025-07-01 07:30:35 +02:00
Version MFF.
This commit is contained in:
12
fence.lua
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",
|
||||
|
Reference in New Issue
Block a user