Version MFF.

This commit is contained in:
sys4-fr 2018-09-08 13:24:49 +02:00
parent 4e535eddd2
commit b93f89e793
35 changed files with 32 additions and 25 deletions

0
craftitems.lua Normal file → Executable file
View File

8
crafts.lua Normal file → Executable file
View File

@ -1,4 +1,4 @@
minetest.register_craft({
--[[minetest.register_craft({
output = "multitest:shears",
recipe = {
{"default:steel_ingot", "", "default:steel_ingot"},
@ -23,7 +23,7 @@ minetest.register_craft({
{"", "default:wood", ""},
{"multitest:handle_grip", "", "multitest:handle_grip"}
}
})
})]]--
minetest.register_craft({
output = "multitest:rubber_raw 4",
@ -111,6 +111,7 @@ minetest.register_craft({
},
})
--[[ maintenant dans farming redo
minetest.register_craft({
output = "multitest:hayblock 4",
recipe = {
@ -119,6 +120,7 @@ minetest.register_craft({
{"farming:wheat", "farming:wheat", "farming:wheat"},
},
})
--]]
minetest.register_craft({
output = "multitest:checkered_floor",
@ -277,4 +279,4 @@ minetest.register_craft({
{"", "wool:white", ""},
{"", "farming:wheat", ""},
},
})
})

0
depends.txt Normal file → Executable file
View File

0
fuel.lua Normal file → Executable file
View File

8
init.lua Normal file → Executable file
View File

@ -1,7 +1,7 @@
multitest = {}
multitest.colors = {"black", "blue", "brown", "cyan", "dark_green",
"dark_grey", "green", "grey", "magenta", "orange",
multitest.colors = {"black", "blue", "brown", "cyan", "dark_green",
"dark_grey", "green", "grey", "magenta", "orange",
"pink", "red", "violet", "white", "yellow"}
multitest.colornames = {"Black", "Blue", "Brown", "Cyan", "Dark Green",
@ -13,7 +13,7 @@ dofile(minetest.get_modpath("multitest").."/craftitems.lua")
dofile(minetest.get_modpath("multitest").."/nodes.lua")
dofile(minetest.get_modpath("multitest").."/fuel.lua")
minetest.register_tool("multitest:shears", {
--[[minetest.register_tool("multitest:shears", {
description = "Shears",
inventory_image = "multitest_shears.png",
tool_capabilities = {
@ -44,7 +44,7 @@ minetest.register_tool("multitest:stone_shears", {
crumbly={times={[1]=4.00, [2]=3.00, [3]=1.50}, uses=50, maxlevel=1}
}
}
})
})]]--
minetest.register_tool("multitest:scraper", {
description = "Scraper",

41
nodes.lua Normal file → Executable file
View File

@ -24,7 +24,7 @@ minetest.register_node("multitest:blackstone_paved", {
description = "Paved Blackstone",
tiles = {"multitest_blackstone_paved.png"},
groups = {cracky=2, stone=1},
sounds = default.node_sound_stone_defaults(),
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("multitest:blackstone_paved", {
@ -41,6 +41,7 @@ minetest.register_node("multitest:blackstone_brick", {
sounds = default.node_sound_stone_defaults(),
})
--[[ maintenant dans farming redo
minetest.register_node("multitest:hayblock", {
description = "Hay Bale",
tiles = {"multitest_hayblock_top.png", "multitest_hayblock_top.png", "multitest_hayblock.png"},
@ -49,6 +50,7 @@ minetest.register_node("multitest:hayblock", {
sounds = default.node_sound_sand_defaults(),
on_place = minetest.rotate_node
})
--]]
minetest.register_node("multitest:checkered_floor", {
description = "Checkered Floor",
@ -57,6 +59,7 @@ minetest.register_node("multitest:checkered_floor", {
sounds = default.node_sound_stone_defaults(),
})
--[[
minetest.register_node("multitest:lamp", {
description = "Lamp",
tiles = {"multitest_lamp.png"},
@ -66,6 +69,8 @@ minetest.register_node("multitest:lamp", {
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
]]
minetest.register_alias("multitest:lamp", "lantern:lantern")
minetest.register_node("multitest:andesite", {
description = "Andesite",
@ -117,28 +122,28 @@ minetest.register_node("multitest:sandstone_carved", {
})
-- stairs:stair_blackstone
stairs.register_stair_and_slab("blackstone", "multitest:blackstone",
{cracky=3, stone=1},
{"multitest_blackstone.png"},
"Blackstone Stairs",
stairs.register_stair_and_slab("blackstone", "multitest:blackstone",
{cracky=3, stone=1},
{"multitest_blackstone.png"},
"Blackstone Stairs",
"Blackstone Slab", nil)
stairs.register_stair_and_slab("blackcobble", "multitest:blackcobble",
{cracky=3, stone=1},
{"multitest_blackcobble.png"},
"Black Cobble Stairs",
stairs.register_stair_and_slab("blackcobble", "multitest:blackcobble",
{cracky=3, stone=1},
{"multitest_blackcobble.png"},
"Black Cobble Stairs",
"Black Cobble Slab", nil)
stairs.register_stair_and_slab("blackstone_bricks", "multitest:blackstone_brick",
{cracky=3, stone=1},
{"multitest_blackstone_brick.png"},
"Blackstonestone brick Stairs",
stairs.register_stair_and_slab("blackstone_bricks", "multitest:blackstone_brick",
{cracky=3, stone=1},
{"multitest_blackstone_brick.png"},
"Blackstonestone brick Stairs",
"Blackstone Brick Slab", nil)
stairs.register_stair_and_slab("blackstone_paved", "multitest:blackstone_paved",
{cracky=3, stone=1},
{"multitest_blackstone_paved.png"},
"Paved Blackstone Stairs",
stairs.register_stair_and_slab("blackstone_paved", "multitest:blackstone_paved",
{cracky=3, stone=1},
{"multitest_blackstone_paved.png"},
"Paved Blackstone Stairs",
"Paved Blackstone Slab", nil)
-- others
@ -176,7 +181,7 @@ minetest.register_node("multitest:door_mat", {
})
minetest.register_node("multitest:sponge_block", {
description = "Sponge block",
description = "Sponge Block (Decorative)",
tiles = {"multitest_sponge_block.png"},
groups = {oddly_breakable_by_hand=3,},
})

BIN
sounds/shears.ogg Normal file → Executable file

Binary file not shown.

BIN
textures/multitest_andesite.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 B

After

Width:  |  Height:  |  Size: 531 B

BIN
textures/multitest_andesite_smooth.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 580 B

After

Width:  |  Height:  |  Size: 452 B

BIN
textures/multitest_blackcobble.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 B

After

Width:  |  Height:  |  Size: 314 B

BIN
textures/multitest_blackstone.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 427 B

After

Width:  |  Height:  |  Size: 296 B

BIN
textures/multitest_blackstone_brick.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 424 B

After

Width:  |  Height:  |  Size: 304 B

BIN
textures/multitest_blackstone_paved.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 428 B

BIN
textures/multitest_checkered_floor.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

After

Width:  |  Height:  |  Size: 184 B

BIN
textures/multitest_diorite.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

After

Width:  |  Height:  |  Size: 450 B

BIN
textures/multitest_diorite_smooth.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 602 B

After

Width:  |  Height:  |  Size: 394 B

BIN
textures/multitest_door_mat.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

After

Width:  |  Height:  |  Size: 477 B

BIN
textures/multitest_granite.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 B

After

Width:  |  Height:  |  Size: 381 B

0
textures/multitest_granite_smooth.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 752 B

After

Width:  |  Height:  |  Size: 752 B

BIN
textures/multitest_handle_grip.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 519 B

After

Width:  |  Height:  |  Size: 485 B

BIN
textures/multitest_hayblock.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 742 B

After

Width:  |  Height:  |  Size: 647 B

BIN
textures/multitest_hayblock_top.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 806 B

After

Width:  |  Height:  |  Size: 702 B

BIN
textures/multitest_lamp.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 688 B

BIN
textures/multitest_moss_stone.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 B

After

Width:  |  Height:  |  Size: 727 B

0
textures/multitest_moss_stonebrick.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 838 B

After

Width:  |  Height:  |  Size: 838 B

BIN
textures/multitest_rubber.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

After

Width:  |  Height:  |  Size: 151 B

BIN
textures/multitest_rubber_raw.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 676 B

After

Width:  |  Height:  |  Size: 594 B

BIN
textures/multitest_rubberblock.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 301 B

BIN
textures/multitest_sandstone_carved.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 886 B

After

Width:  |  Height:  |  Size: 839 B

0
textures/multitest_sandstone_carved_top.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 744 B

After

Width:  |  Height:  |  Size: 744 B

BIN
textures/multitest_scraper.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 B

After

Width:  |  Height:  |  Size: 213 B

BIN
textures/multitest_shears.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 183 B

BIN
textures/multitest_sponge_block.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

After

Width:  |  Height:  |  Size: 169 B

BIN
textures/multitest_stone_shears.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 172 B

BIN
textures/multitest_wood_shears.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 B

After

Width:  |  Height:  |  Size: 167 B