Commit Graph

105 Commits

Author SHA1 Message Date
psi29a 5271241ea6 Merge branch 'clean_docs_lua' into 'master'
Various Documentation Fixes

See merge request OpenMW/openmw!3864
2024-02-14 09:13:32 +00:00
psi29a ec1cf46ec7 Merge branch 'lua_keybinds' into 'master'
Lua Implement mouse input engine handlers, improve inputBinding renderer

See merge request OpenMW/openmw!3855
2024-02-14 08:30:38 +00:00
Zackhasacat a95a4c19fc Added fixes for several doc files 2024-02-12 20:06:07 -06:00
psi29a a060a7297c Merge branch 'dehardcode-skillprogression' into 'master'
Lua: Dehardcode skill and level progression

See merge request OpenMW/openmw!3779
2024-02-12 14:10:51 +00:00
uramer f4fed4ca5f Simplify inputBinding renderer, allow binding controller buttons 2024-02-11 16:27:54 +01:00
uramer c68dee214e Mouse input engine handlers 2024-02-10 22:56:46 +01:00
Mads Buvik Sandvei 4f8476efd4 Comments 2024-01-31 23:01:16 +01:00
Mads Buvik Sandvei 011d9d6493 Dehardcode skill and level progression 2024-01-30 21:25:36 +01:00
uramer 9cce2e39ba Merge branch 'master' into menuscripts 2024-01-27 15:45:31 +01:00
Mads Buvik Sandvei a94add741e Lua: Animation bindings 2024-01-26 21:39:33 +00:00
uramer 94d782c4be Fix doc typos and add menu package to necessary lists 2024-01-14 17:47:23 +01:00
uramer b5aca012eb Fix typo 2024-01-11 17:57:11 +01:00
uramer 82a125fb6a Replace onUpdate with onFrame for menu scripts 2024-01-10 23:13:27 +01:00
uramer 2107bbc01d Reuse input engine handlers in menu scripts 2024-01-10 23:13:23 +01:00
uramer a3fd1b3d6f Document menu scripts 2024-01-08 21:58:07 +01:00
uramer 0e2e386dc9 Lua actions take 3 2023-12-29 18:56:59 +00:00
Evil Eye efb819b9d2 Rename to Died 2023-12-04 17:50:18 +01:00
Evil Eye ad68b7e18b Turn onDeath the engine handler into OnDeath the regular event 2023-12-04 17:32:38 +01:00
Evil Eye 8cf99822ed Add a death event to the Lua API 2023-12-04 17:11:51 +01:00
Petr Mikheev 6161953106 Allow reading ESM4 books 2023-10-03 10:55:12 +02:00
Petr Mikheev 8bef84c16b util.color (0, 0, 0) -> util.color (`rgb(0, 0, 0)`) 2023-09-15 19:29:38 +02:00
Petr Mikheev fb8ccf52d8 Add missing argument `force` in UseItem 2023-09-11 16:21:34 +02:00
psi29a 938c487684
Merge branch 'time' into 'master'
[Lua] Ability to unpause the game when UI is opened.

See merge request OpenMW/openmw!3398
2023-09-06 08:16:49 +00:00
psi29a 5faf56950b
Merge branch 'lua_files' into 'master'
Implement Lua API for VFS

Closes #6864

See merge request OpenMW/openmw!3373
2023-09-03 17:06:14 +00:00
psi29a 0b74146b05
Merge branch 'luautflib' into 'master'
Lua utf-8 support

Closes #6505

See merge request OpenMW/openmw!3327
2023-09-03 17:05:27 +00:00
Petr Mikheev 23a7661d0b Control UI pause from Lua 2023-09-03 03:41:13 +02:00
psi29a b818414d82
Merge branch 'activate_and_use' into 'master'
Handle Use action in Lua in a similar way to Activate action

See merge request OpenMW/openmw!3354
2023-09-02 15:11:43 +00:00
Andrei Kortunov c04a0ca3a5 Implement Lua API for VFS 2023-09-02 08:47:46 +04:00
Petr Mikheev f260fa006e Show OpenMW version and Lua API revision in documentation. 2023-08-31 20:56:02 +02:00
Petr Mikheev ea8692a534 Add usehandlers.lua (same approach as activationhandlers.lua) 2023-08-30 22:48:51 +02:00
Kindi af58b531da change function names and add documentation in overview.rst 2023-08-30 02:33:27 +08:00
Petr Mikheev c5ba289bc7 Handle UI modes open/close sounds in Lua 2023-08-20 17:49:56 +02:00
Petr Mikheev 87eacf774a Control GUI modes from Lua 2023-08-20 17:49:56 +02:00
Andrei Kortunov 7ce9fc25c5 Implement Lua bindings for sound system 2023-08-15 10:28:29 +04:00
Zackhasacat 8f303f46dc Lua Documentation clarification/fixes 2023-08-11 21:16:32 +00:00
Petr Mikheev 7d08243c95 Minor fixes in OpenMW Lua documentation. 2023-07-29 12:50:50 +02:00
Petr Mikheev 4016e8b383 Lua engine handler onTeleported 2023-07-19 10:42:58 +02:00
Petr Mikheev a09fb8d8f8 Rework Lua bindings for journal 2023-07-08 14:32:58 +02:00
Tobias Tribble c792582376 Add Lua bindings for journal 2023-07-08 13:37:39 +02:00
Evil Eye c1823e8742 Document onNewExterior 2023-06-13 17:30:52 +02:00
Petr Mikheev 61d207bd78 Allow Lua scripts to extend or override standard activation mechanics 2023-04-16 23:50:27 +02:00
uramer 7f3926db3f Merge branch 'lua_ai' into 'master'
Expose the argument `cancelOther` of `AiSequence::stack` to Lua

Closes #7245

See merge request OpenMW/openmw!2865
2023-03-30 19:35:48 +00:00
Petr Mikheev 3c5a9f55c5 Expose the argument `cancelOther` of `AiSequence::stack` to Lua 2023-03-27 02:28:45 +02:00
Petr Mikheev a72dc6c7a1 (Lua) Add onActivate handler in global scripts 2023-03-27 01:36:45 +02:00
uramer b883cc5a1b Move the Teal docs page out of Overview 2023-02-19 20:45:07 +01:00
uramer a8d32ebdca Rename the build_teal script 2023-02-11 14:10:16 +01:00
uramer dd3c89c5db Document the Teal workflow 2023-02-11 12:51:59 +01:00
Petr Mikheev 8dd2aa09ca Add naming policy for scripts and l10n files to documentation 2023-01-02 14:38:59 +01:00
Petr Mikheev 1869aeae5c Move some of player controls logic from C++ to Lua 2022-12-28 22:04:19 +01:00
uramer 3761e7b24e Pass a 0-count object to onConsume instead of the record id 2022-06-18 11:13:54 +02:00