Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
illuna-minetest
Commits
144da5f5
Commit
144da5f5
authored
8 years ago
by
Bluebird
Committed by
Zeno-
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Very small documentation fix. (#4830)
parent
105676b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/lua_api.txt
+2
-2
2 additions, 2 deletions
doc/lua_api.txt
with
2 additions
and
2 deletions
doc/lua_api.txt
+
2
−
2
View file @
144da5f5
...
@@ -2134,7 +2134,7 @@ and `minetest.auth_reload` call the authetification handler.
...
@@ -2134,7 +2134,7 @@ and `minetest.auth_reload` call the authetification handler.
* `minetest.set_node(pos, node)`
* `minetest.set_node(pos, node)`
* `minetest.add_node(pos, node): alias set_node(pos, node)`
* `minetest.add_node(pos, node): alias set_node(pos, node)`
* Set node at position (`node = {name="foo", param1=0, param2=0}`)
* Set node at position (`node = {name="foo", param1=0, param2=0}`)
* `minetest.swap_node(pos, node`
* `minetest.swap_node(pos, node
)
`
* Set node at position, but don't remove metadata
* Set node at position, but don't remove metadata
* `minetest.remove_node(pos)`
* `minetest.remove_node(pos)`
* Equivalent to `set_node(pos, "air")`
* Equivalent to `set_node(pos, "air")`
...
@@ -2340,7 +2340,7 @@ and `minetest.auth_reload` call the authetification handler.
...
@@ -2340,7 +2340,7 @@ and `minetest.auth_reload` call the authetification handler.
* `formname`: has to exactly match the one given in show_formspec, or the formspec will
* `formname`: has to exactly match the one given in show_formspec, or the formspec will
not close.
not close.
* calling show_formspec(playername, formname, "") is equal to this expression
* calling show_formspec(playername, formname, "") is equal to this expression
* to close a formspec regardless of the formname, call
* to close a formspec regardless of the formname, call
minetest.close_formspec(playername, ""). USE THIS ONLY WHEN ABSOLUTELY NECESSARY!
minetest.close_formspec(playername, ""). USE THIS ONLY WHEN ABSOLUTELY NECESSARY!
* `minetest.formspec_escape(string)`: returns a string
* `minetest.formspec_escape(string)`: returns a string
* escapes the characters "[", "]", "\", "," and ";", which can not be used in formspecs
* escapes the characters "[", "]", "\", "," and ";", which can not be used in formspecs
...
...
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