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 Width: | Height: | Size: 340 B After Width: | Height: | Size: 150 B |
Before Width: | Height: | Size: 359 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 682 B After Width: | Height: | Size: 599 B |
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 651 B |
Before Width: | Height: | Size: 364 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 503 B |
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 464 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 177 B |
Before Width: | Height: | Size: 947 B After Width: | Height: | Size: 926 B |
Before Width: | Height: | Size: 197 B After Width: | Height: | Size: 175 B |
Before Width: | Height: | Size: 496 B After Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 208 B |
Before Width: | Height: | Size: 832 B After Width: | Height: | Size: 811 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 985 B After Width: | Height: | Size: 963 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 199 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 390 B After Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 325 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 770 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 942 B After Width: | Height: | Size: 924 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 749 B After Width: | Height: | Size: 730 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 542 B After Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 122 B |
Before Width: | Height: | Size: 319 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 422 B After Width: | Height: | Size: 400 B |
Before Width: | Height: | Size: 336 B After Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 399 B After Width: | Height: | Size: 369 B |
Before Width: | Height: | Size: 468 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 451 B |
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 466 B |
Before Width: | Height: | Size: 220 B After Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 151 B |
Before Width: | Height: | Size: 723 B After Width: | Height: | Size: 693 B |
Before Width: | Height: | Size: 556 B After Width: | Height: | Size: 534 B |
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 435 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 209 B |
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 616 B After Width: | Height: | Size: 594 B |
Before Width: | Height: | Size: 225 B After Width: | Height: | Size: 205 B |
Before Width: | Height: | Size: 396 B After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 770 B After Width: | Height: | Size: 753 B |
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 414 B |
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 536 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 409 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 647 B After Width: | Height: | Size: 630 B |
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 513 B |
Before Width: | Height: | Size: 585 B After Width: | Height: | 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.
|
||||
|