mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
Updated homedecor and plantlife
- New coloured signs
This commit is contained in:
parent
b7f4a01d4d
commit
d66bc2a416
@ -1108,6 +1108,54 @@ minetest.register_craft( {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "signs:sign_wall_orange 4",
|
||||||
|
recipe = {
|
||||||
|
{ "dye:orange", "dye:black", "dye:orange" },
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "signs:sign_wall_orange 2",
|
||||||
|
recipe = {
|
||||||
|
{ "dye:orange", "dye:black", "dye:orange" },
|
||||||
|
{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "signs:sign_wall_blue 4",
|
||||||
|
recipe = {
|
||||||
|
{ "dye:blue", "dye:white", "dye:blue" },
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "signs:sign_wall_blue 2",
|
||||||
|
recipe = {
|
||||||
|
{ "dye:blue", "dye:white", "dye:blue" },
|
||||||
|
{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "signs:sign_wall_brown 4",
|
||||||
|
recipe = {
|
||||||
|
{ "dye:brown", "dye:white", "dye:brown" },
|
||||||
|
{ "default:steel_ingot", "default:steel_ingot", "default:steel_ingot" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft( {
|
||||||
|
output = "signs:sign_wall_brown 2",
|
||||||
|
recipe = {
|
||||||
|
{ "dye:brown", "dye:white", "dye:brown" },
|
||||||
|
{ "steel:sheet_metal", "steel:sheet_metal", "steel:sheet_metal" }
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
if minetest.setting_get("log_mods") then
|
if minetest.setting_get("log_mods") then
|
||||||
minetest.log("action", S("signs loaded"))
|
minetest.log("action", S("signs loaded"))
|
||||||
end
|
end
|
||||||
|
@ -190,7 +190,11 @@ minetest.register_abm({
|
|||||||
interval = GRASS_REGROWING_TIME, --1200, -- 20 minutes: a minetest-day/night-cycle
|
interval = GRASS_REGROWING_TIME, --1200, -- 20 minutes: a minetest-day/night-cycle
|
||||||
chance = 100/GRASS_REGROWING_CHANCE,
|
chance = 100/GRASS_REGROWING_CHANCE,
|
||||||
action = function(pos)
|
action = function(pos)
|
||||||
minetest.set_node(pos, {name="default:dirt_with_grass"})
|
-- Only become dirt with grass if no cut grass or hay lies on top
|
||||||
|
local above = minetest.get_node({x=pos.x, y=pos.y+1, z=pos.z})
|
||||||
|
if above.name ~= "dryplants:grass" and above.name ~= "dryplants:hay" then
|
||||||
|
minetest.set_node(pos, {name="default:dirt_with_grass"})
|
||||||
|
end
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -110,11 +110,17 @@ minetest.register_node("ferns:tree_fern_leaves_giant", {
|
|||||||
not_in_creative_inventory=1
|
not_in_creative_inventory=1
|
||||||
},
|
},
|
||||||
drop = {
|
drop = {
|
||||||
max_items = 1,
|
max_items = 2,
|
||||||
items = {
|
items = {
|
||||||
|
{
|
||||||
|
-- occasionally, drop a second sapling instead of leaves
|
||||||
|
-- (extra saplings can also be obtained by replanting and
|
||||||
|
-- reharvesting leaves)
|
||||||
|
items = {"ferns:sapling_giant_tree_fern"},
|
||||||
|
rarity = 10,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
items = {"ferns:sapling_giant_tree_fern"},
|
items = {"ferns:sapling_giant_tree_fern"},
|
||||||
rarity = 40,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
items = {"ferns:tree_fern_leaves_giant"},
|
items = {"ferns:tree_fern_leaves_giant"},
|
||||||
|
@ -18,7 +18,11 @@ abstract_ferns.grow_tree_fern = function(pos)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local size = math.random(1, 5)
|
local size = math.random(1, 4) + math.random(1, 4)
|
||||||
|
if (size > 5) then
|
||||||
|
size = 10 - size
|
||||||
|
end
|
||||||
|
size = size + 1
|
||||||
local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)]
|
local crown = ({ "ferns:tree_fern_leaves", "ferns:tree_fern_leaves_02" })[math.random(1, 2)]
|
||||||
|
|
||||||
local i = 1
|
local i = 1
|
||||||
|
@ -5,6 +5,8 @@ News de FR - MinetestForFun (Survival - PVP - Hardcore)
|
|||||||
/!\ En effet, nous profitons de cette stabilitée pour préparer une grosse MAJ qui boulversera à jamais le gameplay de Minetest /!\
|
/!\ En effet, nous profitons de cette stabilitée pour préparer une grosse MAJ qui boulversera à jamais le gameplay de Minetest /!\
|
||||||
|
|
||||||
---Next merge--- (Remerciements : ???)
|
---Next merge--- (Remerciements : ???)
|
||||||
|
MaJ de "homedecor" (nouveaux panneaux colorés)
|
||||||
|
MaJ de "plantlife"
|
||||||
MaJ de "mesecons"
|
MaJ de "mesecons"
|
||||||
MaJ de "pipeworks"
|
MaJ de "pipeworks"
|
||||||
Ajout du mod "broomstick" de palige (permet d'utiliser un balai volant contre 210 de mana)
|
Ajout du mod "broomstick" de palige (permet d'utiliser un balai volant contre 210 de mana)
|
||||||
|
Loading…
Reference in New Issue
Block a user