mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Update from Creative's repository
- For MinetestForFun/server-minetestforfun-creative#57
This commit is contained in:
@ -2,10 +2,10 @@
|
||||
-- Dry Plants - Recipes 0.1.0 -- Short Grass -> Dirt
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- by Mossmanikin
|
||||
-- License (everything): WTFPL
|
||||
-- License (everything): WTFPL
|
||||
-- Looked at code from: darkage, default, farming, sickle, stairs
|
||||
-- Dependencies: default, farming
|
||||
-- Supports: flint, stoneage, sumpf
|
||||
-- Supports: flint, stoneage, sumpf
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
@ -220,7 +220,7 @@ for i in pairs(ReeD) do
|
||||
recipe = {
|
||||
{slab},
|
||||
}
|
||||
})
|
||||
})
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Roof Corner
|
||||
-----------------------------------------------------------------------------------------------
|
||||
@ -343,7 +343,7 @@ minetest.register_craft({
|
||||
burntime = 2,
|
||||
})
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Dandelion Leave
|
||||
-- Dandelion Leave
|
||||
-----------------------------------------------------------------------------------------------
|
||||
--[[minetest.register_craftitem("dryplants:dandelion_leave", {
|
||||
description = "Dandelion Leave",
|
||||
|
@ -7,10 +7,10 @@ local mname = "dryplants"
|
||||
-- textures & ideas partly by Neuromancer
|
||||
|
||||
-- License (everything): WTFPL
|
||||
-- Contains code from: default, farming
|
||||
-- Contains code from: default, farming
|
||||
-- Looked at code from: darkage, sickle, stairs
|
||||
-- Dependencies: default, farming, biome_lib
|
||||
-- Supports:
|
||||
-- Supports:
|
||||
-----------------------------------------------------------------------------------------------
|
||||
abstract_dryplants = {}
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
-- License (everything): WTFPL
|
||||
-- Contains code from: biome_lib
|
||||
-- Looked at code from: default
|
||||
-- Looked at code from: default
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
||||
abstract_dryplants.grow_grass = function(pos)
|
||||
|
@ -4,7 +4,7 @@
|
||||
-- by Mossmanikin
|
||||
-- License (everything): WTFPL
|
||||
-- Looked at code from: darkage, default, stairs
|
||||
-- Dependencies: default
|
||||
-- Dependencies: default
|
||||
-----------------------------------------------------------------------------------------------
|
||||
minetest.register_alias("stairs:stair_wetreed", "dryplants:wetreed_roof")
|
||||
minetest.register_alias("stairs:slab_wetreed", "dryplants:wetreed_slab")
|
||||
@ -93,7 +93,7 @@ if AUTO_ROOF_CORNER == true then
|
||||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
|
||||
|
||||
local node_east = minetest.get_node({x=pos.x+1, y=pos.y, z=pos.z })
|
||||
local node_west = minetest.get_node({x=pos.x-1, y=pos.y, z=pos.z })
|
||||
local node_north = minetest.get_node({x=pos.x, y=pos.y, z=pos.z+1})
|
||||
@ -106,7 +106,7 @@ if AUTO_ROOF_CORNER == true then
|
||||
then
|
||||
minetest.set_node(pos, {name=corner, param2=0})
|
||||
end
|
||||
|
||||
|
||||
if ((node_north.name == roof and node_north.param2 == 1)
|
||||
or (node_north.name == corner and node_north.param2 == 2))
|
||||
and ((node_east.name == roof and node_east.param2 == 0)
|
||||
@ -114,7 +114,7 @@ if AUTO_ROOF_CORNER == true then
|
||||
then
|
||||
minetest.set_node(pos, {name=corner, param2=1})
|
||||
end
|
||||
|
||||
|
||||
if ((node_east.name == roof and node_east.param2 == 2)
|
||||
or (node_east.name == corner and node_east.param2 == 3))
|
||||
and ((node_south.name == roof and node_south.param2 == 1)
|
||||
@ -122,7 +122,7 @@ if AUTO_ROOF_CORNER == true then
|
||||
then
|
||||
minetest.set_node(pos, {name=corner, param2=2})
|
||||
end
|
||||
|
||||
|
||||
if ((node_south.name == roof and node_south.param2 == 3)
|
||||
or (node_south.name == corner and node_south.param2 == 0))
|
||||
and ((node_west.name == roof and node_west.param2 == 2)
|
||||
@ -138,7 +138,7 @@ if AUTO_ROOF_CORNER == true then
|
||||
then
|
||||
minetest.set_node(pos, {name=corner_2, param2=0})
|
||||
end
|
||||
|
||||
|
||||
if ((node_north.name == roof and node_north.param2 == 3)
|
||||
or (node_north.name == corner_2 and node_north.param2 == 2))
|
||||
and ((node_east.name == roof and node_east.param2 == 2)
|
||||
@ -146,7 +146,7 @@ if AUTO_ROOF_CORNER == true then
|
||||
then
|
||||
minetest.set_node(pos, {name=corner_2, param2=1})
|
||||
end
|
||||
|
||||
|
||||
if ((node_east.name == roof and node_east.param2 == 0)
|
||||
or (node_east.name == corner_2 and node_east.param2 == 3))
|
||||
and ((node_south.name == roof and node_south.param2 == 3)
|
||||
@ -154,7 +154,7 @@ if AUTO_ROOF_CORNER == true then
|
||||
then
|
||||
minetest.set_node(pos, {name=corner_2, param2=2})
|
||||
end
|
||||
|
||||
|
||||
if ((node_south.name == roof and node_south.param2 == 1)
|
||||
or (node_south.name == corner_2 and node_south.param2 == 0))
|
||||
and ((node_west.name == roof and node_west.param2 == 0)
|
||||
@ -227,7 +227,7 @@ minetest.register_node("dryplants:wetreed_roof_corner_2", {
|
||||
groups = {snappy=3, flammable=2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- Wet Reed becomes (dry) Reed over time
|
||||
-----------------------------------------------------------------------------------------------
|
||||
|
@ -2,7 +2,7 @@
|
||||
-- Ferns - Crafting 0.0.5
|
||||
-----------------------------------------------------------------------------------------------
|
||||
-- (by Mossmanikin)
|
||||
-- License (everything): WTFPL
|
||||
-- License (everything): WTFPL
|
||||
-----------------------------------------------------------------------------------------------
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
|
Reference in New Issue
Block a user