mirror of
https://github.com/mt-mods/plantlife_modpack.git
synced 2025-06-28 06:11:53 +02:00
use real function calls instead of the old string method where possible
(basically leaving only the old legacy mapgen calls still using the string method)
This commit is contained in:
@ -102,7 +102,7 @@ plantslib:register_generate_plant({
|
||||
near_nodes_count = 1,
|
||||
plantlife_limit = -0.9,
|
||||
},
|
||||
"abstract_dryplants.grow_juncus"
|
||||
abstract_dryplants.grow_juncus
|
||||
)
|
||||
-- at dunes/beach
|
||||
plantslib:register_generate_plant({
|
||||
@ -123,5 +123,5 @@ plantslib:register_generate_plant({
|
||||
near_nodes_count = 1,
|
||||
plantlife_limit = -0.9,
|
||||
},
|
||||
"abstract_dryplants.grow_juncus"
|
||||
abstract_dryplants.grow_juncus
|
||||
)
|
||||
|
@ -22,5 +22,5 @@ plantslib:register_generate_plant({
|
||||
min_elevation = 1, -- above sea level
|
||||
plantlife_limit = -0.9,
|
||||
},
|
||||
"abstract_dryplants.grow_grass_variation"
|
||||
abstract_dryplants.grow_grass_variation
|
||||
)
|
||||
|
@ -30,5 +30,5 @@ plantslib:register_generate_plant({
|
||||
min_elevation = 1, -- above sea level
|
||||
plantlife_limit = -0.9,
|
||||
},
|
||||
"abstract_dryplants.grow_grass"
|
||||
abstract_dryplants.grow_grass
|
||||
)
|
||||
|
@ -363,7 +363,7 @@ plantslib:register_generate_plant({
|
||||
near_nodes_count = 1,
|
||||
plantlife_limit = -0.9,
|
||||
},
|
||||
"abstract_dryplants.grow_reedmace"
|
||||
abstract_dryplants.grow_reedmace
|
||||
)
|
||||
-- in water
|
||||
plantslib:register_generate_plant({
|
||||
@ -386,7 +386,7 @@ plantslib:register_generate_plant({
|
||||
near_nodes_count = 1,
|
||||
plantlife_limit = -0.9,
|
||||
},
|
||||
"abstract_dryplants.grow_reedmace_water"
|
||||
abstract_dryplants.grow_reedmace_water
|
||||
)
|
||||
-- for oases & tropical beaches & tropical swamps
|
||||
plantslib:register_generate_plant({
|
||||
@ -406,5 +406,5 @@ plantslib:register_generate_plant({
|
||||
near_nodes_count = 1,
|
||||
plantlife_limit = -0.9,
|
||||
},
|
||||
"abstract_dryplants.grow_reedmace"
|
||||
abstract_dryplants.grow_reedmace
|
||||
)
|
||||
|
Reference in New Issue
Block a user