Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plantlife_modpack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
plantlife_modpack
Commits
60ceed2e
Commit
60ceed2e
authored
12 years ago
by
Vanessa Ezekowitz
Browse files
Options
Downloads
Patches
Plain Diff
left out a few commas in the API's tables (I want them to be easily
copied and pasted directly into one's code).
parent
ced39d9a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
API.txt
+8
-8
8 additions, 8 deletions
API.txt
with
8 additions
and
8 deletions
API.txt
+
8
−
8
View file @
60ceed2e
...
...
@@ -64,7 +64,7 @@ options={
spawn_plants = something, -- [*] String or table; see below.
spawn_delay = number, -- same as sdelay, above.
spawn_chance = number, -- same as schance, above.
spawn_surfaces = {table} -- List of node names on which the plants
spawn_surfaces = {table}
,
-- List of node names on which the plants
-- should be spawned. As with the single-
-- node "ssurface" option in the legacy API,
-- you should not put stone, air, etc. here.
...
...
@@ -75,7 +75,7 @@ options={
avoid_nodes = {table}, -- same meaning as savoid, above
avoid_radius = num, -- same as sradius
seed_diff = num
-- The Perlin seed difference value passed to
seed_diff = num
,
-- The Perlin seed difference value passed to
-- the minetest.env:get_perlin() function.
-- Used along with the global Perlin controls
-- below to create the "biome" in which the
...
...
@@ -116,8 +116,8 @@ options={
-- or any other pair of numbers in the 0 to 5
-- range, as appropriate for the node you want
-- to spawn.
verticals_list = {table} -- List of nodes that should be considered
to
-- be natural walls.
verticals_list = {table}
,
-- List of nodes that should be considered
--
to
be natural walls.
alt_wallnode = "string", -- If specified, this node will be
-- substituted in place of the plant(s)
-- defined by spawn_plants above, if the spawn
...
...
@@ -216,10 +216,10 @@ options={
-- facedir function above, the values given to
-- the facedir parameter are for regular
-- nodes, not wallmounted.
spawn_replace_node = bool -- If set to true, the target node itself
is
-- replaced by the spawned object.
Overrides
-- the spawn_on_bottom and
spawn_on_side
-- settings.
spawn_replace_node = bool
,
-- If set to true, the target node itself
--
is
replaced by the spawned object.
--
Overrides
the spawn_on_bottom and
--
spawn_on_side
settings.
}
[*] spawn_plants must be either a table or a string. If it's a table, the
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment