Updated moretrees mod
- Centralized inttlib's gettext function - "OPTIMIZED ALL THE TEXTURES \:D/!!"
@ -1,11 +1,4 @@
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
end
|
||||
local S = moretrees.intllib
|
||||
|
||||
for i in ipairs(moretrees.treelist) do
|
||||
local treename = moretrees.treelist[i][1]
|
||||
|
@ -1,4 +1,5 @@
|
||||
default
|
||||
plants_lib
|
||||
moreblocks?
|
||||
intllib?
|
||||
|
||||
|
@ -45,12 +45,12 @@ end
|
||||
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
if minetest.get_modpath("intllib") then
|
||||
S = intllib.Getter()
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
S = function(s) return s end
|
||||
end
|
||||
moretrees.intllib = S
|
||||
|
||||
-- infinite stacks checking
|
||||
|
||||
|
@ -1,11 +1,4 @@
|
||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||
local S
|
||||
if (minetest.get_modpath("intllib")) then
|
||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
||||
S = intllib.Getter(minetest.get_current_modname())
|
||||
else
|
||||
S = function ( s ) return s end
|
||||
end
|
||||
local S = moretrees.intllib
|
||||
|
||||
moretrees.avoidnodes = {}
|
||||
|
||||
|
Before ![]() (image error) Size: 340 B After ![]() (image error) Size: 150 B ![]() ![]() |
Before ![]() (image error) Size: 359 B After ![]() (image error) Size: 205 B ![]() ![]() |
Before ![]() (image error) Size: 682 B After ![]() (image error) Size: 599 B ![]() ![]() |
Before ![]() (image error) Size: 731 B After ![]() (image error) Size: 651 B ![]() ![]() |
Before ![]() (image error) Size: 364 B After ![]() (image error) Size: 175 B ![]() ![]() |
Before ![]() (image error) Size: 385 B After ![]() (image error) Size: 351 B ![]() ![]() |
Before ![]() (image error) Size: 375 B After ![]() (image error) Size: 183 B ![]() ![]() |
Before ![]() (image error) Size: 1.1 KiB After ![]() (image error) Size: 1.0 KiB ![]() ![]() |
Before ![]() (image error) Size: 525 B After ![]() (image error) Size: 503 B ![]() ![]() |
Before ![]() (image error) Size: 481 B After ![]() (image error) Size: 464 B ![]() ![]() |
Before ![]() (image error) Size: 220 B After ![]() (image error) Size: 201 B ![]() ![]() |
Before ![]() (image error) Size: 372 B After ![]() (image error) Size: 177 B ![]() ![]() |
Before ![]() (image error) Size: 947 B After ![]() (image error) Size: 926 B ![]() ![]() |
Before ![]() (image error) Size: 197 B After ![]() (image error) Size: 175 B ![]() ![]() |
Before ![]() (image error) Size: 496 B After ![]() (image error) Size: 459 B ![]() ![]() |
Before ![]() (image error) Size: 465 B After ![]() (image error) Size: 208 B ![]() ![]() |
Before ![]() (image error) Size: 832 B After ![]() (image error) Size: 811 B ![]() ![]() |
Before ![]() (image error) Size: 1.1 KiB After ![]() (image error) Size: 1.0 KiB ![]() ![]() |
Before ![]() (image error) Size: 985 B After ![]() (image error) Size: 963 B ![]() ![]() |
Before ![]() (image error) Size: 275 B After ![]() (image error) Size: 199 B ![]() ![]() |
Before ![]() (image error) Size: 225 B After ![]() (image error) Size: 205 B ![]() ![]() |
Before ![]() (image error) Size: 225 B After ![]() (image error) Size: 205 B ![]() ![]() |
Before ![]() (image error) Size: 390 B After ![]() (image error) Size: 361 B ![]() ![]() |
Before ![]() (image error) Size: 325 B After ![]() (image error) Size: 166 B ![]() ![]() |
Before ![]() (image error) Size: 770 B After ![]() (image error) Size: 753 B ![]() ![]() |
Before ![]() (image error) Size: 942 B After ![]() (image error) Size: 924 B ![]() ![]() |
Before ![]() (image error) Size: 220 B After ![]() (image error) Size: 201 B ![]() ![]() |
Before ![]() (image error) Size: 220 B After ![]() (image error) Size: 201 B ![]() ![]() |
Before ![]() (image error) Size: 220 B After ![]() (image error) Size: 201 B ![]() ![]() |
Before ![]() (image error) Size: 749 B After ![]() (image error) Size: 730 B ![]() ![]() |
Before ![]() (image error) Size: 409 B After ![]() (image error) Size: 172 B ![]() ![]() |
Before ![]() (image error) Size: 542 B After ![]() (image error) Size: 519 B ![]() ![]() |
Before ![]() (image error) Size: 259 B After ![]() (image error) Size: 122 B ![]() ![]() |
Before ![]() (image error) Size: 319 B After ![]() (image error) Size: 295 B ![]() ![]() |
Before ![]() (image error) Size: 422 B After ![]() (image error) Size: 400 B ![]() ![]() |
Before ![]() (image error) Size: 336 B After ![]() (image error) Size: 315 B ![]() ![]() |
Before ![]() (image error) Size: 225 B After ![]() (image error) Size: 205 B ![]() ![]() |
Before ![]() (image error) Size: 399 B After ![]() (image error) Size: 369 B ![]() ![]() |
Before ![]() (image error) Size: 468 B After ![]() (image error) Size: 202 B ![]() ![]() |
Before ![]() (image error) Size: 1.1 KiB After ![]() (image error) Size: 1.0 KiB ![]() ![]() |
Before ![]() (image error) Size: 472 B After ![]() (image error) Size: 451 B ![]() ![]() |
Before ![]() (image error) Size: 484 B After ![]() (image error) Size: 466 B ![]() ![]() |
Before ![]() (image error) Size: 220 B After ![]() (image error) Size: 201 B ![]() ![]() |
Before ![]() (image error) Size: 304 B After ![]() (image error) Size: 151 B ![]() ![]() |
Before ![]() (image error) Size: 723 B After ![]() (image error) Size: 693 B ![]() ![]() |
Before ![]() (image error) Size: 556 B After ![]() (image error) Size: 534 B ![]() ![]() |
Before ![]() (image error) Size: 454 B After ![]() (image error) Size: 435 B ![]() ![]() |
Before ![]() (image error) Size: 225 B After ![]() (image error) Size: 205 B ![]() ![]() |
Before ![]() (image error) Size: 462 B After ![]() (image error) Size: 209 B ![]() ![]() |
Before ![]() (image error) Size: 647 B After ![]() (image error) Size: 621 B ![]() ![]() |
Before ![]() (image error) Size: 616 B After ![]() (image error) Size: 594 B ![]() ![]() |
Before ![]() (image error) Size: 225 B After ![]() (image error) Size: 205 B ![]() ![]() |
Before ![]() (image error) Size: 396 B After ![]() (image error) Size: 365 B ![]() ![]() |
Before ![]() (image error) Size: 291 B After ![]() (image error) Size: 153 B ![]() ![]() |
Before ![]() (image error) Size: 770 B After ![]() (image error) Size: 753 B ![]() ![]() |
Before ![]() (image error) Size: 434 B After ![]() (image error) Size: 414 B ![]() ![]() |
Before ![]() (image error) Size: 554 B After ![]() (image error) Size: 536 B ![]() ![]() |
Before ![]() (image error) Size: 445 B After ![]() (image error) Size: 409 B ![]() ![]() |
Before ![]() (image error) Size: 350 B After ![]() (image error) Size: 168 B ![]() ![]() |
Before ![]() (image error) Size: 647 B After ![]() (image error) Size: 630 B ![]() ![]() |
Before ![]() (image error) Size: 535 B After ![]() (image error) Size: 513 B ![]() ![]() |
Before ![]() (image error) Size: 585 B After ![]() (image error) Size: 565 B ![]() ![]() |
@ -1,34 +1,34 @@
|
||||
|
||||
Elevation Temperature Nearness to Nearby What nodes Perlin Avoid
|
||||
Tree type (m) (approx., °C) some node water to spawn on seed diff radius
|
||||
-----------------------------------------------------------------------------------------------------------------------
|
||||
jungle tree - 5 to +10 above +15 water, 20 10 dirt_with_grass 329 5
|
||||
fir above +25 -20 to +10 n/a n/a dirt_with_grass 359 8
|
||||
firs on snow above +15 -20 to +10 n/a n/a snow:snow 359 8
|
||||
palm - 1 to + 1 +15 to +32 water, 15 10 sand 330 5
|
||||
apple + 1 to +10 +23 to +32 n/a n/a dirt_with grass 331 15
|
||||
oak 0 to +10 + 4 to +16 n/a n/a dirt_with grass 332 15
|
||||
sequoia 0 to +10 -30 to +50 n/a n/a dirt_with grass 333 10
|
||||
birch +10 to +15 -20 to +10 n/a n/a dirt_with grass 334 5
|
||||
spruce above +20 -20 to +10 n/a n/a dirt_with grass 335 10
|
||||
pine n/a n/a water, 15 5 dirt_with grass 336 10
|
||||
willow - 5 to + 5 n/a water, 15 5 dirt_with grass 337 20
|
||||
acacia n/a n/a n/a n/a dirt_with_grass,
|
||||
desert_sand n/a 15
|
||||
rubber - 5 to + 5 above +32 water, 15 10 dirt_with_grass 338 20
|
||||
|
||||
beech n/a n/a n/a n/a dirt_with_grass 2 10
|
||||
|
||||
|
||||
Notes:
|
||||
------
|
||||
|
||||
Beech trees are meant to replace default trees, but are themselves disabled by default. They grow in the same areas
|
||||
as the default ones do, and under the same conditions.
|
||||
|
||||
Acacia trees depend on humidity as their primary control, and they don't use the fertile ground option. They grow near
|
||||
the edges of a desert biome, occasionally into the grass beyond, and anywhere else on desert sand or dirt with grass,
|
||||
where the humidity is low (but not bone dry).
|
||||
|
||||
Fir trees appear in a snow biome only with older versions of SPlizard's Snow Biomes mod. In more recent versions,
|
||||
these trees will not grow, due to an engine bug.
|
||||
|
||||
Elevation Temperature Nearness to Nearby What nodes Perlin Avoid
|
||||
Tree type (m) (approx., °C) some node water to spawn on seed diff radius
|
||||
-----------------------------------------------------------------------------------------------------------------------
|
||||
jungle tree - 5 to +10 above +15 water, 20 10 dirt_with_grass 329 5
|
||||
fir above +25 -20 to +10 n/a n/a dirt_with_grass 359 8
|
||||
firs on snow above +15 -20 to +10 n/a n/a snow:snow 359 8
|
||||
palm - 1 to + 1 +15 to +32 water, 15 10 sand 330 5
|
||||
apple + 1 to +10 +23 to +32 n/a n/a dirt_with grass 331 15
|
||||
oak 0 to +10 + 4 to +16 n/a n/a dirt_with grass 332 15
|
||||
sequoia 0 to +10 -30 to +50 n/a n/a dirt_with grass 333 10
|
||||
birch +10 to +15 -20 to +10 n/a n/a dirt_with grass 334 5
|
||||
spruce above +20 -20 to +10 n/a n/a dirt_with grass 335 10
|
||||
pine n/a n/a water, 15 5 dirt_with grass 336 10
|
||||
willow - 5 to + 5 n/a water, 15 5 dirt_with grass 337 20
|
||||
acacia n/a n/a n/a n/a dirt_with_grass,
|
||||
desert_sand n/a 15
|
||||
rubber - 5 to + 5 above +32 water, 15 10 dirt_with_grass 338 20
|
||||
|
||||
beech n/a n/a n/a n/a dirt_with_grass 2 10
|
||||
|
||||
|
||||
Notes:
|
||||
------
|
||||
|
||||
Beech trees are meant to replace default trees, but are themselves disabled by default. They grow in the same areas
|
||||
as the default ones do, and under the same conditions.
|
||||
|
||||
Acacia trees depend on humidity as their primary control, and they don't use the fertile ground option. They grow near
|
||||
the edges of a desert biome, occasionally into the grass beyond, and anywhere else on desert sand or dirt with grass,
|
||||
where the humidity is low (but not bone dry).
|
||||
|
||||
Fir trees appear in a snow biome only with older versions of SPlizard's Snow Biomes mod. In more recent versions,
|
||||
these trees will not grow, due to an engine bug.
|
||||
|