upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/lua-modding.md
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-27 02:45:50 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-27 02:45:50 -0500
commit4fc6d11141e324c177f332658d034115514231b3 (patch)
treee47f7aac8270098ecc4ce2635f7b1e54dd38080e /docs/lua-modding.md
parentf4333dea6baf48b179758a151c0d62d5d416bbe3 (diff)
Teleport page and leonida.teleport work through the player hook when a position is known
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/lua-modding.md')
-rw-r--r--docs/lua-modding.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/lua-modding.md b/docs/lua-modding.md
index 4a0662daa..819250707 100644
--- a/docs/lua-modding.md
+++ b/docs/lua-modding.md
@@ -190,7 +190,9 @@ alone; a mod can have both. Load order is the folder names', sorted.
190 190
191## What is not here, and why 191## What is not here, and why
192 192
193- God mode, wanted level, vehicles, weapons, weather, time of day, teleport: these are the title's own script 193- `leonida.teleport(x, y, z [, hold_seconds])` (true line, or nil and why) and `leonida.player_position()` (x, y, z) move
194 and read the player by memory, once the runtime knows where the player is (`docs/mod-menu.md`, "Teleport by memory").
195- God mode, wanted level, vehicles, weapons, weather, time of day: these are the title's own script
194 functions, which the runtime cannot call (no table of them was found in the executable, `docs/mod-menu.md`), so 196 functions, which the runtime cannot call (no table of them was found in the executable, `docs/mod-menu.md`), so
195 there is no `leonida.player` and no `leonida.world`. A mod that wants them has the memory API and has to find the 197 there is no `leonida.player` and no `leonida.world`. A mod that wants them has the memory API and has to find the
196 addresses itself. 198 addresses itself.