master
Victor Hackeridze 2012-03-18 20:09:00 +06:00
parent f12488872d
commit 7c1f9c47fb
21 changed files with 19 additions and 18 deletions

View File

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 339 B

View File

Before

Width:  |  Height:  |  Size: 394 B

After

Width:  |  Height:  |  Size: 394 B

View File

Before

Width:  |  Height:  |  Size: 403 B

After

Width:  |  Height:  |  Size: 403 B

View File

Before

Width:  |  Height:  |  Size: 322 B

After

Width:  |  Height:  |  Size: 322 B

View File

@ -1,29 +1,30 @@
local CB_NAMES_COLORS = {
"white" = "White cotton block",
"light_gray" = "Light-gray cotton block",
"gray" = "Gray cotton block",
"black" = "Black cotton block",
"red" = "Red cotton block",
"orange" = "Orange cotton block",
"yellow" = "Yellow cotton block",
"lime" = "Lime cotton block",
"green" = "Green cotton block",
"light_blue" = "Light-blue cotton block",
"cyan" = "Cyan cotton block",
"blue" = "Blue cotton block",
"purple" = "Purple cotton block",
"magenta" = "Magenta cotton block",
"pink" = "Pink cotton block",
"brown" = "Brown cotton block",
["white"] = "White cotton block",
["light_gray"] = "Light-gray cotton block",
["gray"] = "Gray cotton block",
["black"] = "Black cotton block",
["red"] = "Red cotton block",
["orange"] = "Orange cotton block",
["yellow"] = "Yellow cotton block",
["lime"] = "Lime cotton block",
["green"] = "Green cotton block",
["light_blue"] = "Light-blue cotton block",
["cyan"] = "Cyan cotton block",
["blue"] = "Blue cotton block",
["purple"] = "Purple cotton block",
["magenta"] = "Magenta cotton block",
["pink"] = "Pink cotton block",
["brown"] = "Brown cotton block",
}
print("OLOLOLOLOLOLOL XXXXXXXXXXXX\n")
for color, name in ipairs(CB_NAMES_COLORS) do
print("cotton_blocks:" .. color .. "\n")
minetest.register_node("cotton_blocks:" .. color, {
description = name,
tile_images = {"cb_" .. color .. ".png"},
inventory_image = minetest.inventorycube("cb_" .. color .. ".png"),
is_ground_content = true,
material = minetest.digprop_stonelike(0.3), -- WTF???????? FUCK!!!!!!!!!1111111!!!!!!!!!111
minetest.digprop_leaveslike(2.0), -- WTF???????? FUCK!!!!!!!!!1111111!!!!!!!!!111
})
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 482 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 485 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 428 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B