forked from minetest/minetest_game
Compare commits
11 Commits
experiment
...
master
Author | SHA1 | Date | |
---|---|---|---|
0c40684377 | |||
a18b189e01 | |||
|
08057e8e0f | ||
f7f90d8a29 | |||
3fa03057f3 | |||
8c9c50e590 | |||
3151f8f3cf | |||
|
b55329d3e1 | ||
7588085a09 | |||
a5d810bc78 | |||
44d859d011 |
|
@ -1,3 +1,3 @@
|
||||||
title = Notre Ami Le Cube 1.6
|
title = Notre Ami Le Cube 1.6
|
||||||
author = Minetest and Sys4
|
author = Minetest and Sys4
|
||||||
description = Minetest game slightly modified by Sys4
|
description = A basic exploration, mining, crafting, and building, sandbox game with no NPCs, monsters, or animals. Minetest Game is usually used with mods added, and many mods are available for this game. Reliably maintained by Minetest Engine core developers.
|
||||||
|
|
|
@ -73,4 +73,4 @@ river_source_sounds = true
|
||||||
|
|
||||||
# Enable cloud variation by the 'weather' mod.
|
# Enable cloud variation by the 'weather' mod.
|
||||||
# Non-functional in V6 or Singlenode mapgens.
|
# Non-functional in V6 or Singlenode mapgens.
|
||||||
enable_weather = true
|
enable_weather = false
|
||||||
|
|
|
@ -8,21 +8,19 @@ local dyes = dye.dyes
|
||||||
for i = 1, #dyes do
|
for i = 1, #dyes do
|
||||||
local name, desc = unpack(dyes[i])
|
local name, desc = unpack(dyes[i])
|
||||||
|
|
||||||
local color_group = "color_" .. name
|
|
||||||
|
|
||||||
minetest.register_node("wool:" .. name, {
|
minetest.register_node("wool:" .. name, {
|
||||||
description = S(desc .. " Wool"),
|
description = S(desc .. " Wool"),
|
||||||
tiles = {"wool_" .. name .. ".png"},
|
tiles = {"wool_" .. name .. ".png"},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,
|
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,
|
||||||
flammable = 3, wool = 1, [color_group] = 1},
|
flammable = 3, wool = 1},
|
||||||
sounds = default.node_sound_defaults(),
|
sounds = default.node_sound_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft{
|
minetest.register_craft{
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
output = "wool:" .. name,
|
output = "wool:" .. name,
|
||||||
recipe = {"group:dye," .. color_group, "group:wool"},
|
recipe = {"group:dye,color_" .. name, "group:wool"},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user