Compare commits

...

5 Commits

Author SHA1 Message Date
Jordan Snelling 4cce865b1c update readme with dependancy warning 2012-08-26 16:14:27 +01:00
Jordan Snelling 83851f9854 add crafting
requires wool mod 32 or 16 - the 11 colours version is UNSUPPORTED.
2012-08-26 16:08:27 +01:00
Jordan Snelling 2dfcf74e66 add textures + final node defs;
last thing to add is crafting
2012-08-26 15:54:21 +01:00
Jordan Snelling 614c20e9ec update readme 2012-08-26 14:39:57 +01:00
Jordan Snelling d1818c58af fix readme typo 2012-08-26 14:37:37 +01:00
10 changed files with 131 additions and 27 deletions

View File

@ -1,5 +1,28 @@
Carpets Mod for Minetest.
By JOrdan Snelling, 2012
By Jordan Snelling, 2012
License, LGPL.
WARNING:
This mod utilizes the Wool Mod found in minetest_games as of 0.4.2rc-1.
If you are ruuning 0.4.1 / 0.4.0 / 0.4-dev;
please download my other mod;
http://minetest.net/forum/viewtopic.php?pid=23855#p23855
16 colours; or;
http://minetest.net/forum/viewtopic.php?pid=24066#p24066
32 colours with spawning flowers.
-----------------------
Notes: There is a reason why the mod is in a folder, it is far easier than to rename a zipball than it is to just have a mod folder, which is extracted with the SAME name.
-----------------------
License, LGPL.

View File

