redwood added;more some fixes
|
@ -22,5 +22,10 @@ storm_chance = 5
|
||||||
lightning = true
|
lightning = true
|
||||||
lightning_chance = 300
|
lightning_chance = 300
|
||||||
thunder_sound = true
|
thunder_sound = true
|
||||||
|
lightning_duration = 0.15
|
||||||
##Dust Screen Effect for Sandstorms
|
##Dust Screen Effect for Sandstorms
|
||||||
dust_effect = true
|
dust_effect = true
|
||||||
|
#Rain Tweaks
|
||||||
|
rain_particles = 15
|
||||||
|
rain_falling_speed = 15
|
||||||
|
rain_sound_gain = 0.35
|
||||||
|
|
|
@ -23,6 +23,10 @@ climatez.settings = {
|
||||||
lightning = settings:get_bool("lightning"),
|
lightning = settings:get_bool("lightning"),
|
||||||
lightning_chance = tonumber(settings:get("lightning_chance")),
|
lightning_chance = tonumber(settings:get("lightning_chance")),
|
||||||
dust_effect = settings:get_bool("dust_effect"),
|
dust_effect = settings:get_bool("dust_effect"),
|
||||||
|
rain_particles = tonumber(settings:get("rain_particles")) or 15,
|
||||||
|
rain_falling_speed = tonumber(settings:get("rain_falling_speed")) or 15,
|
||||||
|
lightning_duration = tonumber(settings:get("lightning_duration")) or 0.15,
|
||||||
|
rain_sound_gain = tonumber(settings:get("rain_sound_gain")) or 0.35,
|
||||||
}
|
}
|
||||||
|
|
||||||
local timer = 0 -- A timer to create climates each x seconds an for lightning too.
|
local timer = 0 -- A timer to create climates each x seconds an for lightning too.
|
||||||
|
@ -118,7 +122,7 @@ local function is_on_surface(player_pos)
|
||||||
if not height then
|
if not height then
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
if (player_pos.y + 1.5) >= height then
|
if (player_pos.y + 5) >= height then
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -135,10 +139,10 @@ end
|
||||||
register_downfall("rain", {
|
register_downfall("rain", {
|
||||||
min_pos = {x = -15, y = 10, z = -15},
|
min_pos = {x = -15, y = 10, z = -15},
|
||||||
max_pos = {x = 15, y = 10, z = 15},
|
max_pos = {x = 15, y = 10, z = 15},
|
||||||
falling_speed = 10,
|
falling_speed = climatez.settings.rain_falling_speed,
|
||||||
amount = 8,
|
amount = climatez.settings.rain_particles,
|
||||||
exptime = 1,
|
exptime = 1,
|
||||||
size = 2,
|
size = 1.75,
|
||||||
texture = {"climatez_rain.png", "climatez_rain2.png", "climatez_rain3.png"},
|
texture = {"climatez_rain.png", "climatez_rain2.png", "climatez_rain3.png"},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -234,6 +238,23 @@ local function remove_lightning(player_name)
|
||||||
meta:set_int("climatez:lightning", -1)
|
meta:set_int("climatez:lightning", -1)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- raind sounds
|
||||||
|
|
||||||
|
local function start_rain_sound(player_name)
|
||||||
|
local rain_sound_handle = minetest.sound_play("climatez_rain", {
|
||||||
|
to_player = player_name,
|
||||||
|
loop = true,
|
||||||
|
gain = climatez.settings.rain_sound_gain
|
||||||
|
})
|
||||||
|
climatez.players[player_name].rain_sound_handle = rain_sound_handle
|
||||||
|
end
|
||||||
|
|
||||||
|
local function stop_rain_sound(player_name, rain_sound_handle)
|
||||||
|
minetest.sound_stop(rain_sound_handle)
|
||||||
|
climatez.players[player_name].rain_sound_handle = nil
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
-- CLIMATE PLAYERS FUNCTIONS
|
-- CLIMATE PLAYERS FUNCTIONS
|
||||||
|
|
||||||
local function add_climate_player(player_name, climate_id, downfall_type)
|
local function add_climate_player(player_name, climate_id, downfall_type)
|
||||||
|
@ -278,13 +299,9 @@ local function add_climate_player(player_name, climate_id, downfall_type)
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
if climatez.settings.climate_rain_sound and (downfall_type == "rain" or downfall_type== "storm") then
|
if climatez.settings.climate_rain_sound and (downfall_type == "rain" or downfall_type== "storm")
|
||||||
local rain_sound_handle = minetest.sound_play("climatez_rain", {
|
and is_on_surface(player:get_pos()) then
|
||||||
to_player = player_name,
|
start_rain_sound(player_name)
|
||||||
loop = true,
|
|
||||||
gain = 1.0,
|
|
||||||
})
|
|
||||||
climatez.players[player_name].rain_sound_handle = rain_sound_handle
|
|
||||||
end
|
end
|
||||||
|
|
||||||
--minetest.chat_send_all(player_name.." added to climate "..tostring(climate_id))
|
--minetest.chat_send_all(player_name.." added to climate "..tostring(climate_id))
|
||||||
|
@ -309,7 +326,7 @@ local function remove_climate_player_effects(player_name)
|
||||||
local rain_sound_handle = climatez.players[player_name].rain_sound_handle
|
local rain_sound_handle = climatez.players[player_name].rain_sound_handle
|
||||||
if rain_sound_handle and climatez.settings.climate_rain_sound
|
if rain_sound_handle and climatez.settings.climate_rain_sound
|
||||||
and (downfall_type == "rain" or downfall_type == "storm") then
|
and (downfall_type == "rain" or downfall_type == "storm") then
|
||||||
minetest.sound_stop(rain_sound_handle)
|
stop_rain_sound(player_name, rain_sound_handle)
|
||||||
end
|
end
|
||||||
|
|
||||||
if downfall_type == "sand" and climatez.settings.dust_effect then
|
if downfall_type == "sand" and climatez.settings.dust_effect then
|
||||||
|
@ -529,12 +546,22 @@ local climate = {
|
||||||
if chance == 1 then
|
if chance == 1 then
|
||||||
if is_on_surface(_player_pos) then
|
if is_on_surface(_player_pos) then
|
||||||
show_lightning(_player_name)
|
show_lightning(_player_name)
|
||||||
minetest.after(0.15, remove_lightning, _player_name)
|
minetest.after(climatez.settings.lightning_duration, remove_lightning, _player_name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if climatez.settings.climate_rain_sound
|
||||||
|
and (self.downfall_type == "rain" or self.downfall_type == "storm") then
|
||||||
|
local rain_sound_handle = climatez.players[_player_name].rain_sound_handle
|
||||||
|
if rain_sound_handle and not(is_on_surface(_player_pos)) then
|
||||||
|
stop_rain_sound(_player_name, rain_sound_handle)
|
||||||
|
elseif not(rain_sound_handle) and is_on_surface(_player_pos) then
|
||||||
|
start_rain_sound(_player_name)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
--minetest.chat_send_all("Climate created by ".._player_name)
|
--minetest.chat_send_all("Climate created by ".._player_name)
|
||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 9.8 KiB |
|
@ -0,0 +1,24 @@
|
||||||
|
quiet = 1
|
||||||
|
codes = true
|
||||||
|
|
||||||
|
exclude_files = {
|
||||||
|
".luarocks/*",
|
||||||
|
"worldeditadditions/utils/bit.lua"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ignore = {
|
||||||
|
"631", "61[124]",
|
||||||
|
"542",
|
||||||
|
"412",
|
||||||
|
"321/bit",
|
||||||
|
"21[123]"
|
||||||
|
}
|
||||||
|
|
||||||
|
-- Read-only globals
|
||||||
|
read_globals = {
|
||||||
|
"minetest",
|
||||||
|
"default",
|
||||||
|
"doors"
|
||||||
|
}
|
||||||
|
std = "max"
|
|
@ -142,6 +142,7 @@ minetest.register_node("baldcypress:dry_branches", {
|
||||||
tiles = {"baldcypress_dry_branches.png"},
|
tiles = {"baldcypress_dry_branches.png"},
|
||||||
inventory_image = "baldcypress_dry_branches.png",
|
inventory_image = "baldcypress_dry_branches.png",
|
||||||
wield_image = "baldcypress_dry_branches.png",
|
wield_image = "baldcypress_dry_branches.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
||||||
|
@ -161,6 +162,7 @@ minetest.register_node("baldcypress:liana", {
|
||||||
tiles = {"baldcypress_liana.png"},
|
tiles = {"baldcypress_liana.png"},
|
||||||
inventory_image = "baldcypress_liana.png",
|
inventory_image = "baldcypress_liana.png",
|
||||||
wield_image = "baldcypress_liana.png",
|
wield_image = "baldcypress_liana.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -254,3 +256,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"baldcypress:sapling", grow_new_baldcypress_tree, "soil"},
|
{"baldcypress:sapling", grow_new_baldcypress_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("baldcypress:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = baldcypress
|
name = baldcypress
|
||||||
description = Bald Cypress for Swamps
|
description = Bald Cypress for Swamps
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, swampz, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -282,3 +282,8 @@ if minetest.get_modpath("moreblocks") then
|
||||||
sounds = default.node_sound_wood_defaults(),
|
sounds = default.node_sound_wood_defaults(),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("bamboo:sprout")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = bamboo
|
name = bamboo
|
||||||
description = Bamboo Tree for Grassland
|
description = Bamboo Tree for Grassland
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -304,3 +304,8 @@ if minetest.get_modpath("doors") ~= nil then
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("birch:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = birch
|
name = birch
|
||||||
description = Birch Tree for Grassland
|
description = Birch Tree for Grassland
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, rainf, doors, moreblocks
|
optional_depends = stairs, bonemeal, rainf, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -226,6 +226,7 @@ minetest.register_node("cacaotree:pod", {
|
||||||
{-0.25, -0.5, 0, 0.25, 0.0625, 0.5},
|
{-0.25, -0.5, 0, 0.25, 0.0625, 0.5},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
use_texture_alpha = "clip",
|
||||||
drop = "cacaotree:cacao_beans 10",
|
drop = "cacaotree:cacao_beans 10",
|
||||||
groups = {fleshy = 3, dig_immediate = 3, flammable = 2,
|
groups = {fleshy = 3, dig_immediate = 3, flammable = 2,
|
||||||
leafdecay = 3, leafdecay_drop = 1},
|
leafdecay = 3, leafdecay_drop = 1},
|
||||||
|
@ -420,6 +421,7 @@ minetest.register_node("cacaotree:liana", {
|
||||||
tiles = {"cacaotree_liana.png"},
|
tiles = {"cacaotree_liana.png"},
|
||||||
inventory_image = "cacaotree_liana.png",
|
inventory_image = "cacaotree_liana.png",
|
||||||
wield_image = "cacaotree_liana.png",
|
wield_image = "cacaotree_liana.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.0, 0.5, 0.5, 0.0}
|
fixed = {-0.5, -0.5, 0.0, 0.5, 0.5, 0.0}
|
||||||
|
@ -439,6 +441,7 @@ minetest.register_node("cacaotree:flower_creeper", {
|
||||||
tiles = {"cacaotree_flower_creeper.png"},
|
tiles = {"cacaotree_flower_creeper.png"},
|
||||||
inventory_image = "cacaotree_flower_creeper.png",
|
inventory_image = "cacaotree_flower_creeper.png",
|
||||||
wield_image = "cacaotree_flower_creeper.png",
|
wield_image = "cacaotree_flower_creeper.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
||||||
|
@ -530,3 +533,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"cacaotree:sapling", grow_new_cacao_tree, "soil"},
|
{"cacaotree:sapling", grow_new_cacao_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("cacaotree:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = cacaotree
|
name = cacaotree
|
||||||
description = Cacao Tree
|
description = Cacao Tree
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,189 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=5, y=7, z=5},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
{ypos=6, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:liana", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:liana", prob=254, param2=0},
|
|
||||||
{name="cacaotree:liana", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:pod", prob=254, param2=4},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:pod", prob=254, param2=2},
|
|
||||||
{name="cacaotree:trunk", prob=254, param2=2},
|
|
||||||
{name="cacaotree:pod", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:liana", prob=254, param2=1},
|
|
||||||
{name="cacaotree:trunk", prob=254, param2=1},
|
|
||||||
{name="cacaotree:liana", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:pod", prob=254, param2=5},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:flower_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:flower_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:liana", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:liana", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cacaotree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -295,3 +295,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"cherrytree:sapling", grow_new_cherrytree_tree, "soil"},
|
{"cherrytree:sapling", grow_new_cherrytree_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("cherrytree:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = cherrytree
|
name = cherrytree
|
||||||
description = Cherry Tree for Decidious Forest
|
description = Cherry Tree for Decidious Forest
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,224 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=6, y=7, z=5},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
{ypos=6, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:cherries", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=126, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:cherries", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:trunk", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:trunk", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:trunk", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:trunk", prob=254, param2=3},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:trunk", prob=254, param2=3},
|
|
||||||
{name="cherrytree:trunk", prob=254, param2=3},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:trunk", prob=254, param2=3},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=126, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="cherrytree:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -285,3 +285,8 @@ if minetest.get_modpath("doors") ~= nil then
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("chestnuttree:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = chestnuttree
|
name = chestnuttree
|
||||||
description = Chesnut Tree for Grassland
|
description = Chesnut Tree for Grassland
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, rainf, doors, moreblocks
|
optional_depends = stairs, bonemeal, rainf, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -249,3 +249,8 @@ if minetest.get_modpath("doors") ~= nil then
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("clementinetree:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = clementinetree
|
name = clementinetree
|
||||||
description = Clementine Tree for Decidious Forest
|
description = Clementine Tree for Decidious Forest
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,164 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=5, y=6, z=5},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=126, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=126, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:trunk", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:trunk", prob=254, param2=21},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=254, param2=1},
|
|
||||||
{name="clementinetree:leaves", prob=126, param2=0},
|
|
||||||
{name="clementinetree:trunk", prob=254, param2=20},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=126, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:trunk", prob=254, param2=20},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=126, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=126, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:clementine", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=126, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="clementinetree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
|
||||||
schematic = modpath.."/schematics/ebony.mts",
|
schematic = modpath.."/schematics/ebony.mts",
|
||||||
flags = "place_center_x, place_center_z, force_placement",
|
flags = "place_center_x, place_center_z, force_placement",
|
||||||
rotation = "random",
|
rotation = "random",
|
||||||
place_offset_y = -1,
|
place_offset_y = 0,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -64,6 +64,7 @@ minetest.register_node("ebony:sapling", {
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
on_timer = grow_new_ebony_tree,
|
on_timer = grow_new_ebony_tree,
|
||||||
|
use_texture_alpha = "clip",
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||||
|
@ -148,6 +149,7 @@ minetest.register_node("ebony:creeper", {
|
||||||
tiles = {"ebony_creeper.png"},
|
tiles = {"ebony_creeper.png"},
|
||||||
inventory_image = "ebony_creeper.png",
|
inventory_image = "ebony_creeper.png",
|
||||||
wield_image = "ebony_creeper.png",
|
wield_image = "ebony_creeper.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
||||||
|
@ -167,6 +169,7 @@ minetest.register_node("ebony:creeper_leaves", {
|
||||||
tiles = {"ebony_creeper_leaves.png"},
|
tiles = {"ebony_creeper_leaves.png"},
|
||||||
inventory_image = "ebony_creeper_leaves.png",
|
inventory_image = "ebony_creeper_leaves.png",
|
||||||
wield_image = "ebony_creeper_leaves.png",
|
wield_image = "ebony_creeper_leaves.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
||||||
|
@ -186,6 +189,7 @@ minetest.register_node("ebony:liana", {
|
||||||
tiles = {"ebony_liana.png"},
|
tiles = {"ebony_liana.png"},
|
||||||
inventory_image = "ebony_liana.png",
|
inventory_image = "ebony_liana.png",
|
||||||
wield_image = "ebony_liana.png",
|
wield_image = "ebony_liana.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.0, 0.5, 0.5, 0.0}
|
fixed = {-0.5, -0.5, 0.0, 0.5, 0.5, 0.0}
|
||||||
|
@ -300,3 +304,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"ebony:sapling", grow_new_ebony_tree, "soil"},
|
{"ebony:sapling", grow_new_ebony_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("ebony:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = ebony
|
name = ebony
|
||||||
description = Ebony Tree for Rainforest Biome
|
description = Ebony Tree for Rainforest Biome
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -233,3 +233,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"hollytree:sapling", grow_new_hollytree_tree, "soil"},
|
{"hollytree:sapling", grow_new_hollytree_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("hollytree:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = hollytree
|
name = hollytree
|
||||||
description = Hollytree
|
description = Hollytree
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, rainf, doors, moreblocks
|
optional_depends = stairs, bonemeal, rainf, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -214,3 +214,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("jacaranda:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = jacaranda
|
name = jacaranda
|
||||||
description = Jacaranda for jungles
|
description = Jacaranda for jungles
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,407 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=7, y=8, z=7},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
{ypos=6, prob=254},
|
|
||||||
{ypos=7, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:trunk", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:trunk", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:trunk", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:trunk", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:trunk", prob=254, param2=3},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:trunk", prob=254, param2=3},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:trunk", prob=254, param2=3},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=128, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="jacaranda:blossom_leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -142,6 +142,7 @@ minetest.register_node("larch:moss", {
|
||||||
tiles = {"larch_moss.png"},
|
tiles = {"larch_moss.png"},
|
||||||
inventory_image = "larch_moss.png",
|
inventory_image = "larch_moss.png",
|
||||||
wield_image = "larch_moss.png",
|
wield_image = "larch_moss.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
||||||
|
@ -250,3 +251,8 @@ if minetest.get_modpath("doors") ~= nil then
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("larch:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = larch
|
name = larch
|
||||||
description = Larch Tree
|
description = Larch Tree
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -291,3 +291,8 @@ if minetest.get_modpath("cork") ~= nil then
|
||||||
burntime = 25,
|
burntime = 25,
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("lemontree:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = lemontree
|
name = lemontree
|
||||||
description = Lemon Tree for Decidious Forest
|
description = Lemon Tree for Decidious Forest
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,189 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=5, y=7, z=5},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
{ypos=6, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:lemon", prob=64, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:trunk", prob=126, param2=20},
|
|
||||||
{name="lemontree:lemon", prob=126, param2=0},
|
|
||||||
{name="lemontree:trunk", prob=254, param2=9},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:trunk", prob=254, param2=0, force_place=true},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=240},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:trunk", prob=254, param2=0, force_place=true},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:trunk", prob=254, param2=22, force_place=true},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:lemon", prob=126, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:lemon", prob=126, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=240},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:trunk", prob=254, param2=9},
|
|
||||||
{name="lemontree:lemon", prob=126, param2=0},
|
|
||||||
{name="lemontree:trunk", prob=126, param2=23},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="lemontree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -62,6 +62,7 @@ minetest.register_node("mahogany:sapling", {
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
walkable = false,
|
walkable = false,
|
||||||
|
use_texture_alpha = "clip",
|
||||||
on_timer = grow_new_mahogany_tree,
|
on_timer = grow_new_mahogany_tree,
|
||||||
selection_box = {
|
selection_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
|
@ -147,6 +148,7 @@ minetest.register_node("mahogany:creeper", {
|
||||||
tiles = {"mahogany_creeper.png"},
|
tiles = {"mahogany_creeper.png"},
|
||||||
inventory_image = "mahogany_creeper.png",
|
inventory_image = "mahogany_creeper.png",
|
||||||
wield_image = "mahogany_creeper.png",
|
wield_image = "mahogany_creeper.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
||||||
|
@ -166,6 +168,7 @@ minetest.register_node("mahogany:flower_creeper", {
|
||||||
tiles = {"mahogany_flower_creeper.png"},
|
tiles = {"mahogany_flower_creeper.png"},
|
||||||
inventory_image = "mahogany_flower_creeper.png",
|
inventory_image = "mahogany_flower_creeper.png",
|
||||||
wield_image = "mahogany_flower_creeper.png",
|
wield_image = "mahogany_flower_creeper.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
fixed = {-0.5, -0.5, 0.49, 0.5, 0.5, 0.5}
|
||||||
|
@ -185,6 +188,7 @@ minetest.register_node("mahogany:hanging_creeper", {
|
||||||
tiles = {"mahogany_hanging_creeper.png"},
|
tiles = {"mahogany_hanging_creeper.png"},
|
||||||
inventory_image = "mahogany_hanging_creeper.png",
|
inventory_image = "mahogany_hanging_creeper.png",
|
||||||
wield_image = "mahogany_hanging_creeper.png",
|
wield_image = "mahogany_hanging_creeper.png",
|
||||||
|
use_texture_alpha = "clip",
|
||||||
node_box = {
|
node_box = {
|
||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = {-0.5, -0.5, 0.0, 0.5, 0.5, 0.0}
|
fixed = {-0.5, -0.5, 0.0, 0.5, 0.5, 0.0}
|
||||||
|
@ -276,3 +280,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"mahogany:sapling", grow_new_mahogany_tree, "soil"},
|
{"mahogany:sapling", grow_new_mahogany_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("mahogany:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = mahogany
|
name = mahogany
|
||||||
description = Mahogany Tree for Rainforest Biome
|
description = Mahogany Tree for Rainforest Biome
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, rainf, doors, moreblocks
|
optional_depends = stairs, bonemeal, rainf, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,857 +0,0 @@
|
||||||
local schematic = {
|
|
||||||
size = {x=7, y=17, z=7},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
{ypos=6, prob=254},
|
|
||||||
{ypos=7, prob=254},
|
|
||||||
{ypos=8, prob=254},
|
|
||||||
{ypos=9, prob=254},
|
|
||||||
{ypos=10, prob=254},
|
|
||||||
{ypos=11, prob=254},
|
|
||||||
{ypos=12, prob=254},
|
|
||||||
{ypos=13, prob=254},
|
|
||||||
{ypos=14, prob=254},
|
|
||||||
{ypos=15, prob=254},
|
|
||||||
{ypos=16, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="ignore", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="ignore", prob=0, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=3},
|
|
||||||
{name="ignore", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=2},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=3},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=2},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="ignore", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=2},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:trunk", prob=254, param2=1},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=1},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:flower_creeper", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:hanging_creeper", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=126, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="mahogany:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -243,3 +243,8 @@ if minetest.get_modpath("doors") ~= nil then
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("maple:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = maple
|
name = maple
|
||||||
description = Maple Tree
|
description = Maple Tree
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, rainf, doors, moreblocks
|
optional_depends = stairs, bonemeal, rainf, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,898 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=8, y=11, z=10},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
{ypos=6, prob=254},
|
|
||||||
{ypos=7, prob=254},
|
|
||||||
{ypos=8, prob=254},
|
|
||||||
{ypos=9, prob=254},
|
|
||||||
{ypos=10, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=20},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=2},
|
|
||||||
{name="maple:trunk", prob=254, param2=12},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=2},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=20},
|
|
||||||
{name="maple:trunk", prob=254, param2=18},
|
|
||||||
{name="maple:trunk", prob=254, param2=7},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=2},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=7},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=7},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=7},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=20},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=7},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="maple:trunk", prob=254, param2=12},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:trunk", prob=254, param2=3},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="maple:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -262,3 +262,8 @@ if minetest.get_modpath("doors") ~= nil then
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("oak:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = oak
|
name = oak
|
||||||
description = Oak Tree
|
description = Oak Tree
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, rainf, doors, moreblocks
|
optional_depends = stairs, bonemeal, rainf, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -324,3 +324,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"palm:sapling", grow_new_palm_tree, "sand"},
|
{"palm:sapling", grow_new_palm_tree, "sand"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("palm:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = palm
|
name = palm
|
||||||
description = Palm Tree for deserts
|
description = Palm Tree for deserts
|
||||||
depends = default, doors
|
depends = default, doors
|
||||||
optional_depends = stairs, bonemeal, moreblocks
|
optional_depends = stairs, bonemeal, moreblocks, flowerpot
|
||||||
|
|
|
@ -123,3 +123,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"pineapple:sapling", grow_new_pineapple_tree, "soil"},
|
{"pineapple:sapling", grow_new_pineapple_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("pineapple:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = pineapple
|
name = pineapple
|
||||||
description = Pineapple tree for the jungle
|
description = Pineapple tree for the jungle
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = bonemeal
|
optional_depends = bonemeal, flowerpot
|
||||||
|
|
|
@ -277,3 +277,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"plumtree:sapling", grow_new_plumtree_tree, "soil"},
|
{"plumtree:sapling", grow_new_plumtree_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("plumtree:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = plumtree
|
name = plumtree
|
||||||
description = Plum Tree
|
description = Plum Tree
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,883 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=9, y=12, z=8},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
{ypos=6, prob=254},
|
|
||||||
{ypos=7, prob=254},
|
|
||||||
{ypos=8, prob=254},
|
|
||||||
{ypos=9, prob=254},
|
|
||||||
{ypos=10, prob=254},
|
|
||||||
{ypos=11, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=20},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=18},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=18},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=2},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=3},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:trunk", prob=254, param2=3},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:plum", prob=254, param2=1},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="plumtree:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -244,3 +244,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"pomegranate:sapling", grow_new_pomegranate_tree, "soil"},
|
{"pomegranate:sapling", grow_new_pomegranate_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("pomegranate:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = pomegranate
|
name = pomegranate
|
||||||
description = Pomegranate Tree for Savanha
|
description = Pomegranate Tree for Savanha
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,67 +0,0 @@
|
||||||
schematic = {
|
|
||||||
size = {x=3, y=6, z=3},
|
|
||||||
yslice_prob = {
|
|
||||||
{ypos=0, prob=254},
|
|
||||||
{ypos=1, prob=254},
|
|
||||||
{ypos=2, prob=254},
|
|
||||||
{ypos=3, prob=254},
|
|
||||||
{ypos=4, prob=254},
|
|
||||||
{ypos=5, prob=254},
|
|
||||||
},
|
|
||||||
data = {
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:pomegranate", prob=126, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="pomegranate:trunk", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="pomegranate:trunk", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="pomegranate:trunk", prob=254, param2=1},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="pomegranate:pomegranate", prob=126, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:pomegranate", prob=126, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=126, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:pomegranate", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="pomegranate:leaves", prob=254, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
{name="air", prob=0, param2=0},
|
|
||||||
},
|
|
||||||
}
|
|
|
@ -0,0 +1,243 @@
|
||||||
|
--
|
||||||
|
-- Sequoia
|
||||||
|
--
|
||||||
|
|
||||||
|
local modname = "sequoia"
|
||||||
|
local modpath = minetest.get_modpath(modname)
|
||||||
|
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||||
|
|
||||||
|
-- internationalization boilerplate
|
||||||
|
local S = minetest.get_translator(minetest.get_current_modname())
|
||||||
|
|
||||||
|
--Sequoia Grow Function
|
||||||
|
|
||||||
|
local function grow_new_sequoia(pos)
|
||||||
|
if not default.can_grow(pos) then
|
||||||
|
-- try a bit later again
|
||||||
|
minetest.get_node_timer(pos):start(math.random(240, 600))
|
||||||
|
return
|
||||||
|
end
|
||||||
|
minetest.remove_node(pos)
|
||||||
|
minetest.place_schematic({x = pos.x-7, y = pos.y-4, z = pos.z-7}, modpath.."/schematics/sequoia_03.mts", "0", nil, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Decoration
|
||||||
|
--
|
||||||
|
|
||||||
|
if mg_name ~= "v6" and mg_name ~= "singlenode" then
|
||||||
|
|
||||||
|
local name, place_on, biomes, offset, scale, schematic, place_offset_y, seed
|
||||||
|
|
||||||
|
if minetest.get_modpath("redw") then
|
||||||
|
place_on = {"redw:dirt", "redw:dirt_with_grass"}
|
||||||
|
biomes = "redwood_forest"
|
||||||
|
else
|
||||||
|
place_on = "default:dirt_with_grass"
|
||||||
|
biomes = "grassland"
|
||||||
|
end
|
||||||
|
|
||||||
|
for i = 1, 3 do
|
||||||
|
if i == 1 then
|
||||||
|
name = "sequoia:sequoia_small"
|
||||||
|
schematic = "sequoia_01"
|
||||||
|
offset = 0.008
|
||||||
|
scale = 0.0004
|
||||||
|
seed = 67
|
||||||
|
place_offset_y = -1
|
||||||
|
elseif i == 2 then
|
||||||
|
name = "sequoia:sequoia_medium"
|
||||||
|
schematic = "sequoia_02"
|
||||||
|
offset = 0.008
|
||||||
|
scale = 0.0004
|
||||||
|
seed = 345
|
||||||
|
place_offset_y = -1
|
||||||
|
else
|
||||||
|
name = "sequoia:sequoia_giant"
|
||||||
|
schematic = "sequoia_03"
|
||||||
|
offset = 0.0008
|
||||||
|
scale = 0.00004
|
||||||
|
seed = 23
|
||||||
|
place_offset_y = -2
|
||||||
|
end
|
||||||
|
minetest.register_decoration({
|
||||||
|
name = name,
|
||||||
|
deco_type = "schematic",
|
||||||
|
place_on = place_on,
|
||||||
|
sidelen = 16,
|
||||||
|
noise_params = {
|
||||||
|
offset = offset,
|
||||||
|
scale = scale,
|
||||||
|
spread = {x = 250, y = 250, z = 250},
|
||||||
|
seed = seed,
|
||||||
|
octaves = 3,
|
||||||
|
persist = 0.66
|
||||||
|
},
|
||||||
|
biomes = {biomes},
|
||||||
|
y_min = 1,
|
||||||
|
y_max = 80,
|
||||||
|
schematic = modpath .. "/schematics/" .. schematic .. ".mts",
|
||||||
|
flags = "place_center_x, place_center_z, force_placement",
|
||||||
|
rotation = "random",
|
||||||
|
place_offset_y = place_offset_y,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Nodes
|
||||||
|
--
|
||||||
|
|
||||||
|
minetest.register_node("sequoia:sapling", {
|
||||||
|
description = S("Sequoia Sapling"),
|
||||||
|
drawtype = "plantlike",
|
||||||
|
tiles = {"sequoia_sapling.png"},
|
||||||
|
inventory_image = "sequoia_sapling.png",
|
||||||
|
wield_image = "sequoia_sapling.png",
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
walkable = false,
|
||||||
|
on_timer = grow_new_sequoia,
|
||||||
|
selection_box = {
|
||||||
|
type = "fixed",
|
||||||
|
fixed = {-4 / 16, -0.5, -4 / 16, 4 / 16, 7 / 16, 4 / 16}
|
||||||
|
},
|
||||||
|
groups = {snappy = 2, dig_immediate = 3, flammable = 2,
|
||||||
|
attached_node = 1, sapling = 1},
|
||||||
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
|
||||||
|
on_construct = function(pos)
|
||||||
|
minetest.get_node_timer(pos):start(math.random(2400, 4800))
|
||||||
|
end,
|
||||||
|
|
||||||
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
itemstack = default.sapling_on_place(itemstack, placer, pointed_thing,
|
||||||
|
"sequoia:sapling",
|
||||||
|
-- minp, maxp to be checked, relative to sapling pos
|
||||||
|
-- minp_relative.y = 1 because sapling pos has been checked
|
||||||
|
{x = -2, y = 1, z = -2},
|
||||||
|
{x = 2, y = 6, z = 2},
|
||||||
|
-- maximum interval of interior volume check
|
||||||
|
4)
|
||||||
|
|
||||||
|
return itemstack
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_node("sequoia:trunk", {
|
||||||
|
description = S("Sequoia Trunk"),
|
||||||
|
tiles = {
|
||||||
|
"sequoia_trunk_top.png",
|
||||||
|
"sequoia_trunk_top.png",
|
||||||
|
"sequoia_trunk.png"
|
||||||
|
},
|
||||||
|
groups = {tree = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
paramtype2 = "facedir",
|
||||||
|
on_place = minetest.rotate_node,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Sequoia wood
|
||||||
|
minetest.register_node("sequoia:wood", {
|
||||||
|
description = S("Sequoia Wood"),
|
||||||
|
tiles = {"sequoia_wood.png"},
|
||||||
|
is_ground_content = false,
|
||||||
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Sequoia leaves
|
||||||
|
minetest.register_node("sequoia:leaves", {
|
||||||
|
description = S("Sequoia Leaves"),
|
||||||
|
drawtype = "allfaces_optional",
|
||||||
|
tiles = {"sequoia_leaves.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
walkable = true,
|
||||||
|
waving = 1,
|
||||||
|
groups = {snappy = 3, leafdecay = 3, leaves = 1, flammable = 2},
|
||||||
|
drop = {
|
||||||
|
max_items = 1,
|
||||||
|
items = {
|
||||||
|
{items = {"sequoia:sapling"}, rarity = 20},
|
||||||
|
{items = {"sequoia:leaves"}}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
after_place_node = default.after_place_leaves,
|
||||||
|
})
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Craftitems
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Recipes
|
||||||
|
--
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "sequoia:wood 4",
|
||||||
|
recipe = {{"sequoia:trunk"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "sequoia:trunk",
|
||||||
|
burntime = 30,
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
type = "fuel",
|
||||||
|
recipe = "sequoia:wood",
|
||||||
|
burntime = 7,
|
||||||
|
})
|
||||||
|
|
||||||
|
default.register_leafdecay({
|
||||||
|
trunks = {"sequoia:trunk"},
|
||||||
|
leaves = {"sequoia:leaves"},
|
||||||
|
radius = 3,
|
||||||
|
})
|
||||||
|
|
||||||
|
-- Fence
|
||||||
|
if minetest.settings:get_bool("cool_fences", true) then
|
||||||
|
local fence = {
|
||||||
|
description = S("Sequoia Wood Fence"),
|
||||||
|
texture = "sequoia_wood.png",
|
||||||
|
material = "sequoia:wood",
|
||||||
|
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
}
|
||||||
|
default.register_fence("sequoia:fence", table.copy(fence))
|
||||||
|
fence.description = S("Sequoia Fence Rail")
|
||||||
|
default.register_fence_rail("sequoia:fence_rail", table.copy(fence))
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
--Stairs
|
||||||
|
|
||||||
|
if minetest.get_modpath("stairs") ~= nil then
|
||||||
|
stairs.register_stair_and_slab(
|
||||||
|
"sequoia_trunk",
|
||||||
|
"sequoia:trunk",
|
||||||
|
{choppy = 2, oddly_breakable_by_hand = 2, flammable = 2},
|
||||||
|
{"sequoia_wood.png"},
|
||||||
|
S("Sequoia Tree Stair"),
|
||||||
|
S("Sequoia Tree Slab"),
|
||||||
|
default.node_sound_wood_defaults()
|
||||||
|
)
|
||||||
|
end
|
||||||
|
|
||||||
|
-- stairsplus/moreblocks
|
||||||
|
if minetest.get_modpath("moreblocks") then
|
||||||
|
stairsplus:register_all("sequoia", "wood", "sequoia:wood", {
|
||||||
|
description = "Sequoia",
|
||||||
|
tiles = {"sequoia_wood.png"},
|
||||||
|
groups = {choppy = 2, oddly_breakable_by_hand = 1, flammable = 3},
|
||||||
|
sounds = default.node_sound_wood_defaults(),
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
|
bonemeal:add_sapling({
|
||||||
|
{"sequoia:sapling", grow_new_sequoia, "soil"},
|
||||||
|
})
|
||||||
|
end
|
|
@ -0,0 +1,9 @@
|
||||||
|
# textdomain: sequoia
|
||||||
|
Sequoia Sapling=Retoño de secuoya
|
||||||
|
Sequoia Trunk=Madera de secuoya
|
||||||
|
Sequoia Wood=Tablas de secuoya
|
||||||
|
Sequoia Inner Stair=Escalera interior de secuoya
|
||||||
|
Sequoia Leaves=Hojas de secuoya
|
||||||
|
Sequoia Outer Stair=Escalera exterior de secuoya
|
||||||
|
Sequoia Slab=Losa de secuoya
|
||||||
|
Sequoia Stair=Escalera de secuoya
|
|
@ -0,0 +1,4 @@
|
||||||
|
name = sequoia
|
||||||
|
description = Sequoia
|
||||||
|
depends = default
|
||||||
|
optional_depends = stairs, bonemeal, doors, moreblocks
|
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 9.2 KiB |
After Width: | Height: | Size: 9.7 KiB |
After Width: | Height: | Size: 2.9 KiB |
|
@ -72,7 +72,7 @@ minetest.register_node("willow:sapling", {
|
||||||
sounds = default.node_sound_leaves_defaults(),
|
sounds = default.node_sound_leaves_defaults(),
|
||||||
|
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
minetest.get_node_timer(pos):start(math.random(2400,4800))
|
minetest.get_node_timer(pos):start(math.random(2400, 4800))
|
||||||
end,
|
end,
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
|
@ -213,3 +213,8 @@ if minetest.get_modpath("bonemeal") ~= nil then
|
||||||
{"willow:sapling", grow_new_willow_tree, "soil"},
|
{"willow:sapling", grow_new_willow_tree, "soil"},
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- Support for flowerpot
|
||||||
|
if minetest.global_exists("flowerpot") then
|
||||||
|
flowerpot.register_node("willow:sapling")
|
||||||
|
end
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = willow
|
name = willow
|
||||||
description = Willow Tree for Swampy Biomes
|
description = Willow Tree for Swampy Biomes
|
||||||
depends = default
|
depends = default
|
||||||
optional_depends = stairs, bonemeal, swampz, doors, moreblocks
|
optional_depends = stairs, bonemeal, doors, moreblocks, flowerpot
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
unused_args = false
|
unused_args = false
|
||||||
allow_defined_top = true
|
allow_defined_top = false
|
||||||
|
|
||||||
globals = {
|
globals = {
|
||||||
"minetest",
|
"minetest",
|
||||||
|
"jonez",
|
||||||
"stairs",
|
"stairs",
|
||||||
"xpanes"
|
"xpanes"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,39 +1,44 @@
|
||||||
chisel = {}
|
local S = ...
|
||||||
local S = minetest.get_translator(minetest.get_current_modname())
|
|
||||||
|
|
||||||
chisel.chiselable = {}
|
jonez.chisel = {
|
||||||
chisel.group_style_index = {}
|
chiselable = {},
|
||||||
chisel.group_style_nodes = {}
|
group_style_index = {},
|
||||||
chisel.player_copied_style = {}
|
group_style_nodes = {},
|
||||||
|
player_copied_style = {},
|
||||||
|
}
|
||||||
|
|
||||||
chisel.register_chiselable = function(node_name, group_name, style)
|
jonez.chisel.register_chiselable = function(node_name, group_name, style)
|
||||||
chisel.chiselable[ node_name ] = {}
|
jonez.chisel.chiselable[node_name] = {}
|
||||||
chisel.chiselable[ node_name ].group_name = group_name
|
jonez.chisel.chiselable[node_name].group_name = group_name
|
||||||
chisel.chiselable[ node_name ].style = style
|
jonez.chisel.chiselable[node_name].style = style
|
||||||
|
|
||||||
if not chisel.group_style_nodes[ group_name ] then
|
if not jonez.chisel.group_style_nodes[group_name] then
|
||||||
chisel.group_style_nodes[ group_name ] = {}
|
jonez.chisel.group_style_nodes[group_name] = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
chisel.group_style_nodes[ group_name ][ style ] = node_name
|
jonez.chisel.group_style_nodes[group_name][style] = node_name
|
||||||
end
|
end
|
||||||
|
|
||||||
chisel.register_chiselable_stair_and_slab = function(node_subname, group_subname, style)
|
jonez.chisel.register_chiselable_stair_and_slab = function(node_subname, group_subname, style)
|
||||||
chisel.register_chiselable("stairs:stair_" .. node_subname, "stairs:stair_" .. group_subname, style)
|
jonez.chisel.register_chiselable("stairs:stair_" .. node_subname, "stairs:stair_" .. group_subname, style)
|
||||||
chisel.register_chiselable("stairs:stair_inner_" .. node_subname, "stairs:stair_inner_" .. group_subname, style)
|
jonez.chisel.register_chiselable("stairs:stair_inner_" .. node_subname, "stairs:stair_inner_" .. group_subname, style)
|
||||||
chisel.register_chiselable("stairs:stair_outer_" .. node_subname, "stairs:stair_outer_" .. group_subname, style)
|
jonez.chisel.register_chiselable("stairs:stair_outer_" .. node_subname, "stairs:stair_outer_" .. group_subname, style)
|
||||||
chisel.register_chiselable("stairs:slab_" .. node_subname, "stairs:slab_" .. group_subname, style)
|
jonez.chisel.register_chiselable("stairs:slab_" .. node_subname, "stairs:slab_" .. group_subname, style)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function chisel_interact(player, pointed_thing, is_right_click)
|
local function chisel_interact(player, pointed_thing, is_right_click)
|
||||||
if pointed_thing.type ~= "node" then return end
|
if pointed_thing.type ~= "node" then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
local pos = pointed_thing.under
|
local pos = pointed_thing.under
|
||||||
local is_sneak = player and player:get_player_control().sneak or false
|
local is_sneak = player and player:get_player_control().sneak or false
|
||||||
local player_name = player and player:get_player_name()
|
local player_name = player and player:get_player_name()
|
||||||
|
|
||||||
-- A true player is required
|
-- A true player is required
|
||||||
if not player_name then return end
|
if not player_name then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
-- Check for node protection
|
-- Check for node protection
|
||||||
if minetest.is_protected(pos, player_name) then
|
if minetest.is_protected(pos, player_name) then
|
||||||
|
@ -46,35 +51,37 @@ local function chisel_interact(player, pointed_thing, is_right_click)
|
||||||
local node = minetest.get_node(pos)
|
local node = minetest.get_node(pos)
|
||||||
local node_name = node.name
|
local node_name = node.name
|
||||||
|
|
||||||
if not chisel.chiselable[ node_name ] then
|
if not jonez.chisel.chiselable[node_name] then
|
||||||
minetest.chat_send_player(player_name, "Not chiselable")
|
minetest.chat_send_player(player_name, "Not chiselable")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local group_name = chisel.chiselable[ node_name ].group_name
|
local group_name = jonez.chisel.chiselable[node_name].group_name
|
||||||
local style = chisel.chiselable[ node_name ].style
|
local style = jonez.chisel.chiselable[node_name].style
|
||||||
local group = chisel.group_style_nodes[ group_name ]
|
local group = jonez.chisel.group_style_nodes[group_name]
|
||||||
local new_style , new_node_name
|
local new_style, new_node_name
|
||||||
|
|
||||||
-- Now branch on the four user-input cases
|
-- Now branch on the four user-input cases
|
||||||
if is_right_click then
|
if is_right_click then
|
||||||
if is_sneak then
|
if is_sneak then
|
||||||
-- Copy style
|
-- Copy style
|
||||||
chisel.player_copied_style[ player_name ] = style
|
jonez.chisel.player_copied_style[player_name] = style
|
||||||
minetest.chat_send_player(player_name, "Chisel style " .. style .. " copied")
|
minetest.chat_send_player(player_name, "Chisel style " .. style .. " copied")
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
-- Paste style
|
-- Paste style
|
||||||
new_style = chisel.player_copied_style[ player_name ]
|
new_style = jonez.chisel.player_copied_style[player_name]
|
||||||
if not new_style then
|
if not new_style then
|
||||||
minetest.chat_send_player(player_name, "No chisel style copied yet, use sneak + right-click to copy a style")
|
minetest.chat_send_player(player_name, "No chisel style copied yet, use sneak + right-click to copy a style")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Already the correct style, exit now!
|
-- Already the correct style, exit now!
|
||||||
if new_style == style then return end
|
if new_style == style then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
new_node_name = group[ new_style ]
|
new_node_name = group[new_style]
|
||||||
if not new_node_name then
|
if not new_node_name then
|
||||||
minetest.chat_send_player(player_name, "Chisel style " .. new_style ..
|
minetest.chat_send_player(player_name, "Chisel style " .. new_style ..
|
||||||
" is not supported by this chisel group " .. group_name)
|
" is not supported by this chisel group " .. group_name)
|
||||||
|
|
|
@ -1,13 +1,15 @@
|
||||||
--Variables
|
--Variables
|
||||||
local mod_path = minetest.get_modpath(minetest.get_current_modname())
|
jonez = {}
|
||||||
dofile(mod_path .. "/chisel.lua")
|
local mod_name = minetest.get_current_modname()
|
||||||
local S = minetest.get_translator(minetest.get_current_modname())
|
local mod_path = minetest.get_modpath(mod_name)
|
||||||
|
local S = minetest.get_translator(mod_name)
|
||||||
|
assert(loadfile(mod_path .. "/chisel.lua"))(S)
|
||||||
|
|
||||||
local function firstToUpper(str)
|
local function firstToUpper(str)
|
||||||
return (str:gsub("^%l", string.upper))
|
return (str:gsub("^%l", string.upper))
|
||||||
end
|
end
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:marble", "jonez:marble", "raw" )
|
jonez.chisel.register_chiselable("jonez:marble", "jonez:marble", "raw" )
|
||||||
minetest.register_node("jonez:marble", {
|
minetest.register_node("jonez:marble", {
|
||||||
description = S("Ancient Marble"),
|
description = S("Ancient Marble"),
|
||||||
tiles = {"jonez_marble.png"},
|
tiles = {"jonez_marble.png"},
|
||||||
|
@ -16,7 +18,7 @@ minetest.register_node("jonez:marble", {
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:marble_polished", "jonez:marble", "polished" )
|
jonez.chisel.register_chiselable("jonez:marble_polished", "jonez:marble", "polished" )
|
||||||
minetest.register_node("jonez:marble_polished", {
|
minetest.register_node("jonez:marble_polished", {
|
||||||
description = S("Ancient Polished Marble"),
|
description = S("Ancient Polished Marble"),
|
||||||
tiles = {"jonez_marble_polished.png"},
|
tiles = {"jonez_marble_polished.png"},
|
||||||
|
@ -25,7 +27,7 @@ minetest.register_node("jonez:marble_polished", {
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
chisel.register_chiselable_stair_and_slab("marble", "marble", "raw" )
|
jonez.chisel.register_chiselable_stair_and_slab("marble", "marble", "raw" )
|
||||||
stairs.register_stair_and_slab(
|
stairs.register_stair_and_slab(
|
||||||
"marble",
|
"marble",
|
||||||
"jonez:marble",
|
"jonez:marble",
|
||||||
|
@ -36,7 +38,7 @@ stairs.register_stair_and_slab(
|
||||||
default.node_sound_stone_defaults()
|
default.node_sound_stone_defaults()
|
||||||
)
|
)
|
||||||
|
|
||||||
chisel.register_chiselable_stair_and_slab("marble_brick", "marble_brick", "raw" )
|
jonez.chisel.register_chiselable_stair_and_slab("marble_brick", "marble_brick", "raw" )
|
||||||
stairs.register_stair_and_slab(
|
stairs.register_stair_and_slab(
|
||||||
"marble_brick",
|
"marble_brick",
|
||||||
"jonez:marble_brick",
|
"jonez:marble_brick",
|
||||||
|
@ -47,7 +49,7 @@ stairs.register_stair_and_slab(
|
||||||
default.node_sound_stone_defaults()
|
default.node_sound_stone_defaults()
|
||||||
)
|
)
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:marble_brick", "jonez:marble_brick", "raw" )
|
jonez.chisel.register_chiselable("jonez:marble_brick", "jonez:marble_brick", "raw" )
|
||||||
minetest.register_node("jonez:marble_brick", {
|
minetest.register_node("jonez:marble_brick", {
|
||||||
description = S("Ancient Marble Brick"),
|
description = S("Ancient Marble Brick"),
|
||||||
tiles = {"jonez_marble_brick.png"},
|
tiles = {"jonez_marble_brick.png"},
|
||||||
|
@ -56,7 +58,7 @@ minetest.register_node("jonez:marble_brick", {
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:marble_brick_polished", "jonez:marble_brick", "polished" )
|
jonez.chisel.register_chiselable("jonez:marble_brick_polished", "jonez:marble_brick", "polished" )
|
||||||
minetest.register_node("jonez:marble_brick_polished", {
|
minetest.register_node("jonez:marble_brick_polished", {
|
||||||
description = S("Ancient Marble Polished Brick"),
|
description = S("Ancient Marble Polished Brick"),
|
||||||
tiles = {"jonez_marble_brick_polished.png"},
|
tiles = {"jonez_marble_brick_polished.png"},
|
||||||
|
@ -65,7 +67,7 @@ minetest.register_node("jonez:marble_brick_polished", {
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
chisel.register_chiselable_stair_and_slab("marble_polished", "marble", "polished" )
|
jonez.chisel.register_chiselable_stair_and_slab("marble_polished", "marble", "polished" )
|
||||||
stairs.register_stair_and_slab(
|
stairs.register_stair_and_slab(
|
||||||
"marble_polished",
|
"marble_polished",
|
||||||
"jonez:marble_polished",
|
"jonez:marble_polished",
|
||||||
|
@ -76,7 +78,7 @@ stairs.register_stair_and_slab(
|
||||||
default.node_sound_stone_defaults()
|
default.node_sound_stone_defaults()
|
||||||
)
|
)
|
||||||
|
|
||||||
chisel.register_chiselable_stair_and_slab("marble_brick_polished", "marble_brick", "polished" )
|
jonez.chisel.register_chiselable_stair_and_slab("marble_brick_polished", "marble_brick", "polished" )
|
||||||
stairs.register_stair_and_slab(
|
stairs.register_stair_and_slab(
|
||||||
"marble_brick_polished",
|
"marble_brick_polished",
|
||||||
"jonez:marble_brick_polished",
|
"jonez:marble_brick_polished",
|
||||||
|
@ -133,7 +135,10 @@ local styles = {
|
||||||
"carthaginian",
|
"carthaginian",
|
||||||
"industrial",
|
"industrial",
|
||||||
"romanesque",
|
"romanesque",
|
||||||
"cimmerian"
|
"cimmerian",
|
||||||
|
"nubian",
|
||||||
|
"norman",
|
||||||
|
"romantic"
|
||||||
}
|
}
|
||||||
|
|
||||||
-- The Crafting of the Greek Set
|
-- The Crafting of the Greek Set
|
||||||
|
@ -180,37 +185,41 @@ minetest.register_craft({
|
||||||
|
|
||||||
for i = 1, #styles do
|
for i = 1, #styles do
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:"..styles[i].."_architrave", "jonez:architrave", styles[i] )
|
jonez.chisel.register_chiselable("jonez:"..styles[i].."_architrave", "jonez:architrave", styles[i] )
|
||||||
minetest.register_node("jonez:"..styles[i].."_architrave", {
|
minetest.register_node("jonez:"..styles[i].."_architrave", {
|
||||||
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Architrave"),
|
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Architrave"),
|
||||||
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_architrave.png"},
|
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..
|
||||||
|
styles[i].."_architrave.png"},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:"..styles[i].."_capital", "jonez:capital", styles[i] )
|
jonez.chisel.register_chiselable("jonez:"..styles[i].."_capital", "jonez:capital", styles[i] )
|
||||||
minetest.register_node("jonez:"..styles[i].."_capital", {
|
minetest.register_node("jonez:"..styles[i].."_capital", {
|
||||||
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Capital"),
|
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Capital"),
|
||||||
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_capital.png"},
|
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i]..
|
||||||
|
"_capital.png"},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:"..styles[i].."_shaft", "jonez:shaft", styles[i] )
|
jonez.chisel.register_chiselable("jonez:"..styles[i].."_shaft", "jonez:shaft", styles[i] )
|
||||||
minetest.register_node("jonez:"..styles[i].."_shaft", {
|
minetest.register_node("jonez:"..styles[i].."_shaft", {
|
||||||
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Shaft"),
|
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Shaft"),
|
||||||
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_shaft.png"},
|
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i]..
|
||||||
|
"_shaft.png"},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
})
|
})
|
||||||
|
|
||||||
chisel.register_chiselable("jonez:"..styles[i].."_base", "jonez:base", styles[i] )
|
jonez.chisel.register_chiselable("jonez:"..styles[i].."_base", "jonez:base", styles[i] )
|
||||||
minetest.register_node("jonez:"..styles[i].."_base", {
|
minetest.register_node("jonez:"..styles[i].."_base", {
|
||||||
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Base"),
|
description = S("Ancient").." "..S(firstToUpper(styles[i])).." "..S("Base"),
|
||||||
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_base.png"},
|
tiles = {"jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i].."_top_bottom.png", "jonez_"..styles[i]..
|
||||||
|
"_base.png"},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
groups = {cracky=3},
|
groups = {cracky=3},
|
||||||
sounds = default.node_sound_stone_defaults(),
|
sounds = default.node_sound_stone_defaults(),
|
||||||
|
@ -247,14 +256,16 @@ for i = 1, #vines do
|
||||||
end
|
end
|
||||||
|
|
||||||
local panels = {
|
local panels = {
|
||||||
{name= "jonez_panel_1", description= "Mosaic Glass Panel", textures={front= "jonez_panel_1.png", edge="jonez_panes_edge.png"},
|
{name= "jonez_panel_1", description= "Mosaic Glass Panel", textures={front= "jonez_panel_1.png",
|
||||||
|
edge="jonez_panes_edge.png"},
|
||||||
recipe = {
|
recipe = {
|
||||||
{"dye:blue", "dye:black", "dye:pink"},
|
{"dye:blue", "dye:black", "dye:pink"},
|
||||||
{"dye:red", "xpanes:pane_flat", "dye:green"},
|
{"dye:red", "xpanes:pane_flat", "dye:green"},
|
||||||
{"dye:yellow", "dye:black", "dye:orange"},
|
{"dye:yellow", "dye:black", "dye:orange"},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{name= "jonez_panel_2", description= "Blossom Glass Panel", textures={front="jonez_panel_2.png", edge="jonez_panes_edge.png"},
|
{name= "jonez_panel_2", description= "Blossom Glass Panel", textures={front="jonez_panel_2.png",
|
||||||
|
edge="jonez_panes_edge.png"},
|
||||||
recipe = {
|
recipe = {
|
||||||
{"dye:blue", "dye:red", "dye:green"},
|
{"dye:blue", "dye:red", "dye:green"},
|
||||||
{"dye:yellow", "xpanes:pane_flat", "dye:yellow"},
|
{"dye:yellow", "xpanes:pane_flat", "dye:yellow"},
|
||||||
|
@ -335,18 +346,22 @@ local pavements= {
|
||||||
{name= "jonez:pebbled_pavement", description= "Ancient Pebbled Pavement", texture= "jonez_pebbled_pavement.png",
|
{name= "jonez:pebbled_pavement", description= "Ancient Pebbled Pavement", texture= "jonez_pebbled_pavement.png",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'', 'stairs:slab_marble_brick_polished', ''},
|
{'', 'stairs:slab_marble_brick_polished', ''},
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished'},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished',
|
||||||
|
'stairs:slab_marble_brick_polished'},
|
||||||
{'', 'stairs:slab_marble_brick_polished', ''},
|
{'', 'stairs:slab_marble_brick_polished', ''},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{name= "jonez:pebbled_medieval_pavement", description= "Ancient Pebbled Medieval Pavement", texture= "jonez_pebbled_medieval_pavement.png",
|
{name= "jonez:pebbled_medieval_pavement", description= "Ancient Pebbled Medieval Pavement",
|
||||||
|
texture= "jonez_pebbled_medieval_pavement.png",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', ''},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', ''},
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished'},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished',
|
||||||
|
'stairs:slab_marble_brick_polished'},
|
||||||
{'', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished'},
|
{'', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished'},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{name= "jonez:pebbled_gothic_pavement", description= "Ancient Pebbled Gothic Pavement", texture= "jonez_pebbled_gothic_pavement.png",
|
{name= "jonez:pebbled_gothic_pavement", description= "Ancient Pebbled Gothic Pavement",
|
||||||
|
texture= "jonez_pebbled_gothic_pavement.png",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', ''},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', ''},
|
||||||
{'', 'stairs:slab_marble_brick_polished', ''},
|
{'', 'stairs:slab_marble_brick_polished', ''},
|
||||||
|
@ -356,7 +371,8 @@ local pavements= {
|
||||||
{name= "jonez:pebbled_wall", description= "Ancient Pebbled Wall", texture= "jonez_pebbled_wall.png",
|
{name= "jonez:pebbled_wall", description= "Ancient Pebbled Wall", texture= "jonez_pebbled_wall.png",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'', 'stairs:slab_marble_brick_polished', ''},
|
{'', 'stairs:slab_marble_brick_polished', ''},
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished'},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick_polished',
|
||||||
|
'stairs:slab_marble_brick_polished'},
|
||||||
{'', 'stairs:slab_marble_brick_polished', ''},
|
{'', 'stairs:slab_marble_brick_polished', ''},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -374,34 +390,45 @@ local pavements= {
|
||||||
{'', 'stairs:slab_marble_brick_polished', ''},
|
{'', 'stairs:slab_marble_brick_polished', ''},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{name= "jonez:pompeiian_pavement", description= "Ancient Pompeiian Pavement", texture= "jonez_pompeiian_pavement.png",
|
{name= "jonez:pompeiian_pavement", description= "Ancient Pompeiian Pavement",
|
||||||
|
texture= "jonez_pompeiian_pavement.png",
|
||||||
recipe = {
|
recipe = {
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{name= "jonez:pompeiian_path", description= "Ancient Pompeiian Path", texture= "jonez_pompeiian_path.png", amount = 4,
|
{name= "jonez:pompeiian_path", description= "Ancient Pompeiian Path", texture= "jonez_pompeiian_path.png",
|
||||||
|
amount = 4,
|
||||||
recipe = {
|
recipe = {
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick'},
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{name= "jonez:carthaginian_pavement", description= "Carthaginian Pavement", texture= "jonez_carthaginian_pavement.png", amount = 4,
|
{name= "jonez:carthaginian_pavement", description= "Carthaginian Pavement",
|
||||||
|
texture= "jonez_carthaginian_pavement.png", amount = 4,
|
||||||
recipe = {
|
recipe = {
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick'},
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{name= "jonez:carthaginian_wall", description= "Carthaginian Wall", texture= "jonez_carthaginian_wall.png", amount = 4,
|
{name= "jonez:carthaginian_wall", description= "Carthaginian Wall", texture= "jonez_carthaginian_wall.png",
|
||||||
|
amount = 4,
|
||||||
recipe = {
|
recipe = {
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
||||||
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
{'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick'},
|
||||||
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
{'stairs:slab_marble_brick_polished', 'stairs:slab_marble_brick', 'stairs:slab_marble_brick_polished'},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{name= "jonez:nubian_wall", description= "Nubian Wall", texture= "jonez_nubian_wall.png", amount = 9,
|
||||||
|
recipe = {
|
||||||
|
{'default:sandstonebrick', 'default:sandstonebrick', 'default:sandstonebrick'},
|
||||||
|
{'default:sandstonebrick', 'default:sandstonebrick', 'default:sandstonebrick'},
|
||||||
|
{'default:sandstonebrick', 'default:sandstonebrick', 'default:sandstonebrick'},
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
for i = 1, #pavements do
|
for i = 1, #pavements do
|
||||||
|
@ -414,12 +441,12 @@ for i = 1, #pavements do
|
||||||
})
|
})
|
||||||
local amount
|
local amount
|
||||||
if pavements[i].amount then
|
if pavements[i].amount then
|
||||||
amount = " ".. tostring(pavements[i].amount)
|
amount = tostring(pavements[i].amount)
|
||||||
else
|
else
|
||||||
amount = "1"
|
amount = "1"
|
||||||
end
|
end
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = pavements[i].name .. amount,
|
output = pavements[i].name .. " " .. amount,
|
||||||
type = 'shaped',
|
type = 'shaped',
|
||||||
recipe = pavements[i].recipe,
|
recipe = pavements[i].recipe,
|
||||||
})
|
})
|
||||||
|
|
|
@ -24,6 +24,9 @@ Carthaginian=Cartaginés
|
||||||
Industrial=Industrial
|
Industrial=Industrial
|
||||||
Romanesque=Romanisco
|
Romanesque=Romanisco
|
||||||
Cimmerian=Cimerio
|
Cimmerian=Cimerio
|
||||||
|
Nubian=Nubio
|
||||||
|
Norma=Normando
|
||||||
|
Romantic=Romántico
|
||||||
Ancient Marble Stair=Escalera de mármol antiguo
|
Ancient Marble Stair=Escalera de mármol antiguo
|
||||||
Ancient Marble Slab=Losa de mármol antiguo
|
Ancient Marble Slab=Losa de mármol antiguo
|
||||||
Ancient Marble Brick Stair=Escalera de ladrillo de mármol antiguo
|
Ancient Marble Brick Stair=Escalera de ladrillo de mármol antiguo
|
||||||
|
|
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 8.4 KiB |
After Width: | Height: | Size: 8.3 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 2.2 KiB |
|
@ -1784,7 +1784,7 @@ function default.register_decorations()
|
||||||
deco_type = "schematic",
|
deco_type = "schematic",
|
||||||
place_on = {"default:dirt_with_rainforest_litter"},
|
place_on = {"default:dirt_with_rainforest_litter"},
|
||||||
sidelen = 80,
|
sidelen = 80,
|
||||||
fill_ratio = 0.07,
|
fill_ratio = 0.035,
|
||||||
biomes = {"rainforest"},
|
biomes = {"rainforest"},
|
||||||
y_max = 31000,
|
y_max = 31000,
|
||||||
y_min = 1,
|
y_min = 1,
|
||||||
|
|
|
@ -5,6 +5,19 @@ dofile(minetest.get_modpath("sfinv") .. "/api.lua")
|
||||||
-- Load support for MT game translation.
|
-- Load support for MT game translation.
|
||||||
local S = minetest.get_translator("sfinv")
|
local S = minetest.get_translator("sfinv")
|
||||||
|
|
||||||
|
-- Create the trash field
|
||||||
|
local trash = minetest.create_detached_inventory("creative_trash", {
|
||||||
|
-- Allow the stack to be placed and remove it in on_put()
|
||||||
|
-- This allows the creative inventory to restore the stack
|
||||||
|
allow_put = function(inv, listname, index, stack, player)
|
||||||
|
return stack:get_count()
|
||||||
|
end,
|
||||||
|
on_put = function(inv, listname)
|
||||||
|
inv:set_list(listname, {})
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
trash:set_size("main", 1)
|
||||||
|
|
||||||
sfinv.register_page("sfinv:crafting", {
|
sfinv.register_page("sfinv:crafting", {
|
||||||
title = S("Crafting"),
|
title = S("Crafting"),
|
||||||
get = function(self, player, context)
|
get = function(self, player, context)
|
||||||
|
@ -12,6 +25,9 @@ sfinv.register_page("sfinv:crafting", {
|
||||||
list[current_player;craft;1.75,0.5;3,3;]
|
list[current_player;craft;1.75,0.5;3,3;]
|
||||||
list[current_player;craftpreview;5.75,1.5;1,1;]
|
list[current_player;craftpreview;5.75,1.5;1,1;]
|
||||||
image[4.75,1.5;1,1;sfinv_crafting_arrow.png]
|
image[4.75,1.5;1,1;sfinv_crafting_arrow.png]
|
||||||
|
image[3.58,4;0.8,0.8;creative_trash_icon.png]
|
||||||
|
listcolors[#00000069;#5A5A5A;#141318;#30434C;#FFF]
|
||||||
|
list[detached:creative_trash;main;3.52,3.9;1,1;]
|
||||||
listring[current_player;main]
|
listring[current_player;main]
|
||||||
listring[current_player;craft]
|
listring[current_player;craft]
|
||||||
]], true)
|
]], true)
|
||||||
|
|
|
@ -46,7 +46,7 @@ function mobkit.is_neighbor_node_reachable(self,neighbor) -- todo: take either n
|
||||||
if height and abs(height-pos.y) <= self.jump_height then
|
if height and abs(height-pos.y) <= self.jump_height then
|
||||||
tpos.y = height
|
tpos.y = height
|
||||||
height = height - pos.y
|
height = height - pos.y
|
||||||
|
|
||||||
-- don't cut corners
|
-- don't cut corners
|
||||||
if neighbor % 2 == 0 then -- diagonal neighbors are even
|
if neighbor % 2 == 0 then -- diagonal neighbors are even
|
||||||
local n2 = neighbor-1 -- left neighbor never < 0
|
local n2 = neighbor-1 -- left neighbor never < 0
|
||||||
|
@ -60,7 +60,7 @@ function mobkit.is_neighbor_node_reachable(self,neighbor) -- todo: take either n
|
||||||
h2 = mobkit.get_terrain_height(t2,recursteps)
|
h2 = mobkit.get_terrain_height(t2,recursteps)
|
||||||
if h2 and h2 - pos.y > 0.02 then return end
|
if h2 and h2 - pos.y > 0.02 then return end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- check headroom
|
-- check headroom
|
||||||
if tpos.y+self.height-pos.y > 1 then -- if head in next node above, else no point checking headroom
|
if tpos.y+self.height-pos.y > 1 then -- if head in next node above, else no point checking headroom
|
||||||
local snpos = mobkit.get_node_pos(pos)
|
local snpos = mobkit.get_node_pos(pos)
|
||||||
|
@ -68,17 +68,17 @@ function mobkit.is_neighbor_node_reachable(self,neighbor) -- todo: take either n
|
||||||
local pos2 = {x=tpos.x,y=tpos.y+self.height,z=tpos.z} -- target head pos
|
local pos2 = {x=tpos.x,y=tpos.y+self.height,z=tpos.z} -- target head pos
|
||||||
|
|
||||||
local nodes = mobkit.get_nodes_in_area(pos1,pos2,true)
|
local nodes = mobkit.get_nodes_in_area(pos1,pos2,true)
|
||||||
|
|
||||||
for p,node in pairs(nodes) do
|
for p,node in pairs(nodes) do
|
||||||
if snpos.x==p.x and snpos.z==p.z then
|
if snpos.x==p.x and snpos.z==p.z then
|
||||||
if node.name=='ignore' or node.walkable then return end
|
if node.name=='ignore' or node.walkable then return end
|
||||||
else
|
else
|
||||||
if node.name=='ignore' or
|
if node.name=='ignore' or
|
||||||
(node.walkable and mobkit.get_node_height(p)>tpos.y+0.001) then return end
|
(node.walkable and mobkit.get_node_height(p)>tpos.y+0.001) then return end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return height, tpos, liquidflag
|
return height, tpos, liquidflag
|
||||||
else
|
else
|
||||||
return
|
return
|
||||||
|
@ -94,9 +94,9 @@ function mobkit.get_next_waypoint(self,tpos)
|
||||||
if #self.pos_history > 2 then table.remove(self.pos_history,#self.pos_history) end
|
if #self.pos_history > 2 then table.remove(self.pos_history,#self.pos_history) end
|
||||||
end
|
end
|
||||||
local nogopos = self.pos_history[2]
|
local nogopos = self.pos_history[2]
|
||||||
|
|
||||||
local height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,neighbor)
|
local height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,neighbor)
|
||||||
if height and not liquidflag
|
if height and not liquidflag
|
||||||
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
||||||
|
|
||||||
local heightl = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-1))
|
local heightl = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-1))
|
||||||
|
@ -117,25 +117,25 @@ function mobkit.get_next_waypoint(self,tpos)
|
||||||
for i=1,3 do
|
for i=1,3 do
|
||||||
-- scan left
|
-- scan left
|
||||||
local height, pos2, liq = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-i*self.path_dir))
|
local height, pos2, liq = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-i*self.path_dir))
|
||||||
if height and not liq
|
if height and not liq
|
||||||
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
||||||
update_pos_history(self,pos2)
|
update_pos_history(self,pos2)
|
||||||
return height,pos2
|
return height,pos2
|
||||||
end
|
end
|
||||||
-- scan right
|
-- scan right
|
||||||
height, pos2, liq = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,i*self.path_dir))
|
height, pos2, liq = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,i*self.path_dir))
|
||||||
if height and not liq
|
if height and not liq
|
||||||
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
||||||
update_pos_history(self,pos2)
|
update_pos_history(self,pos2)
|
||||||
return height,pos2
|
return height,pos2
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
--scan rear
|
--scan rear
|
||||||
height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,4))
|
height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,4))
|
||||||
if height and not liquidflag
|
if height and not liquidflag
|
||||||
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
and not (nogopos and mobkit.isnear2d(pos2,nogopos,0.1)) then
|
||||||
update_pos_history(self,pos2)
|
update_pos_history(self,pos2)
|
||||||
return height,pos2
|
return height,pos2
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- stuck condition here
|
-- stuck condition here
|
||||||
|
@ -148,12 +148,12 @@ function mobkit.get_next_waypoint_fast(self,tpos,nogopos)
|
||||||
local dir=vector.direction(pos,tpos)
|
local dir=vector.direction(pos,tpos)
|
||||||
local neighbor = mobkit.dir2neighbor(dir)
|
local neighbor = mobkit.dir2neighbor(dir)
|
||||||
local height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,neighbor)
|
local height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,neighbor)
|
||||||
|
|
||||||
if height and not liquidflag then
|
if height and not liquidflag then
|
||||||
local fast = false
|
local fast = false
|
||||||
local heightl = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-1))
|
heightl = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-1))
|
||||||
if heightl and abs(heightl-height)<0.001 then
|
if heightl and abs(heightl-height)<0.001 then
|
||||||
local heightr = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,1))
|
heightr = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,1))
|
||||||
if heightr and abs(heightr-height)<0.001 then
|
if heightr and abs(heightr-height)<0.001 then
|
||||||
fast = true
|
fast = true
|
||||||
dir.y = 0
|
dir.y = 0
|
||||||
|
@ -165,32 +165,33 @@ function mobkit.get_next_waypoint_fast(self,tpos,nogopos)
|
||||||
end
|
end
|
||||||
return height, pos2, fast
|
return height, pos2, fast
|
||||||
else
|
else
|
||||||
|
|
||||||
for i=1,4 do
|
for i=1,4 do
|
||||||
-- scan left
|
-- scan left
|
||||||
height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-i))
|
height, pos2, liq = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,-i))
|
||||||
if height and not liq then return height,pos2 end
|
if height and not liq then return height,pos2 end
|
||||||
-- scan right
|
-- scan right
|
||||||
height, pos2, liquidflag = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,i))
|
height, pos2, liq = mobkit.is_neighbor_node_reachable(self,mobkit.neighbor_shift(neighbor,i))
|
||||||
if height and not liquidflag then return height,pos2 end
|
if height and not liq then return height,pos2 end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function mobkit.goto_next_waypoint(self,tpos)
|
function mobkit.goto_next_waypoint(self,tpos)
|
||||||
local height, pos2 = mobkit.get_next_waypoint(self,tpos)
|
local height, pos2 = mobkit.get_next_waypoint(self,tpos)
|
||||||
|
|
||||||
if not height then return false end
|
if not height then return false end
|
||||||
|
|
||||||
if height <= 0.01 then
|
if height <= 0.01 then
|
||||||
local yaw = self.object:get_yaw()
|
local yaw = self.object:get_yaw()
|
||||||
local tyaw = minetest.dir_to_yaw(vector.direction(self.object:get_pos(),pos2))
|
local tyaw = minetest.dir_to_yaw(vector.direction(self.object:get_pos(),pos2))
|
||||||
if abs(tyaw-yaw) > 1 then
|
if abs(tyaw-yaw) > 1 then
|
||||||
mobkit.lq_turn2pos(self,pos2)
|
mobkit.lq_turn2pos(self,pos2)
|
||||||
end
|
end
|
||||||
mobkit.lq_dumbwalk(self,pos2)
|
mobkit.lq_dumbwalk(self,pos2)
|
||||||
else
|
else
|
||||||
mobkit.lq_turn2pos(self,pos2)
|
mobkit.lq_turn2pos(self,pos2)
|
||||||
mobkit.lq_dumbjump(self,height)
|
mobkit.lq_dumbjump(self,height)
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
@ -214,8 +215,8 @@ function mobkit.lq_idle(self,duration,anim)
|
||||||
anim = anim or 'stand'
|
anim = anim or 'stand'
|
||||||
local init = true
|
local init = true
|
||||||
local func=function(self)
|
local func=function(self)
|
||||||
if init then
|
if init then
|
||||||
mobkit.animate(self,anim)
|
mobkit.animate(self,anim)
|
||||||
init=false
|
init=false
|
||||||
end
|
end
|
||||||
duration = duration-self.dtime
|
duration = duration-self.dtime
|
||||||
|
@ -231,7 +232,7 @@ function mobkit.lq_dumbwalk(self,dest,speed_factor)
|
||||||
mobkit.animate(self,'walk')
|
mobkit.animate(self,'walk')
|
||||||
timer = timer - self.dtime
|
timer = timer - self.dtime
|
||||||
if timer < 0 then return true end
|
if timer < 0 then return true end
|
||||||
|
|
||||||
local pos = mobkit.get_stand_pos(self)
|
local pos = mobkit.get_stand_pos(self)
|
||||||
local y = self.object:get_velocity().y
|
local y = self.object:get_velocity().y
|
||||||
|
|
||||||
|
@ -241,7 +242,7 @@ function mobkit.lq_dumbwalk(self,dest,speed_factor)
|
||||||
-- if abs(dest.y-pos.y) > 0.1 then -- isonground too slow for speeds > 4
|
-- if abs(dest.y-pos.y) > 0.1 then -- isonground too slow for speeds > 4
|
||||||
self.object:set_velocity({x=0,y=y,z=0})
|
self.object:set_velocity({x=0,y=y,z=0})
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.isonground then
|
if self.isonground then
|
||||||
|
@ -273,7 +274,7 @@ function mobkit.lq_dumbjump(self,height,anim)
|
||||||
else -- the eagle has landed
|
else -- the eagle has landed
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local dir = minetest.yaw_to_dir(yaw)
|
local dir = minetest.yaw_to_dir(yaw)
|
||||||
local vel = self.object:get_velocity()
|
local vel = self.object:get_velocity()
|
||||||
if self.lastvelocity.y < 0.9 then
|
if self.lastvelocity.y < 0.9 then
|
||||||
|
@ -323,7 +324,7 @@ function mobkit.lq_freejump(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
function mobkit.lq_jumpattack(self,height,target)
|
function mobkit.lq_jumpattack(self,height,target)
|
||||||
local init=true
|
local init=true
|
||||||
local timer=0.5
|
local timer=0.5
|
||||||
local tgtbox = target:get_properties().collisionbox
|
local tgtbox = target:get_properties().collisionbox
|
||||||
local func=function(self)
|
local func=function(self)
|
||||||
|
@ -353,7 +354,7 @@ function mobkit.lq_jumpattack(self,height,target)
|
||||||
target:punch(self.object,1,self.attack)
|
target:punch(self.object,1,self.attack)
|
||||||
-- bounce off
|
-- bounce off
|
||||||
local vy = self.object:get_velocity().y
|
local vy = self.object:get_velocity().y
|
||||||
self.object:set_velocity({x=dir.x*-3,y=vy,z=dir.z*-3})
|
self.object:set_velocity({x=dir.x*-3,y=vy,z=dir.z*-3})
|
||||||
-- play attack sound if defined
|
-- play attack sound if defined
|
||||||
mobkit.make_sound(self,'attack')
|
mobkit.make_sound(self,'attack')
|
||||||
return true
|
return true
|
||||||
|
@ -386,11 +387,11 @@ end
|
||||||
|
|
||||||
function mobkit.dumbstep(self,height,tpos,speed_factor,idle_duration)
|
function mobkit.dumbstep(self,height,tpos,speed_factor,idle_duration)
|
||||||
if height <= 0.001 then
|
if height <= 0.001 then
|
||||||
mobkit.lq_turn2pos(self,tpos)
|
mobkit.lq_turn2pos(self,tpos)
|
||||||
mobkit.lq_dumbwalk(self,tpos,speed_factor)
|
mobkit.lq_dumbwalk(self,tpos,speed_factor)
|
||||||
else
|
else
|
||||||
mobkit.lq_turn2pos(self,tpos)
|
mobkit.lq_turn2pos(self,tpos)
|
||||||
mobkit.lq_dumbjump(self,height)
|
mobkit.lq_dumbjump(self,height)
|
||||||
end
|
end
|
||||||
idle_duration = idle_duration or 6
|
idle_duration = idle_duration or 6
|
||||||
mobkit.lq_idle(self,random(ceil(idle_duration*0.5),idle_duration))
|
mobkit.lq_idle(self,random(ceil(idle_duration*0.5),idle_duration))
|
||||||
|
@ -420,7 +421,7 @@ function mobkit.hq_follow0(self,tgtobj) -- probably delete this one
|
||||||
if not neighbor then return true end --temp debug
|
if not neighbor then return true end --temp debug
|
||||||
local height, tpos = mobkit.is_neighbor_node_reachable(self,neighbor)
|
local height, tpos = mobkit.is_neighbor_node_reachable(self,neighbor)
|
||||||
if height then mobkit.dumbstep(self,height,tpos)
|
if height then mobkit.dumbstep(self,height,tpos)
|
||||||
else
|
else
|
||||||
for i=1,4 do --scan left
|
for i=1,4 do --scan left
|
||||||
height, tpos = mobkit.is_neighbor_node_reachable(self,(8+neighbor-i-1)%8+1)
|
height, tpos = mobkit.is_neighbor_node_reachable(self,(8+neighbor-i-1)%8+1)
|
||||||
if height then mobkit.dumbstep(self,height,tpos)
|
if height then mobkit.dumbstep(self,height,tpos)
|
||||||
|
@ -474,7 +475,7 @@ function mobkit.hq_runfrom(self,prty,tgtobj)
|
||||||
local init=true
|
local init=true
|
||||||
local timer=6
|
local timer=6
|
||||||
local func = function(self)
|
local func = function(self)
|
||||||
|
|
||||||
if not mobkit.is_alive(tgtobj) then return true end
|
if not mobkit.is_alive(tgtobj) then return true end
|
||||||
if init then
|
if init then
|
||||||
timer = timer-self.dtime
|
timer = timer-self.dtime
|
||||||
|
@ -484,7 +485,7 @@ function mobkit.hq_runfrom(self,prty,tgtobj)
|
||||||
end
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if mobkit.is_queue_empty_low(self) and self.isonground then
|
if mobkit.is_queue_empty_low(self) and self.isonground then
|
||||||
local pos = mobkit.get_stand_pos(self)
|
local pos = mobkit.get_stand_pos(self)
|
||||||
local opos = tgtobj:get_pos()
|
local opos = tgtobj:get_pos()
|
||||||
|
@ -514,7 +515,7 @@ function mobkit.hq_hunt(self,prty,tgtobj)
|
||||||
elseif dist > 3 then
|
elseif dist > 3 then
|
||||||
mobkit.goto_next_waypoint(self,opos)
|
mobkit.goto_next_waypoint(self,opos)
|
||||||
else
|
else
|
||||||
mobkit.hq_attack(self,prty+1,tgtobj)
|
mobkit.hq_attack(self,prty+1,tgtobj)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -534,7 +535,7 @@ function mobkit.hq_warn(self,prty,tgtobj)
|
||||||
local pos = mobkit.get_stand_pos(self)
|
local pos = mobkit.get_stand_pos(self)
|
||||||
local opos = tgtobj:get_pos()
|
local opos = tgtobj:get_pos()
|
||||||
local dist = vector.distance(pos,opos)
|
local dist = vector.distance(pos,opos)
|
||||||
|
|
||||||
if dist > 11 then
|
if dist > 11 then
|
||||||
return true
|
return true
|
||||||
elseif dist < 4 or timer > 12 then -- too close man
|
elseif dist < 4 or timer > 12 then -- too close man
|
||||||
|
@ -543,7 +544,7 @@ function mobkit.hq_warn(self,prty,tgtobj)
|
||||||
mobkit.hq_hunt(self,prty+1,tgtobj) -- priority
|
mobkit.hq_hunt(self,prty+1,tgtobj) -- priority
|
||||||
else
|
else
|
||||||
timer = timer+self.dtime
|
timer = timer+self.dtime
|
||||||
if mobkit.is_queue_empty_low(self) then
|
if mobkit.is_queue_empty_low(self) then
|
||||||
mobkit.lq_turn2pos(self,opos)
|
mobkit.lq_turn2pos(self,opos)
|
||||||
end
|
end
|
||||||
-- make noise in random intervals
|
-- make noise in random intervals
|
||||||
|
@ -563,8 +564,8 @@ function mobkit.hq_die(self)
|
||||||
local timer = 5
|
local timer = 5
|
||||||
local start = true
|
local start = true
|
||||||
local func = function(self)
|
local func = function(self)
|
||||||
if start then
|
if start then
|
||||||
mobkit.lq_fallover(self)
|
mobkit.lq_fallover(self)
|
||||||
self.logic = function(self) end -- brain dead as well
|
self.logic = function(self) end -- brain dead as well
|
||||||
start=false
|
start=false
|
||||||
end
|
end
|
||||||
|
@ -582,13 +583,13 @@ function mobkit.hq_attack(self,prty,tgtobj)
|
||||||
-- local tpos = tgtobj:get_pos()
|
-- local tpos = tgtobj:get_pos()
|
||||||
local tpos = mobkit.get_stand_pos(tgtobj)
|
local tpos = mobkit.get_stand_pos(tgtobj)
|
||||||
local dist = vector.distance(pos,tpos)
|
local dist = vector.distance(pos,tpos)
|
||||||
if dist > 3 then
|
if dist > 3 then
|
||||||
return true
|
return true
|
||||||
else
|
else
|
||||||
mobkit.lq_turn2pos(self,tpos)
|
mobkit.lq_turn2pos(self,tpos)
|
||||||
local height = tgtobj:is_player() and 0.35 or tgtobj:get_luaentity().height*0.6
|
local height = tgtobj:is_player() and 0.35 or tgtobj:get_luaentity().height*0.6
|
||||||
if tpos.y+height>pos.y then
|
if tpos.y+height>pos.y then
|
||||||
mobkit.lq_jumpattack(self,tpos.y+height-pos.y,tgtobj)
|
mobkit.lq_jumpattack(self,tpos.y+height-pos.y,tgtobj)
|
||||||
else
|
else
|
||||||
mobkit.lq_dumbwalk(self,mobkit.pos_shift(tpos,{x=random()-0.5,z=random()-0.5}))
|
mobkit.lq_dumbwalk(self,mobkit.pos_shift(tpos,{x=random()-0.5,z=random()-0.5}))
|
||||||
end
|
end
|
||||||
|
@ -615,10 +616,10 @@ function mobkit.hq_liquid_recovery(self,prty) -- scan for nearest land
|
||||||
if yaw>2*pi then
|
if yaw>2*pi then
|
||||||
yaw = 0
|
yaw = 0
|
||||||
radius=radius+1
|
radius=radius+1
|
||||||
if radius > self.view_range then
|
if radius > self.view_range then
|
||||||
self.hp = 0
|
self.hp = 0
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
mobkit.queue_high(self,func,prty)
|
mobkit.queue_high(self,func,prty)
|
||||||
|
@ -628,7 +629,7 @@ function mobkit.hq_swimto(self,prty,tpos)
|
||||||
local box = self.object:get_properties().collisionbox
|
local box = self.object:get_properties().collisionbox
|
||||||
local cols = {}
|
local cols = {}
|
||||||
local func = function(self)
|
local func = function(self)
|
||||||
if not self.isinliquid then
|
if not self.isinliquid then
|
||||||
if self.isonground then return true end
|
if self.isonground then return true end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
@ -638,7 +639,7 @@ function mobkit.hq_swimto(self,prty,tpos)
|
||||||
local pos2d = {x=pos.x,y=tpos.y,z=pos.z}
|
local pos2d = {x=pos.x,y=tpos.y,z=pos.z}
|
||||||
local dir=vector.normalize(vector.direction(pos2d,tpos))
|
local dir=vector.normalize(vector.direction(pos2d,tpos))
|
||||||
local yaw = minetest.dir_to_yaw(dir)
|
local yaw = minetest.dir_to_yaw(dir)
|
||||||
|
|
||||||
if mobkit.timer(self,1) then
|
if mobkit.timer(self,1) then
|
||||||
cols = mobkit.get_box_displace_cols(pos,box,dir,1)
|
cols = mobkit.get_box_displace_cols(pos,box,dir,1)
|
||||||
for _,p in ipairs(cols[1]) do
|
for _,p in ipairs(cols[1]) do
|
||||||
|
@ -664,11 +665,11 @@ end
|
||||||
-- MACROS
|
-- MACROS
|
||||||
local function aqua_radar_dumb(pos,yaw,range,reverse)
|
local function aqua_radar_dumb(pos,yaw,range,reverse)
|
||||||
range = range or 4
|
range = range or 4
|
||||||
|
|
||||||
local function okpos(p)
|
local function okpos(p)
|
||||||
local node = mobkit.nodeatpos(p)
|
local node = mobkit.nodeatpos(p)
|
||||||
if node then
|
if node then
|
||||||
if node.drawtype == 'liquid' then
|
if node.drawtype == 'liquid' then
|
||||||
local nodeu = mobkit.nodeatpos(mobkit.pos_shift(p,{y=1}))
|
local nodeu = mobkit.nodeatpos(mobkit.pos_shift(p,{y=1}))
|
||||||
local noded = mobkit.nodeatpos(mobkit.pos_shift(p,{y=-1}))
|
local noded = mobkit.nodeatpos(mobkit.pos_shift(p,{y=-1}))
|
||||||
if (nodeu and nodeu.drawtype == 'liquid') or (noded and noded.drawtype == 'liquid') then
|
if (nodeu and nodeu.drawtype == 'liquid') or (noded and noded.drawtype == 'liquid') then
|
||||||
|
@ -678,7 +679,7 @@ local function aqua_radar_dumb(pos,yaw,range,reverse)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local h,l = mobkit.get_terrain_height(p)
|
local h,l = mobkit.get_terrain_height(p)
|
||||||
if h then
|
if h then
|
||||||
local node2 = mobkit.nodeatpos({x=p.x,y=h+1.99,z=p.z})
|
local node2 = mobkit.nodeatpos({x=p.x,y=h+1.99,z=p.z})
|
||||||
if node2 and node2.drawtype == 'liquid' then return true, h end
|
if node2 and node2.drawtype == 'liquid' then return true, h end
|
||||||
else
|
else
|
||||||
|
@ -689,12 +690,12 @@ local function aqua_radar_dumb(pos,yaw,range,reverse)
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local fpos = mobkit.pos_translate2d(pos,yaw,range)
|
local fpos = mobkit.pos_translate2d(pos,yaw,range)
|
||||||
local ok,h = okpos(fpos)
|
local ok,h = okpos(fpos)
|
||||||
if not ok then
|
if not ok then
|
||||||
local ffrom, fto, fstep
|
local ffrom, fto, fstep
|
||||||
if reverse then
|
if reverse then
|
||||||
ffrom, fto, fstep = 3,1,-1
|
ffrom, fto, fstep = 3,1,-1
|
||||||
else
|
else
|
||||||
ffrom, fto, fstep = 1,3,1
|
ffrom, fto, fstep = 1,3,1
|
||||||
|
@ -706,9 +707,9 @@ local function aqua_radar_dumb(pos,yaw,range,reverse)
|
||||||
if ok then return yaw-i,h end
|
if ok then return yaw-i,h end
|
||||||
end
|
end
|
||||||
return yaw+pi,h
|
return yaw+pi,h
|
||||||
else
|
else
|
||||||
return yaw, h
|
return yaw, h
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function mobkit.is_in_deep(target)
|
function mobkit.is_in_deep(target)
|
||||||
|
@ -746,7 +747,7 @@ function mobkit.hq_aqua_roam(self,prty,speed)
|
||||||
local vel = self.object:get_velocity()
|
local vel = self.object:get_velocity()
|
||||||
vel.y = vel.y+1
|
vel.y = vel.y+1
|
||||||
self.object:set_velocity(vel)
|
self.object:set_velocity(vel)
|
||||||
end
|
end
|
||||||
if yaw ~= nyaw then
|
if yaw ~= nyaw then
|
||||||
tyaw=nyaw
|
tyaw=nyaw
|
||||||
mobkit.hq_aqua_turn(self,prty+1,tyaw,speed)
|
mobkit.hq_aqua_turn(self,prty+1,tyaw,speed)
|
||||||
|
@ -760,7 +761,7 @@ function mobkit.hq_aqua_roam(self,prty,speed)
|
||||||
if random(10)>=9 then tyaw=tyaw+random()*pi - pi*0.5 end
|
if random(10)>=9 then tyaw=tyaw+random()*pi - pi*0.5 end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
mobkit.turn2yaw(self,tyaw,3)
|
mobkit.turn2yaw(self,tyaw,3)
|
||||||
-- local yaw = self.object:get_yaw()
|
-- local yaw = self.object:get_yaw()
|
||||||
mobkit.go_forward_horizontal(self,speed)
|
mobkit.go_forward_horizontal(self,speed)
|
||||||
|
@ -800,7 +801,7 @@ function mobkit.hq_aqua_attack(self,prty,tgtobj,speed)
|
||||||
local vel = self.object:get_velocity()
|
local vel = self.object:get_velocity()
|
||||||
vel.y = vel.y+1
|
vel.y = vel.y+1
|
||||||
self.object:set_velocity(vel)
|
self.object:set_velocity(vel)
|
||||||
end
|
end
|
||||||
if yaw ~= nyaw then
|
if yaw ~= nyaw then
|
||||||
tyaw=nyaw
|
tyaw=nyaw
|
||||||
mobkit.hq_aqua_turn(self,prty+1,tyaw,speed)
|
mobkit.hq_aqua_turn(self,prty+1,tyaw,speed)
|
||||||
|
@ -809,7 +810,7 @@ function mobkit.hq_aqua_attack(self,prty,tgtobj,speed)
|
||||||
end
|
end
|
||||||
|
|
||||||
local tpos = tgtobj:get_pos()
|
local tpos = tgtobj:get_pos()
|
||||||
local tyaw=minetest.dir_to_yaw(vector.direction(pos,tpos))
|
local tyaw=minetest.dir_to_yaw(vector.direction(pos,tpos))
|
||||||
mobkit.turn2yaw(self,tyaw,3)
|
mobkit.turn2yaw(self,tyaw,3)
|
||||||
local yaw = self.object:get_yaw()
|
local yaw = self.object:get_yaw()
|
||||||
if mobkit.timer(self,1) then
|
if mobkit.timer(self,1) then
|
||||||
|
|
|
@ -28,7 +28,7 @@ mobkit.terminal_velocity = sqrt(2*-mobkit.gravity*20) -- 20 meter fall = dead
|
||||||
mobkit.safe_velocity = sqrt(2*-mobkit.gravity*5) -- 5 m safe fall
|
mobkit.safe_velocity = sqrt(2*-mobkit.gravity*5) -- 5 m safe fall
|
||||||
|
|
||||||
local abr = tonumber(minetest.get_mapgen_setting('active_block_range')) or 3
|
local abr = tonumber(minetest.get_mapgen_setting('active_block_range')) or 3
|
||||||
|
|
||||||
-- UTILITY FUNCTIONS
|
-- UTILITY FUNCTIONS
|
||||||
|
|
||||||
function mobkit.dot(v1,v2)
|
function mobkit.dot(v1,v2)
|
||||||
|
@ -78,7 +78,7 @@ function mobkit.get_stand_pos(thing) -- thing can be luaentity or objectref.
|
||||||
elseif type(thing) == 'userdata' then
|
elseif type(thing) == 'userdata' then
|
||||||
pos = thing:get_pos()
|
pos = thing:get_pos()
|
||||||
colbox = thing:get_properties().collisionbox
|
colbox = thing:get_properties().collisionbox
|
||||||
else
|
else
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
return mobkit.pos_shift(pos,{y=colbox[2]+0.01}), pos
|
return mobkit.pos_shift(pos,{y=colbox[2]+0.01}), pos
|
||||||
|
@ -90,7 +90,7 @@ function mobkit.set_acceleration(thing,vec,limit)
|
||||||
vec.x=mobkit.minmax(vec.x,limit)
|
vec.x=mobkit.minmax(vec.x,limit)
|
||||||
vec.y=mobkit.minmax(vec.y,limit)
|
vec.y=mobkit.minmax(vec.y,limit)
|
||||||
vec.z=mobkit.minmax(vec.z,limit)
|
vec.z=mobkit.minmax(vec.z,limit)
|
||||||
|
|
||||||
thing:set_acceleration(vec)
|
thing:set_acceleration(vec)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -116,15 +116,15 @@ function mobkit.get_nodes_in_area(pos1,pos2,full)
|
||||||
local npos2=mobkit.get_node_pos(pos2)
|
local npos2=mobkit.get_node_pos(pos2)
|
||||||
local result = {}
|
local result = {}
|
||||||
local cnt = 0 -- safety
|
local cnt = 0 -- safety
|
||||||
|
|
||||||
local sx = (pos2.x<pos1.x) and -1 or 1
|
local sx = (pos2.x<pos1.x) and -1 or 1
|
||||||
local sz = (pos2.z<pos1.z) and -1 or 1
|
local sz = (pos2.z<pos1.z) and -1 or 1
|
||||||
local sy = (pos2.y<pos1.y) and -1 or 1
|
local sy = (pos2.y<pos1.y) and -1 or 1
|
||||||
|
|
||||||
local x=npos1.x-sx
|
local x=npos1.x-sx
|
||||||
local z=npos1.z-sz
|
local z=npos1.z-sz
|
||||||
local y=npos1.y-sy
|
local y=npos1.y-sy
|
||||||
|
|
||||||
repeat
|
repeat
|
||||||
x=x+sx
|
x=x+sx
|
||||||
z=npos1.z-sz
|
z=npos1.z-sz
|
||||||
|
@ -133,7 +133,7 @@ function mobkit.get_nodes_in_area(pos1,pos2,full)
|
||||||
y=npos1.y-sy
|
y=npos1.y-sy
|
||||||
repeat
|
repeat
|
||||||
y=y+sy
|
y=y+sy
|
||||||
|
|
||||||
local pos = {x=x,y=y,z=z}
|
local pos = {x=x,y=y,z=z}
|
||||||
local node = mobkit.nodeatpos(pos)
|
local node = mobkit.nodeatpos(pos)
|
||||||
if node then
|
if node then
|
||||||
|
@ -143,17 +143,17 @@ function mobkit.get_nodes_in_area(pos1,pos2,full)
|
||||||
result[node] = true
|
result[node] = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
cnt=cnt+1
|
cnt=cnt+1
|
||||||
if cnt > 125 then
|
if cnt > 125 then
|
||||||
minetest.chat_send_all('get_nodes_in_area: area too big ')
|
minetest.chat_send_all('get_nodes_in_area: area too big ')
|
||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
until y==npos2.y
|
until y==npos2.y
|
||||||
until z==npos2.z
|
until z==npos2.z
|
||||||
until x==npos2.x
|
until x==npos2.x
|
||||||
|
|
||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -167,12 +167,12 @@ function mobkit.get_hitbox_bottom(self)
|
||||||
{x=pos.x+self.collisionbox[4],y=pos.y+y,z=pos.z+self.collisionbox[6]},
|
{x=pos.x+self.collisionbox[4],y=pos.y+y,z=pos.z+self.collisionbox[6]},
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
function mobkit.get_node_height(pos)
|
function mobkit.get_node_height(pos)
|
||||||
local npos = mobkit.get_node_pos(pos)
|
local npos = mobkit.get_node_pos(pos)
|
||||||
local node = mobkit.nodeatpos(npos)
|
local node = mobkit.nodeatpos(npos)
|
||||||
if node == nil then return nil end
|
if node == nil then return nil end
|
||||||
|
|
||||||
if node.walkable then
|
if node.walkable then
|
||||||
if node.drawtype == 'nodebox' then
|
if node.drawtype == 'nodebox' then
|
||||||
if node.node_box and node.node_box.type == 'fixed' then
|
if node.node_box and node.node_box.type == 'fixed' then
|
||||||
|
@ -182,7 +182,7 @@ function mobkit.get_node_height(pos)
|
||||||
return npos.y + node.node_box.fixed[1][5] ,0, false
|
return npos.y + node.node_box.fixed[1][5] ,0, false
|
||||||
else
|
else
|
||||||
return npos.y + 0.5,1, false -- todo handle table of boxes
|
return npos.y + 0.5,1, false -- todo handle table of boxes
|
||||||
end
|
end
|
||||||
elseif node.node_box and node.node_box.type == 'leveled' then
|
elseif node.node_box and node.node_box.type == 'leveled' then
|
||||||
return minetest.get_node_level(pos)/64-0.5+mobkit.get_node_pos(pos).y, 0, false
|
return minetest.get_node_level(pos)/64-0.5+mobkit.get_node_pos(pos).y, 0, false
|
||||||
else
|
else
|
||||||
|
@ -194,7 +194,7 @@ function mobkit.get_node_height(pos)
|
||||||
else
|
else
|
||||||
local liquidflag = false
|
local liquidflag = false
|
||||||
if node.drawtype == 'liquid' then liquidflag = true end
|
if node.drawtype == 'liquid' then liquidflag = true end
|
||||||
return npos.y-0.5,-1,liquidflag
|
return npos.y-0.5,-1,liquidflag
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -202,18 +202,18 @@ end
|
||||||
-- steps(optional) number of recursion steps; default=3
|
-- steps(optional) number of recursion steps; default=3
|
||||||
-- dir(optional) is 1=up, -1=down, 0=both; default=0
|
-- dir(optional) is 1=up, -1=down, 0=both; default=0
|
||||||
-- liquidflag(forbidden) never provide this parameter.
|
-- liquidflag(forbidden) never provide this parameter.
|
||||||
function mobkit.get_terrain_height(pos,steps,dir,liquidflag) --dir is 1=up, -1=down, 0=both
|
function mobkit.get_terrain_height(pos,steps,dir,liquidflag) --dir is 1=up, -1=down, 0=both
|
||||||
steps = steps or 3
|
steps = steps or 3
|
||||||
dir = dir or 0
|
dir = dir or 0
|
||||||
|
|
||||||
local h,f,l = mobkit.get_node_height(pos)
|
local h,f,l = mobkit.get_node_height(pos)
|
||||||
if h == nil then return nil end
|
if h == nil then return nil end
|
||||||
if l then liquidflag = true end
|
if l then liquidflag = true end
|
||||||
|
|
||||||
if f==0 then
|
if f==0 then
|
||||||
return h, liquidflag
|
return h, liquidflag
|
||||||
end
|
end
|
||||||
|
|
||||||
if dir==0 or dir==f then
|
if dir==0 or dir==f then
|
||||||
steps = steps - 1
|
steps = steps - 1
|
||||||
if steps <=0 then return nil end
|
if steps <=0 then return nil end
|
||||||
|
@ -233,7 +233,7 @@ function mobkit.get_spawn_pos_abr(dtime,intrvl,radius,chance,reduction)
|
||||||
local vel = plyr:get_player_velocity()
|
local vel = plyr:get_player_velocity()
|
||||||
local spd = vector.length(vel)
|
local spd = vector.length(vel)
|
||||||
chance = (1-chance) * 1/(spd*0.75+1)
|
chance = (1-chance) * 1/(spd*0.75+1)
|
||||||
|
|
||||||
local yaw
|
local yaw
|
||||||
if spd > 1 then
|
if spd > 1 then
|
||||||
-- spawn in the front arc
|
-- spawn in the front arc
|
||||||
|
@ -275,15 +275,15 @@ function mobkit.turn2yaw(self,tyaw,rate)
|
||||||
local yaw = self.object:get_yaw()
|
local yaw = self.object:get_yaw()
|
||||||
yaw = yaw+pi
|
yaw = yaw+pi
|
||||||
tyaw=(tyaw+pi)%(pi*2)
|
tyaw=(tyaw+pi)%(pi*2)
|
||||||
|
|
||||||
local step=min(self.dtime*rate,abs(tyaw-yaw)%(pi*2))
|
local step=min(self.dtime*rate,abs(tyaw-yaw)%(pi*2))
|
||||||
|
|
||||||
local dir = abs(tyaw-yaw)>pi and -1 or 1
|
local dir = abs(tyaw-yaw)>pi and -1 or 1
|
||||||
dir = tyaw>yaw and dir*1 or dir * -1
|
dir = tyaw>yaw and dir*1 or dir * -1
|
||||||
|
|
||||||
local nyaw = (yaw+step*dir)%(pi*2)
|
local nyaw = (yaw+step*dir)%(pi*2)
|
||||||
self.object:set_yaw(nyaw-pi)
|
self.object:set_yaw(nyaw-pi)
|
||||||
|
|
||||||
if nyaw==tyaw then return true, nyaw-pi
|
if nyaw==tyaw then return true, nyaw-pi
|
||||||
else return false, nyaw-pi end
|
else return false, nyaw-pi end
|
||||||
end
|
end
|
||||||
|
@ -312,9 +312,9 @@ end
|
||||||
-- object has reached the destination if dest is in the rear half plane.
|
-- object has reached the destination if dest is in the rear half plane.
|
||||||
function mobkit.is_there_yet2d(pos,dir,dest) -- obj positon; facing vector; destination position
|
function mobkit.is_there_yet2d(pos,dir,dest) -- obj positon; facing vector; destination position
|
||||||
|
|
||||||
local c = -dir.x*pos.x-dir.z*pos.z -- the constant
|
local c = -dir.x*pos.x-dir.z*pos.z -- the constant
|
||||||
|
|
||||||
if dir.z > 0 then
|
if dir.z > 0 then
|
||||||
return dest.z <= (-dir.x*dest.x - c)/dir.z -- line equation
|
return dest.z <= (-dir.x*dest.x - c)/dir.z -- line equation
|
||||||
elseif dir.z < 0 then
|
elseif dir.z < 0 then
|
||||||
return dest.z >= (-dir.x*dest.x - c)/dir.z
|
return dest.z >= (-dir.x*dest.x - c)/dir.z
|
||||||
|
@ -325,7 +325,7 @@ function mobkit.is_there_yet2d(pos,dir,dest) -- obj positon; facing vector; dest
|
||||||
else
|
else
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function mobkit.isnear3d(p1,p2,thresh)
|
function mobkit.isnear3d(p1,p2,thresh)
|
||||||
|
@ -339,8 +339,8 @@ end
|
||||||
function mobkit.get_box_intersect_cols(pos,box)
|
function mobkit.get_box_intersect_cols(pos,box)
|
||||||
local pmin = {x=floor(pos.x+box[1]+0.5),z=floor(pos.z+box[3]+0.5)}
|
local pmin = {x=floor(pos.x+box[1]+0.5),z=floor(pos.z+box[3]+0.5)}
|
||||||
local pmax = {x=floor(pos.x+box[4]+0.5),z=floor(pos.z+box[6]+0.5)}
|
local pmax = {x=floor(pos.x+box[4]+0.5),z=floor(pos.z+box[6]+0.5)}
|
||||||
|
|
||||||
local result= {}
|
result= {}
|
||||||
for x=pmin.x,pmax.x do
|
for x=pmin.x,pmax.x do
|
||||||
for z=pmin.z,pmax.z do
|
for z=pmin.z,pmax.z do
|
||||||
table.insert(result,{x=x,z=z})
|
table.insert(result,{x=x,z=z})
|
||||||
|
@ -358,7 +358,7 @@ function mobkit.get_box_displace_cols(pos,box,vec,dist)
|
||||||
local zpos={pos.y}
|
local zpos={pos.y}
|
||||||
local xoff=nil
|
local xoff=nil
|
||||||
local zoff=nil
|
local zoff=nil
|
||||||
|
|
||||||
if vec.x < 0 then
|
if vec.x < 0 then
|
||||||
fpos.x = pos.x+box[1] -- frontmost corner's x
|
fpos.x = pos.x+box[1] -- frontmost corner's x
|
||||||
xoff = box[4]-box[1] -- edge offset along x
|
xoff = box[4]-box[1] -- edge offset along x
|
||||||
|
@ -366,7 +366,7 @@ function mobkit.get_box_displace_cols(pos,box,vec,dist)
|
||||||
fpos.x = pos.x+box[4]
|
fpos.x = pos.x+box[4]
|
||||||
xoff = box[1]-box[4]
|
xoff = box[1]-box[4]
|
||||||
end
|
end
|
||||||
|
|
||||||
if vec.z < 0 then
|
if vec.z < 0 then
|
||||||
fpos.z = pos.z+box[3] -- frontmost corner's z
|
fpos.z = pos.z+box[3] -- frontmost corner's z
|
||||||
zoff = box[6]-box[3] -- edge offset along z
|
zoff = box[6]-box[3] -- edge offset along z
|
||||||
|
@ -374,10 +374,10 @@ function mobkit.get_box_displace_cols(pos,box,vec,dist)
|
||||||
fpos.z = pos.z+box[6]
|
fpos.z = pos.z+box[6]
|
||||||
zoff = box[3]-box[6]
|
zoff = box[3]-box[6]
|
||||||
end
|
end
|
||||||
|
|
||||||
-- displacement vector
|
-- displacement vector
|
||||||
if dist then vec = vector.multiply(vector.normalize(vec),dist) end
|
if dist then vec = vector.multiply(vector.normalize(vec),dist) end
|
||||||
|
|
||||||
-- traverse x
|
-- traverse x
|
||||||
local xsgn = sign(vec.x)
|
local xsgn = sign(vec.x)
|
||||||
local zsgn = sign(zoff)
|
local zsgn = sign(zoff)
|
||||||
|
@ -391,7 +391,7 @@ function mobkit.get_box_displace_cols(pos,box,vec,dist)
|
||||||
table.insert(result[index],{x=x+xsgn*0.5,z=z})
|
table.insert(result[index],{x=x+xsgn*0.5,z=z})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- traverse z
|
-- traverse z
|
||||||
local zsgn = sign(vec.z)
|
local zsgn = sign(vec.z)
|
||||||
local xsgn = sign(xoff)
|
local xsgn = sign(xoff)
|
||||||
|
@ -405,7 +405,7 @@ function mobkit.get_box_displace_cols(pos,box,vec,dist)
|
||||||
table.insert(result[index],{x=x,z=z+zsgn*0.5})
|
table.insert(result[index],{x=x,z=z+zsgn*0.5})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return result
|
return result
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -413,9 +413,9 @@ function mobkit.get_box_height(thing)
|
||||||
if type(thing) == 'table' then thing = thing.object end
|
if type(thing) == 'table' then thing = thing.object end
|
||||||
local colbox = thing:get_properties().collisionbox
|
local colbox = thing:get_properties().collisionbox
|
||||||
local height
|
local height
|
||||||
if colbox then height = colbox[5]-colbox[2]
|
if colbox then height = colbox[5]-colbox[2]
|
||||||
else height = 0.1 end
|
else height = 0.1 end
|
||||||
|
|
||||||
return height > 0 and height or 0.1
|
return height > 0 and height or 0.1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -424,7 +424,7 @@ function mobkit.is_alive(thing) -- thing can be luaentity or objectref.
|
||||||
if not mobkit.exists(thing) then return false end
|
if not mobkit.exists(thing) then return false end
|
||||||
if type(thing) == 'table' then return thing.hp > 0 end
|
if type(thing) == 'table' then return thing.hp > 0 end
|
||||||
if thing:is_player() then return thing:get_hp() > 0
|
if thing:is_player() then return thing:get_hp() > 0
|
||||||
else
|
else
|
||||||
local lua = thing:get_luaentity()
|
local lua = thing:get_luaentity()
|
||||||
local hp = lua and lua.hp or nil
|
local hp = lua and lua.hp or nil
|
||||||
return hp and hp > 0
|
return hp and hp > 0
|
||||||
|
@ -434,9 +434,9 @@ end
|
||||||
function mobkit.exists(thing)
|
function mobkit.exists(thing)
|
||||||
if not thing then return false end
|
if not thing then return false end
|
||||||
if type(thing) == 'table' then thing=thing.object end
|
if type(thing) == 'table' then thing=thing.object end
|
||||||
if type(thing) == 'userdata' then
|
if type(thing) == 'userdata' then
|
||||||
if thing:is_player() then
|
if thing:is_player() then
|
||||||
if thing:get_look_horizontal() then return true end
|
if thing:get_look_horizontal() then return true end
|
||||||
else
|
else
|
||||||
if thing:get_yaw() then return true end
|
if thing:get_yaw() then return true end
|
||||||
end
|
end
|
||||||
|
@ -461,16 +461,16 @@ function mobkit.animate(self,anim)
|
||||||
if self.animation and self.animation[anim] then
|
if self.animation and self.animation[anim] then
|
||||||
if self._anim == anim then return end
|
if self._anim == anim then return end
|
||||||
self._anim=anim
|
self._anim=anim
|
||||||
|
|
||||||
local aparms = {}
|
local aparms = {}
|
||||||
if #self.animation[anim] > 0 then
|
if #self.animation[anim] > 0 then
|
||||||
aparms = self.animation[anim][random(#self.animation[anim])]
|
aparms = self.animation[anim][random(#self.animation[anim])]
|
||||||
else
|
else
|
||||||
aparms = self.animation[anim]
|
aparms = self.animation[anim]
|
||||||
end
|
end
|
||||||
|
|
||||||
aparms.frame_blend = aparms.frame_blend or 0
|
aparms.frame_blend = aparms.frame_blend or 0
|
||||||
|
|
||||||
self.object:set_animation(aparms.range,aparms.speed,aparms.frame_blend,aparms.loop)
|
self.object:set_animation(aparms.range,aparms.speed,aparms.frame_blend,aparms.loop)
|
||||||
else
|
else
|
||||||
self._anim = nil
|
self._anim = nil
|
||||||
|
@ -480,16 +480,16 @@ end
|
||||||
function mobkit.make_sound(self, sound)
|
function mobkit.make_sound(self, sound)
|
||||||
local spec = self.sounds and self.sounds[sound]
|
local spec = self.sounds and self.sounds[sound]
|
||||||
local param_table = {object=self.object}
|
local param_table = {object=self.object}
|
||||||
|
|
||||||
if type(spec) == 'table' then
|
if type(spec) == 'table' then
|
||||||
--pick random sound if it's a spec for random sounds
|
--pick random sound if it's a spec for random sounds
|
||||||
if #spec > 0 then spec = spec[random(#spec)] end
|
if #spec > 0 then spec = spec[random(#spec)] end
|
||||||
|
|
||||||
--returns value or a random value within the range [value[1], value[2])
|
--returns value or a random value within the range [value[1], value[2])
|
||||||
local function in_range(value)
|
local function in_range(value)
|
||||||
return type(value) == 'table' and value[1]+random()*(value[2]-value[1]) or value
|
return type(value) == 'table' and value[1]+random()*(value[2]-value[1]) or value
|
||||||
end
|
end
|
||||||
|
|
||||||
--pick random values within a range if they're a table
|
--pick random values within a range if they're a table
|
||||||
param_table.gain = in_range(spec.gain)
|
param_table.gain = in_range(spec.gain)
|
||||||
param_table.fade = in_range(spec.fade)
|
param_table.fade = in_range(spec.fade)
|
||||||
|
@ -507,7 +507,7 @@ function mobkit.go_forward_horizontal(self,speed) -- sets velocity in yaw direct
|
||||||
self.object:set_velocity(vel)
|
self.object:set_velocity(vel)
|
||||||
end
|
end
|
||||||
|
|
||||||
function mobkit.drive_to_pos(self,tpos,speed,turn_rate,dist)
|
function mobkit.drive_to_pos(self,tpos,speed,turn_rate,dist)
|
||||||
local pos=self.object:get_pos()
|
local pos=self.object:get_pos()
|
||||||
dist = dist or 0.2
|
dist = dist or 0.2
|
||||||
if mobkit.isnear2d(pos,tpos,dist) then return true end
|
if mobkit.isnear2d(pos,tpos,dist) then return true end
|
||||||
|
@ -523,7 +523,7 @@ function mobkit.timer(self,s) -- returns true approx every s seconds
|
||||||
if t2>t1 and t2%s==0 then return true end
|
if t2>t1 and t2%s==0 then return true end
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Memory functions.
|
-- Memory functions.
|
||||||
-- Stuff in memory is serialized, never try to remember objectrefs.
|
-- Stuff in memory is serialized, never try to remember objectrefs.
|
||||||
function mobkit.remember(self,key,val)
|
function mobkit.remember(self,key,val)
|
||||||
self.memory[key]=val
|
self.memory[key]=val
|
||||||
|
@ -638,20 +638,20 @@ local function sensors()
|
||||||
return function(self)
|
return function(self)
|
||||||
timer=timer-self.dtime
|
timer=timer-self.dtime
|
||||||
if timer < 0 then
|
if timer < 0 then
|
||||||
|
|
||||||
pulse = pulse + 1 -- do full range every third scan
|
pulse = pulse + 1 -- do full range every third scan
|
||||||
local range = self.view_range
|
local range = self.view_range
|
||||||
if pulse > 2 then
|
if pulse > 2 then
|
||||||
pulse = 1
|
pulse = 1
|
||||||
else
|
else
|
||||||
range = self.view_range*0.5
|
range = self.view_range*0.5
|
||||||
end
|
end
|
||||||
|
|
||||||
local pos = self.object:get_pos()
|
local pos = self.object:get_pos()
|
||||||
--local tim = minetest.get_us_time()
|
--local tim = minetest.get_us_time()
|
||||||
self.nearby_objects = minetest.get_objects_inside_radius(pos, range)
|
self.nearby_objects = minetest.get_objects_inside_radius(pos, range)
|
||||||
--minetest.chat_send_all(minetest.get_us_time()-tim)
|
--minetest.chat_send_all(minetest.get_us_time()-tim)
|
||||||
for i,obj in ipairs(self.nearby_objects) do
|
for i,obj in ipairs(self.nearby_objects) do
|
||||||
if obj == self.object then
|
if obj == self.object then
|
||||||
table.remove(self.nearby_objects,i)
|
table.remove(self.nearby_objects,i)
|
||||||
break
|
break
|
||||||
|
@ -674,33 +674,33 @@ function mobkit.physics(self)
|
||||||
local vel=self.object:get_velocity()
|
local vel=self.object:get_velocity()
|
||||||
local vnew = vector.new(vel)
|
local vnew = vector.new(vel)
|
||||||
-- dumb friction
|
-- dumb friction
|
||||||
|
|
||||||
if self.isonground and not self.isinliquid then
|
if self.isonground and not self.isinliquid then
|
||||||
vnew = {x= vel.x> 0.2 and vel.x*mobkit.friction or 0,
|
vnew = {x= vel.x> 0.2 and vel.x*mobkit.friction or 0,
|
||||||
y=vel.y,
|
y=vel.y,
|
||||||
z=vel.z > 0.2 and vel.z*mobkit.friction or 0}
|
z=vel.z > 0.2 and vel.z*mobkit.friction or 0}
|
||||||
end
|
end
|
||||||
|
|
||||||
-- bounciness
|
-- bounciness
|
||||||
if self.springiness and self.springiness > 0 then
|
if self.springiness and self.springiness > 0 then
|
||||||
|
|
||||||
if colinfo and colinfo.collides then
|
if colinfo and colinfo.collides then
|
||||||
for _,c in ipairs(colinfo.collisions) do
|
for _,c in ipairs(colinfo.collisions) do
|
||||||
if c.old_velocity[c.axis] > 0.1 then
|
if c.old_velocity[c.axis] > 0.1 then
|
||||||
vnew[c.axis] = vnew[c.axis] * self.springiness * -1
|
vnew[c.axis] = vnew[c.axis] * self.springiness * -1
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
elseif not colinfo then -- MT 5.2 and earlier
|
elseif not colinfo then -- MT 5.2 and earlier
|
||||||
for _,k in ipairs({'y','z','x'}) do
|
for _,k in ipairs({'y','z','x'}) do
|
||||||
if vel[k]==0 and abs(self.lastvelocity[k])> 0.1 then
|
if vel[k]==0 and abs(self.lastvelocity[k])> 0.1 then
|
||||||
vnew[k]=-self.lastvelocity[k]*self.springiness
|
vnew[k]=-self.lastvelocity[k]*self.springiness
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self.object:set_velocity(vnew)
|
self.object:set_velocity(vnew)
|
||||||
|
|
||||||
-- buoyancy
|
-- buoyancy
|
||||||
local surface = nil
|
local surface = nil
|
||||||
local surfnodename = nil
|
local surfnodename = nil
|
||||||
|
@ -728,7 +728,7 @@ function mobkit.physics(self)
|
||||||
-- self.isinliquid = false
|
-- self.isinliquid = false
|
||||||
self.object:set_acceleration({x=0,y=mobkit.gravity,z=0})
|
self.object:set_acceleration({x=0,y=mobkit.gravity,z=0})
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function mobkit.vitals(self)
|
function mobkit.vitals(self)
|
||||||
|
@ -738,17 +738,17 @@ function mobkit.vitals(self)
|
||||||
if velocity_delta > mobkit.safe_velocity then
|
if velocity_delta > mobkit.safe_velocity then
|
||||||
self.hp = self.hp - floor(self.max_hp * min(1, velocity_delta/mobkit.terminal_velocity))
|
self.hp = self.hp - floor(self.max_hp * min(1, velocity_delta/mobkit.terminal_velocity))
|
||||||
end
|
end
|
||||||
|
|
||||||
-- vitals: oxygen
|
-- vitals: oxygen
|
||||||
if self.lung_capacity then
|
if self.lung_capacity then
|
||||||
local colbox = self.object:get_properties().collisionbox
|
local colbox = self.object:get_properties().collisionbox
|
||||||
local headnode = mobkit.nodeatpos(mobkit.pos_shift(self.object:get_pos(),{y=colbox[5]})) -- node at hitbox top
|
local headnode = mobkit.nodeatpos(mobkit.pos_shift(self.object:get_pos(),{y=colbox[5]})) -- node at hitbox top
|
||||||
if headnode and headnode.drawtype == 'liquid' then
|
if headnode and headnode.drawtype == 'liquid' then
|
||||||
self.oxygen = self.oxygen - self.dtime
|
self.oxygen = self.oxygen - self.dtime
|
||||||
else
|
else
|
||||||
self.oxygen = self.lung_capacity
|
self.oxygen = self.lung_capacity
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.oxygen <= 0 then self.hp=0 end -- drown
|
if self.oxygen <= 0 then self.hp=0 end -- drown
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -765,7 +765,7 @@ function mobkit.actfunc(self, staticdata, dtime_s)
|
||||||
|
|
||||||
self.logic = self.logic or self.brainfunc
|
self.logic = self.logic or self.brainfunc
|
||||||
self.physics = self.physics or mobkit.physics
|
self.physics = self.physics or mobkit.physics
|
||||||
|
|
||||||
self.lqueue = {}
|
self.lqueue = {}
|
||||||
self.hqueue = {}
|
self.hqueue = {}
|
||||||
self.nearby_objects = {}
|
self.nearby_objects = {}
|
||||||
|
@ -776,29 +776,29 @@ function mobkit.actfunc(self, staticdata, dtime_s)
|
||||||
self.water_drag = self.water_drag or 1
|
self.water_drag = self.water_drag or 1
|
||||||
|
|
||||||
local sdata = minetest.deserialize(staticdata)
|
local sdata = minetest.deserialize(staticdata)
|
||||||
if sdata then
|
if sdata then
|
||||||
for k,v in pairs(sdata) do
|
for k,v in pairs(sdata) do
|
||||||
self[k] = v
|
self[k] = v
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.textures==nil then
|
if self.textures==nil then
|
||||||
local prop_tex = self.object:get_properties().textures
|
local prop_tex = self.object:get_properties().textures
|
||||||
if prop_tex then self.textures=prop_tex end
|
if prop_tex then self.textures=prop_tex end
|
||||||
end
|
end
|
||||||
|
|
||||||
if not self.memory then -- this is the initial activation
|
if not self.memory then -- this is the initial activation
|
||||||
self.memory = {}
|
self.memory = {}
|
||||||
|
|
||||||
-- texture variation
|
-- texture variation
|
||||||
if #self.textures > 1 then self.texture_no = random(#self.textures) end
|
if #self.textures > 1 then self.texture_no = random(#self.textures) end
|
||||||
end
|
end
|
||||||
|
|
||||||
if self.timeout and ((self.timeout>0 and dtime_s > self.timeout and next(self.memory)==nil) or
|
if self.timeout and ((self.timeout>0 and dtime_s > self.timeout and next(self.memory)==nil) or
|
||||||
(self.timeout<0 and dtime_s > abs(self.timeout))) then
|
(self.timeout<0 and dtime_s > abs(self.timeout))) then
|
||||||
self.object:remove()
|
self.object:remove()
|
||||||
end
|
end
|
||||||
|
|
||||||
-- apply texture
|
-- apply texture
|
||||||
if self.textures and self.texture_no then
|
if self.textures and self.texture_no then
|
||||||
local props = {}
|
local props = {}
|
||||||
|
@ -815,7 +815,7 @@ function mobkit.actfunc(self, staticdata, dtime_s)
|
||||||
end
|
end
|
||||||
self.armor_groups.immortal = 1
|
self.armor_groups.immortal = 1
|
||||||
self.object:set_armor_groups(self.armor_groups)
|
self.object:set_armor_groups(self.armor_groups)
|
||||||
|
|
||||||
self.buoyancy = self.buoyancy or 0
|
self.buoyancy = self.buoyancy or 0
|
||||||
self.oxygen = self.oxygen or self.lung_capacity
|
self.oxygen = self.oxygen or self.lung_capacity
|
||||||
self.lastvelocity = {x=0,y=0,z=0}
|
self.lastvelocity = {x=0,y=0,z=0}
|
||||||
|
@ -826,11 +826,11 @@ function mobkit.stepfunc(self,dtime,colinfo) -- not intended to be modified
|
||||||
self.dtime = min(dtime,0.2)
|
self.dtime = min(dtime,0.2)
|
||||||
self.colinfo = colinfo
|
self.colinfo = colinfo
|
||||||
self.height = mobkit.get_box_height(self)
|
self.height = mobkit.get_box_height(self)
|
||||||
|
|
||||||
-- physics comes first
|
-- physics comes first
|
||||||
local vel = self.object:get_velocity()
|
local vel = self.object:get_velocity()
|
||||||
|
|
||||||
if colinfo then
|
if colinfo then
|
||||||
self.isonground = colinfo.touching_ground
|
self.isonground = colinfo.touching_ground
|
||||||
else
|
else
|
||||||
if self.lastvelocity.y==0 and vel.y==0 then
|
if self.lastvelocity.y==0 and vel.y==0 then
|
||||||
|
@ -839,7 +839,7 @@ function mobkit.stepfunc(self,dtime,colinfo) -- not intended to be modified
|
||||||
self.isonground = false
|
self.isonground = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self:physics()
|
self:physics()
|
||||||
|
|
||||||
if self.logic then
|
if self.logic then
|
||||||
|
@ -847,7 +847,7 @@ function mobkit.stepfunc(self,dtime,colinfo) -- not intended to be modified
|
||||||
self:logic()
|
self:logic()
|
||||||
execute_queues(self)
|
execute_queues(self)
|
||||||
end
|
end
|
||||||
|
|
||||||
self.lastvelocity = self.object:get_velocity()
|
self.lastvelocity = self.object:get_velocity()
|
||||||
self.time_total=self.time_total+self.dtime
|
self.time_total=self.time_total+self.dtime
|
||||||
end
|
end
|
||||||
|
|
|
@ -129,9 +129,9 @@ if minetest.get_modpath("default") then
|
||||||
ore_type = "blob",
|
ore_type = "blob",
|
||||||
ore = "oleo:crude_source",
|
ore = "oleo:crude_source",
|
||||||
wherein = {"default:stone"},
|
wherein = {"default:stone"},
|
||||||
clust_scarcity = 64 * 64 * 64,
|
clust_scarcity = 12 * 12 * 12,
|
||||||
clust_size = 5,
|
clust_size = 50,
|
||||||
y_max = -20,
|
y_max = -128,
|
||||||
y_min = -31000,
|
y_min = -31000,
|
||||||
noise_threshold = 0.0,
|
noise_threshold = 0.0,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
|
@ -143,6 +143,8 @@ if minetest.get_modpath("default") then
|
||||||
persist = 0.0
|
persist = 0.0
|
||||||
},
|
},
|
||||||
biomes = {
|
biomes = {
|
||||||
|
"underground",
|
||||||
|
"the_depths",
|
||||||
"taiga_ocean",
|
"taiga_ocean",
|
||||||
"snowy_grassland_ocean",
|
"snowy_grassland_ocean",
|
||||||
"grassland_ocean",
|
"grassland_ocean",
|
||||||
|
|
|
@ -45,7 +45,6 @@ minetest.register_node("rainf:meadow", {
|
||||||
{name = "rainf_dirt.png^rainf_dirt_with_grass_side.png",
|
{name = "rainf_dirt.png^rainf_dirt_with_grass_side.png",
|
||||||
tileable_vertical = false}},
|
tileable_vertical = false}},
|
||||||
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
|
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
|
||||||
drop = "swaz:mud",
|
|
||||||
sounds = default.node_sound_dirt_defaults({
|
sounds = default.node_sound_dirt_defaults({
|
||||||
footstep = {name = "default_grass_footstep", gain = 0.25},
|
footstep = {name = "default_grass_footstep", gain = 0.25},
|
||||||
}),
|
}),
|
||||||
|
@ -57,7 +56,6 @@ minetest.register_node("rainf:blossom_meadow", {
|
||||||
{name = "rainf_dirt.png^rainf_dirt_with_grass_side.png",
|
{name = "rainf_dirt.png^rainf_dirt_with_grass_side.png",
|
||||||
tileable_vertical = false}},
|
tileable_vertical = false}},
|
||||||
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
|
groups = {crumbly = 3, soil = 1, spreading_dirt_type = 1},
|
||||||
drop = "swaz:mud",
|
|
||||||
sounds = default.node_sound_dirt_defaults({
|
sounds = default.node_sound_dirt_defaults({
|
||||||
footstep = {name = "default_grass_footstep", gain = 0.25},
|
footstep = {name = "default_grass_footstep", gain = 0.25},
|
||||||
}),
|
}),
|
||||||
|
@ -68,7 +66,6 @@ minetest.register_node("rainf:meadow_with_mud", {
|
||||||
tiles = {"rainf_meadow_with_mud.png", "rainf_dirt.png",
|
tiles = {"rainf_meadow_with_mud.png", "rainf_dirt.png",
|
||||||
"rainf_dirt.png"},
|
"rainf_dirt.png"},
|
||||||
groups = {crumbly = 3},
|
groups = {crumbly = 3},
|
||||||
drop = "swaz:mud",
|
|
||||||
sounds = default.node_sound_dirt_defaults({
|
sounds = default.node_sound_dirt_defaults({
|
||||||
footstep = {name = "default_grass_footstep", gain = 0.25},
|
footstep = {name = "default_grass_footstep", gain = 0.25},
|
||||||
}),
|
}),
|
||||||
|
@ -442,9 +439,9 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.0009,
|
offset = 0.0009,
|
||||||
scale = 0.005,
|
scale = 0.0009,
|
||||||
spread = {x = 250, y = 250, z = 250},
|
spread = {x = 250, y = 250, z = 250},
|
||||||
seed = 2,
|
seed = 2345,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.66
|
persist = 0.66
|
||||||
},
|
},
|
||||||
|
@ -452,13 +449,17 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
|
||||||
height = 2,
|
height = 2,
|
||||||
y_min = 2,
|
y_min = 2,
|
||||||
y_max = 1000,
|
y_max = 1000,
|
||||||
place_offset_y = 0,
|
place_offset_y = -1,
|
||||||
schematic = {
|
schematic = {
|
||||||
size = {x = 4, y = 1, z = 4},
|
size = {x = 4, y = 2, z = 4},
|
||||||
data = {
|
data = {
|
||||||
|
{name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"},{name = "rainf:meadow_with_mud"},
|
||||||
{name = "rainf:meadow"}, {name = "rainf:meadow"}, {name = "rainf:meadow"},{name = "rainf:meadow"},
|
{name = "rainf:meadow"}, {name = "rainf:meadow"}, {name = "rainf:meadow"},{name = "rainf:meadow"},
|
||||||
{name = "rainf:meadow"}, {name = water_type}, {name = water_type},{name = "rainf:meadow"},
|
{name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"},{name = "rainf:meadow_with_mud"},
|
||||||
{name = "rainf:meadow"}, {name = water_type}, {name = water_type},{name = "rainf:meadow"},
|
{name = "rainf:meadow"}, {name = "default:water_source"}, {name = "default:water_source"},{name = "rainf:meadow"},
|
||||||
|
{name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"},{name = "rainf:meadow_with_mud"},
|
||||||
|
{name = "rainf:meadow"}, {name = "default:water_source"}, {name = "default:water_source"},{name = "rainf:meadow"},
|
||||||
|
{name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"}, {name = "rainf:meadow_with_mud"},{name = "rainf:meadow_with_mud"},
|
||||||
{name = "rainf:meadow"}, {name = "rainf:meadow"}, {name = "rainf:meadow"},{name = "rainf:meadow"},
|
{name = "rainf:meadow"}, {name = "rainf:meadow"}, {name = "rainf:meadow"},{name = "rainf:meadow"},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -761,20 +762,22 @@ if mg_name ~= "v6" and mg_name ~= "singlenode" then
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
decoration = "rainf:hyacinth",
|
decoration = "rainf:hyacinth",
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
place_on = "rainf:meadow",
|
place_on = "rainf:meadow_with_mud",
|
||||||
sidelen = 16,
|
sidelen = 16,
|
||||||
fill_ratio = 0.05,
|
fill_ratio = 0.3,
|
||||||
biomes = {"rainf"},
|
biomes = {"rainf"},
|
||||||
noise_params = {
|
noise_params = {
|
||||||
offset = 0.005,
|
offset = 0.1,
|
||||||
scale = 0.008,
|
scale = 0.08,
|
||||||
spread = {x = 250, y = 250, z = 250},
|
spread = {x = 250, y = 250, z = 250},
|
||||||
seed = 452,
|
seed = 4572,
|
||||||
octaves = 3,
|
octaves = 3,
|
||||||
persist = 0.66
|
persist = 0.66
|
||||||
},
|
},
|
||||||
y_min = 1,
|
y_min = 1,
|
||||||
y_max = 80,
|
y_max = 80,
|
||||||
|
spawn_by = "default:water_source",
|
||||||
|
num_spawn_by = 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Champignon
|
-- Champignon
|
||||||
|
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 2.1 KiB |
|
@ -0,0 +1,21 @@
|
||||||
|
unused_args = false
|
||||||
|
allow_defined_top = true
|
||||||
|
|
||||||
|
globals = {
|
||||||
|
"minetest",
|
||||||
|
"mobkit",
|
||||||
|
"stairs",
|
||||||
|
"bucket"
|
||||||
|
}
|
||||||
|
|
||||||
|
read_globals = {
|
||||||
|
string = {fields = {"split"}},
|
||||||
|
table = {fields = {"copy", "getn"}},
|
||||||
|
|
||||||
|
-- Builtin
|
||||||
|
"vector", "ItemStack",
|
||||||
|
"dump", "DIR_DELIM", "VoxelArea", "Settings",
|
||||||
|
|
||||||
|
-- MTG
|
||||||
|
"default", "sfinv", "creative",
|
||||||
|
}
|