1
0
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:
Vanessa Ezekowitz
2014-08-15 10:09:01 -04:00
parent 7f4fc1d553
commit da732bb18e
14 changed files with 36 additions and 31 deletions

View File

@ -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
)

View File

@ -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
)

View File

@ -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
)

View File

@ -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
)