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

@ -151,7 +151,7 @@ plantslib:register_generate_plant({ -- near trees (woodlands)
temp_max = -0.5, -- 55 <20>C (too hot?)
temp_min = 0.75, -- -12 <20>C
},
"abstract_ferns.grow_fern"
abstract_ferns.grow_fern
)
end
@ -177,7 +177,7 @@ plantslib:register_generate_plant({ -- near stone (mountains)
temp_max = -0.5, -- 55 <20>C (too hot?)
temp_min = 0.75, -- -12 <20>C
},
"abstract_ferns.grow_fern"
abstract_ferns.grow_fern
)
end
@ -214,7 +214,7 @@ plantslib:register_generate_plant({ -- near ores (potential mining sites)
temp_max = -0.5, -- 55 <20>C (too hot?)
temp_min = 0.75, -- -12 <20>C
},
"abstract_ferns.grow_fern"
abstract_ferns.grow_fern
)
end
@ -244,6 +244,6 @@ plantslib:register_generate_plant({
temp_max = -0.5, -- 55 <20>C (too hot?)
temp_min = 0.75, -- -12 <20>C
},
"abstract_ferns.grow_fern"
abstract_ferns.grow_fern
)
end

View File

@ -334,7 +334,7 @@ plantslib:register_generate_plant({
--temp_max = -1,-- -1.2,-- -0.5, -- ~ 55C
--temp_min = -0.35,-- -0.07, -- ~ 25C
},
"abstract_ferns.grow_giant_tree_fern"
abstract_ferns.grow_giant_tree_fern
)
end
@ -361,6 +361,6 @@ plantslib:register_generate_plant({
temp_max = -1.0,
temp_min = 1.0,
},
"abstract_ferns.grow_giant_tree_fern"
abstract_ferns.grow_giant_tree_fern
)
end

View File

@ -151,7 +151,7 @@ plantslib:register_generate_plant({
temp_max = -0.5, -- 55 <20>C
temp_min = 0.53, -- 0 <20>C, dies back in winter
},
"abstract_ferns.grow_horsetail"
abstract_ferns.grow_horsetail
)
end
@ -173,6 +173,6 @@ plantslib:register_generate_plant({
temp_max = -0.5, -- 55 <20>C
temp_min = 0.53, -- 0 <20>C, dies back in winter
},
"abstract_ferns.grow_horsetail"
abstract_ferns.grow_horsetail
)
end

View File

@ -213,7 +213,7 @@ plantslib:register_generate_plant({
temp_max = -0.5,
temp_min = 0.13,
},
"abstract_ferns.grow_tree_fern"
abstract_ferns.grow_tree_fern
)
end
@ -240,6 +240,6 @@ plantslib:register_generate_plant({
temp_max = -1.0,
temp_min = 1.0,
},
"abstract_ferns.grow_tree_fern"
abstract_ferns.grow_tree_fern
)
end