Commit Graph

91 Commits

Author SHA1 Message Date
Kindi aa2e724342 Lua API for Repair records 2022-06-06 16:24:54 +00:00
Petr Mikheev 0745ed590b Fix incorrect package name in lua docs 2022-06-04 13:28:04 +00:00
beelzebielsk fb5eb542ff Lua api for potion records 2022-06-01 13:19:03 +00:00
psi29a a875ac86c0 Merge branch 'change-inventory-usage-docs' into 'master'
Make inventory example runnable in a script

See merge request OpenMW/openmw!1957
2022-05-31 14:41:54 +00:00
beelzebielsk ad3b83432c Fix docs typos 2022-05-31 13:16:19 +00:00
adam e4b2f730c7 Make inventory example runnable in a script 2022-05-31 13:12:40 +00:00
Kindi 638ad15af8 Lua API for Miscellaneous records 2022-05-31 08:54:07 +00:00
Kindi 3d0adf259b Lua API for Apparatus records 2022-05-29 23:03:36 +00:00
adam e2528a1562 Add docs and automagical declaration 2022-05-26 07:20:50 +00:00
Kindi 1b37d5d2ad Lua API for Lockpick and Probe records 2022-05-24 11:48:13 +00:00
cody glassman 6093cb5f2c postprocessing lua api extensions 2022-05-22 18:53:38 -07:00
Petr Mikheev 6a0a2eed33 [Lua] core.getRealTime() 2022-05-20 21:49:19 +02:00
kuyondo 7dbccc914a no skill returns nil 2022-05-20 06:03:12 +08:00
kuyondo 8a1a838ffa update book.cpp and weapon.cpp 2022-05-20 00:39:19 +08:00
kuyondo cad68a5566 Add lua binding for books 2022-05-19 20:02:18 +08:00
kuyondo 93aae5e116 Add lua binding for activators 2022-05-19 04:23:22 +08:00
Adam Ibrahim 96f4057f08 Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua 2022-05-18 03:22:12 +00:00
elsid 215b46503c
Support rendering for navmesh update frequency as a heatmap
Useful when need to find tiles with high number of updates.

Add debug Lua package with new functions to toggle render mode and set navmesh
render mode.
2022-05-17 01:54:20 +02:00
psi29a f092d8da9a Merge branch 'post_malone' into 'master'
Post Processing

See merge request OpenMW/openmw!1124
2022-05-16 14:51:13 +00:00
Petr Mikheev 7ccbf95503 [Lua] makeStrictReadOnly for enums 2022-05-16 00:16:26 +02:00
cody glassman 04843fed6d moddable post-processing pipeline 2022-05-15 10:03:58 -07:00
Petr Mikheev 0643685ea5 [Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause (#6745) 2022-05-13 19:14:34 +02:00
uramer 95ad67eb8b Add extraRoll to the Lua camera package 2022-05-12 23:21:47 +02:00
uramer e92c88a133 Make the documentation clearer, match the documentation when no buttons are pressed for an event 2022-05-10 20:00:42 +02:00
Cody Glassman 882245b935 Lua Bindings: Add view distance bindings to camera 2022-05-09 19:40:48 +00:00
uramer 9c5887aab6 Add NPC and Creature record bindings 2022-05-08 16:36:17 +02:00
uramer 03659bef86 MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594) 2022-05-03 17:36:49 +00:00
Petr Mikheev eae1e87081 [Lua] Update openmw.storage 2022-04-23 18:55:12 +02:00
Petr Mikheev 88d09c336c Lua console 2022-04-21 21:57:07 +02:00
Petr Mikheev 1363292fc9 Merge branch 'l10n_docs' into 'master'
L10n docs

See merge request OpenMW/openmw!1785
2022-04-21 19:44:18 +00:00
Benjamin Winger 2f455aa87b
Added fallback details to l10n docs 2022-04-20 20:10:58 -04:00
Benjamin Winger dac4415699
Moved localisation docs to dedicated page 2022-04-20 20:10:58 -04:00
fredzio d05a2facf3 Handle NCC flag in Nif files. Objects with this flag will collide only with camera.
Expose objects with NC flag to be used by Lua mods.
2022-04-17 20:03:00 +02:00
Petr Mikheev 45c9635e94 Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G 2022-04-14 01:00:02 +02:00
Petr Mikheev 51845e9553 Rendering raycasts in Lua 2022-04-11 23:36:54 +02:00
Benjamin Winger 21ffbcc4b4 Lua i18n updates 2022-04-10 07:57:02 +00:00
Petr Mikheev 3af8ea5dfc Update Lua bindings for the camera 2022-04-06 21:55:05 +02:00
Petr Mikheev 7186ea8ab4 [Lua] New overload `Actor.equipment(actor, slot)`. 2022-04-06 21:55:05 +02:00
Petr Mikheev eca64b48e8 Bitwise operations in Lua 2022-04-06 21:55:05 +02:00
Petr Mikheev fbc84465c5 Merge branch 'futureproof_layers' into 'master'
Add layer size, make layers API more flexible

See merge request OpenMW/openmw!1724
2022-03-29 20:11:11 +00:00
Evil Eye 93d195646c Lua stats 2022-03-25 20:03:13 +00:00
uramer 5d1fe6c2bc Add layer size, make layers API more flexible 2022-03-23 15:04:49 +01:00
jvoisin eb46bde75e Merge branch 'lua_records' into 'master'
Lua bindings for ESM::Door and ESM::Weapon records

See merge request OpenMW/openmw!1717
2022-03-20 15:39:48 +00:00
Petr Mikheev 1b1e81b90e Lua bindings for ESM::Door and ESM::Weapon records 2022-03-20 15:39:48 +00:00
Petr Mikheev d185cb6dce Add Lua function `ui.screenSize()` 2022-03-20 00:16:41 +01:00
Petr Mikheev fa115418eb [Lua] Remove queries 2022-03-15 23:35:36 +01:00
Petr Mikheev 9af49cfa68 [Lua] Update documentation 2022-03-15 23:35:36 +01:00
uramer e7474490a1 Document using ui.texture to create atlases 2022-02-25 18:18:27 +01:00
uramer 94cc090f73 PR feedack for documentation 2022-02-25 18:18:27 +01:00
uramer e092ee2624 Document the Lua Image widget, add UI texture resources 2022-02-25 18:18:26 +01:00