@ -42,7 +42,7 @@ minetest.register_node("carpet:orange", {
minetest.register_node("carpet:yellow", {
description = "Yellow Carpet",
drawtype = "raillike",
tiles = {"carpet_yellow_out.png", "carpet_yellow_cor.png", "carpet_yellow_one.png", "carpet_yellow_cen.png"},
tiles = {"carpet_yellow_out.png"},
inventory_image = "carpet_yellow_out.png",
wield_image = "carpet_yellow_out.png",
paramtype = "light",
@ -60,7 +60,7 @@ minetest.register_node("carpet:yellow", {
minetest.register_node("carpet:green", {
description = "Green Carpet",
drawtype = "raillike",
tiles = {"carpet_green_out.png", "carpet_green_cor.png", "carpet_green_one.png", "carpet_green_cen.png"},
tiles = {"carpet_green_out.png"},
inventory_image = "carpet_green_out.png",
wield_image = "carpet_green_out.png",
paramtype = "light",
@ -78,7 +78,7 @@ minetest.register_node("carpet:green", {
minetest.register_node("carpet:cyan", {
description = "Cyan Carpet",
drawtype = "raillike",
tiles = {"carpet_cyan_out.png", "carpet_cyan_cor.png", "carpet_cyan_one.png", "carpet_cyan_cen.png"},
tiles = {"carpet_cyan_out.png"},
inventory_image = "carpet_cyan_out.png",
wield_image = "carpet_cyan_out.png",
paramtype = "light",
@ -96,7 +96,7 @@ minetest.register_node("carpet:cyan", {
minetest.register_node("carpet:blue", {
description = "Blue Carpet",
drawtype = "raillike",
tiles = {"carpet_blue_out.png", "carpet_blue_cor.png", "carpet_blue_one.png", "carpet_blue_cen.png"},
tiles = {"carpet_blue_out.png"},
inventory_image = "carpet_blue_out.png",
wield_image = "carpet_blue_out.png",
paramtype = "light",
@ -114,7 +114,7 @@ minetest.register_node("carpet:blue", {
minetest.register_node("carpet:pink", {
description = "Pink Carpet",
drawtype = "raillike",
tiles = {"carpet_pink_out.png", "carpet_pink_cor.png", "carpet_pink_one.png", "carpet_pink_cen.png"},
tiles = {"carpet_pink_out.png"},
inventory_image = "carpet_pink_out.png",
wield_image = "carpet_pink_out.png",
paramtype = "light",
@ -129,28 +129,11 @@ minetest.register_node("carpet:pink", {
groups = {dig_immediate=2},
})
minetest.register_node("carpet:white", {
description = "White Carpet",
drawtype = "raillike",
tiles = {"carpet_white_out.png", "carpet_white_cor.png", "carpet_white_one.png", "carpet_white_cen.png"},
inventory_image = "carpet_white_out.png",
wield_image = "carpet_white_out.png",
paramtype = "light",
is_ground_content = true,
walkable = false,
buildable_to = true,
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
groups = {dig_immediate=2},
})
minetest.register_node("carpet:black", {
description = "Black Carpet",
drawtype = "raillike",
tiles = {"carpet_black_out.png", "carpet_black_cor.png", "carpet_black_one.png", "carpet_black_cen.png"},
tiles = {"carpet_black_out.png"},
inventory_image = "carpet_black_out.png",
wield_image = "carpet_black_out.png",
paramtype = "light",
@ -168,7 +151,7 @@ minetest.register_node("carpet:black", {
minetest.register_node("carpet:magenta", {
description = "Magenta Carpet",
drawtype = "raillike",
tiles = {"carpet_magenta_out.png", "carpet_magenta_cor.png", "carpet_magenta_one.png", "carpet_magenta_cen.png"},
tiles = {"carpet_magenta_out.png"},
inventory_image = "carpet_magenta_out.png",
wield_image = "carpet_magenta_out.png",
paramtype = "light",
@ -183,4 +166,102 @@ minetest.register_node("carpet:magenta", {
groups = {dig_immediate=2},
})
-- Crafing
minetest.register_node("carpet:white", {
description = "White Carpet",
drawtype = "raillike",
tiles = {"carpet_white_out.png"},
inventory_image = "carpet_white_out.png",
wield_image = "carpet_white_out.png",
paramtype = "light",
is_ground_content = true,
walkable = false,
buildable_to = true,
selection_box = {
type = "fixed",
fixed = {-1/2, -1/2, -1/2, 1/2, -1/2+1/16, 1/2},
},
groups = {dig_immediate=2},
})
-- Crafing
minetest.register_craft({
output = 'carpet:red 64',
recipe = {
{'wool:red', 'wool:red', 'wool:red'},
{'wool:red', 'wool:red', 'wool:red'},
}
})
minetest.register_craft({
output = 'carpet:orange 64',
recipe = {
{'wool:orange', 'wool:orange', 'wool:orange'},
{'wool:orange', 'wool:orange', 'wool:orange'},
}
})
minetest.register_craft({
output = 'carpetyellow 64',
recipe = {
{'wool:yellow', 'wool:yellow', 'wool:yellow'},
{'wool:yellow', 'wool:yellow', 'wool:yellow'},
}
})
minetest.register_craft({
output = 'carpet:green 64',
recipe = {
{'wool:green', 'wool:green', 'wool:green'},
{'wool:green', 'wool:green', 'wool:green'},
}
})
minetest.register_craft({
output = 'carpet:cyan 64',
recipe = {
{'wool:cyan', 'wool:cyan', 'wool:cyan'},
{'wool:cyan', 'wool:cyan', 'wool:cyan'},
}
})
minetest.register_craft({
output = 'carpet:blue 64',
recipe = {
{'wool:blue', 'wool:blue', 'wool:blue'},
{'wool:blue', 'wool:blue', 'wool:blue'},
}
})
minetest.register_craft({
output = 'carpet:pink 64',
recipe = {
{'wool:pink', 'wool:pink', 'wool:pink'},
{'wool:pink', 'wool:pink', 'wool:pink'},
}
})
minetest.register_craft({
output = 'carpet:magenta 64',
recipe = {
{'wool:magenta', 'wool:megenta', 'wool:magenta'},
{'wool:magenta', 'wool:magenta', 'wool:magenta'},
}
})
minetest.register_craft({
output = 'carpet:white 64',
recipe = {
{'wool:white', 'wool:white', 'wool:white'},
{'wool:white', 'wool:white', 'wool:white'},
}
})
minetest.register_craft({
output = 'carpet:black 64',
recipe = {
{'wool:black', 'wool:black', 'wool:black'},
{'wool:black', 'wool:black', 'wool:black'},
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 488 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 446 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B