trav5
7f3bc4884e
Add Lua API for the player journal text data
...
This implements #7966 - adds the Lua API read-only access to the player's stored journal text entries (quest & topics data). See the issue ticket for some details on the proposal.
2025-08-13 11:08:10 +02:00
SkyHasACat
b2746a7b4b
Fix autocalc, remove thing
2025-08-04 08:27:26 -07:00
SkyHasACat
99ae52e94c
Add fields to record
2025-08-03 13:42:04 -07:00
SkyHasACat
a0585949a9
Remove dead code, fix grammer
2025-08-03 12:50:57 -07:00
SkyHasACat
4a2f85cfde
Merge remote-tracking branch 'origin/master' into createnewpeople
2025-08-03 12:14:10 -07:00
SkyHasACat
1fbbaefb47
Remove unrelated change, doc
2025-08-01 16:45:24 -07:00
SkyHasACat
6464e2a11b
remove N
2025-08-01 16:11:32 -07:00
SkyHasACat
5e64015aa9
Fix typo, remove change
2025-08-01 15:57:31 -07:00
SkyHasACat
929a65126a
Fix docs
2025-08-01 08:25:02 -07:00
Andrei Kortunov
645eb81133
Run onUpdate when the game is paused
2025-08-01 04:18:03 +03:00
Mads Buvik Sandvei
34eb3d485d
[Lua] Partially dehardcode onHit
2025-07-30 20:21:15 +00:00
Evil Eye
395f6811c9
Remove minimum duration from continuous effects and add clarification to the docs
2025-07-28 18:59:23 +02:00
Alexei Kotov
0a8373987d
Merge branch 'aiwander' into 'master'
...
Build checkpoints based path for wandering actors (#8433 )
Closes #8433
See merge request OpenMW/openmw!4652
2025-07-28 00:48:17 +03:00
psi29a
d3309e0a8d
Merge branch 'vfxdocs' into 'master'
...
Fix useAmbientLight references in docs
See merge request OpenMW/openmw!4803
2025-07-27 16:33:22 +00:00
elsid
4433e3c2de
Build path over navmesh for wandering actors
...
Using a path over pathgrid as checkpoints.
This allows to avoid having paths going through obstacles if they are
placed over pathgrid points.
2025-07-27 11:17:17 +02:00
Sebastian Fieber
534d6b3ae9
typo
2025-07-26 13:39:37 +02:00
Sebastian Fieber
95fc66bccd
adjusments to weatherbindings
...
- return nil for not existing effects
- also use currectTexturePath for cloud texture
- corrections for docs
2025-07-25 23:22:33 +02:00
Sebastian Fieber
a560aceb2a
correct sunDiscSunsetColor type
2025-07-25 20:37:05 +02:00
Sebastian Fieber
cbb96e0fc2
colors should use Misc::Color
2025-07-25 20:10:21 +02:00
Sebastian Fieber
b8fec360c3
typo
2025-07-25 02:20:26 +02:00
Sebastian Fieber
d20a56517b
add getCurrentSunLightDirection
2025-07-25 00:52:56 +02:00
Sebastian Fieber
6be96da6a4
lua - add weatherbindings to core
2025-07-25 00:43:39 +02:00
Alexei Kotov
5dddf9153d
Fix useAmbientLight references in docs
2025-07-24 00:25:26 +03:00
Evil Eye
183652e51d
Expose path grids to Lua
2025-07-16 20:18:17 +02:00
Petr Mikheev
10dba7cda7
Initial support of ESM4 sounds; play opening sound of ESM4 doors.
2025-07-08 11:14:13 +02:00
psi29a
53feb29a5b
Merge branch 'landscape-data-bindings' into 'master'
...
Landscape height and texture bindings for Lua (Revised and Reopened)
See merge request OpenMW/openmw!4724
2025-07-02 21:53:05 +00:00
psi29a
6f48a6f1bf
Merge branch 'docs_me_not_v2' into 'master'
...
Docs - begin restructuring docs
See merge request OpenMW/openmw!4720
2025-07-02 21:37:30 +00:00
Sebastian Fieber
e4439806ed
land bindings afterwork
...
- fix include order + style
- cellOrName -> cellOrId
- bump lua api revision to 78
- cellOrId is not optional anymore for getHeightAt
2025-07-02 16:14:03 +02:00
Sebastian Fieber
eb4d3b7224
Reapply "Merge branch 'landscape-data-bindings' into 'master'"
...
This reverts commit 3ff7dedfd1 .
2025-07-02 16:09:06 +02:00
psi29a
4520eb077d
Merge branch 'lua_pp_order' into 'master'
...
lua - add ability to query the currently active shaders
Closes #8285
See merge request OpenMW/openmw!4506
2025-07-02 09:45:00 +00:00
Sebastian Fieber
fa8ba57ab3
add mwscript bindings to core
2025-07-02 00:57:40 +02:00
Cody Glassman
450f587844
lua - add ability to query the currently active shaders
2025-07-01 14:02:48 -07:00
Andrei Kortunov
4bbc5710fb
Fix some errors in Lua docs
2025-06-22 15:11:49 +04:00
Alexei Kotov
3ff7dedfd1
Revert "Merge branch 'landscape-data-bindings' into 'master'"
...
This reverts merge request !4500
2025-06-21 19:03:11 +03:00
Sebastian Fieber
b1326e4554
update doc for getTextureAt
2025-06-20 22:00:02 +02:00
Sebastian Fieber
0e68e36aa7
that shouldn't have been touched
2025-06-19 22:17:26 +02:00
Sebastian Fieber
7c76387ffe
no interior cell + make cellOrName mandatory
2025-06-19 22:17:26 +02:00
Sebastian Fieber
6671c12ad2
reorder of documentation for landbindings in core.lua
2025-06-19 22:17:26 +02:00
Sebastian Fieber
4182279f72
deduplication for landbindings.cpp + slight api changes
...
- remove textureId from return
- return plugin name instead of plugin id
2025-06-19 22:17:26 +02:00
Calandiel
c711179b8f
apply changes requested in the code review
2025-06-19 22:17:26 +02:00
Calandiel
378093791b
update the docs for land functions
2025-06-19 22:17:26 +02:00
Sebastian Fieber
1521d5195a
add bindings for land textures
2025-06-19 22:17:26 +02:00
Calandiel
283be9f4f0
add docs for the new binding
2025-06-19 22:17:26 +02:00
Cody Glassman
302d92561d
docs - begin restructing docs
2025-06-16 15:36:43 -07:00
Evil Eye
be0cbb7277
Use the Color type for Light colours in Lua
2025-06-12 17:17:28 +02:00
Evil Eye
c05d2d1d38
Restrict openmw.animation to local scripts
2025-06-05 20:15:40 +02:00
Dave Corley
5ef2cf23b3
CLEANUP: Loop param, also, is a bool
2025-04-23 11:20:46 -07:00
Dave Corley
22172f3b0e
FIX: useAmbientLighting arg of addVfx options is a bool
2025-04-10 11:48:57 -07:00
Dave Corley
b68935e917
FIX: Model param of addVfx should not be a header
2025-04-10 11:44:34 -07:00
Dave Corley
e512a8e74f
FIX: Add a name to options table in castRenderingRay
2025-04-10 11:42:24 -07:00
Dave Corley
1d1ae1c906
CLEANUP: But it can also be a single object
2025-04-10 10:15:31 -07:00
Dave Corley
586467540b
FIX: Clarify that ignore field of raycast options types are a list and not a single object
2025-04-10 10:15:31 -07:00
Evil Eye
e5e21eef20
Fix minor documentation errors
2025-03-20 20:08:31 +01:00
psi29a
f6efb28fd1
Merge branch 'lua_case' into 'master'
...
Add more information about generated IDs and record info.
See merge request OpenMW/openmw!3384
2025-01-04 17:46:08 +00:00
Sebastian Fieber
5cb6da4b02
add overwriteLighting a toggle option for addVfx
2024-12-31 01:57:09 +00:00
Alexei Kotov
81f2402e66
Lua: Expose capacity for creatures as well
2024-12-15 03:20:34 +03:00
ZackHasACat
d3689373d5
Change to use Petr's terms
2024-12-04 19:42:02 -06:00
Zackhasacat
5bcf344795
Merge branch openmw:master into lua_case
2024-12-05 01:36:32 +00:00
uramer
244c4b4376
Dono't use self as a type name, as it's reserved in Teal
2024-10-20 18:27:28 +02:00
Calandiel Elende
9248e37156
add OFFENSE_TYPE and commitCrime to lua
2024-10-20 09:37:27 +00:00
psi29a
b4f5242b98
Merge branch 'lua-docs-minor-grammar-fixes' into 'master'
...
Minor grammar fixes for `ambient` `async` and `animation` packages
See merge request OpenMW/openmw!4359
2024-09-26 07:37:11 +00:00
jvoisin
090c65c017
Merge branch 'docs-fix-boolean' into 'master'
...
fix usage of #bool instead of #boolean in lua docs
See merge request OpenMW/openmw!4358
2024-09-06 12:15:59 +00:00
phenine
14868d4b56
openmw.ambient fix my own stupid mistake
2024-09-06 02:02:33 +08:00
phenine
c1165815df
openmw.async wording and grammar.
2024-09-06 01:07:29 +08:00
phenine
3df183460d
openmw.animation minor punctuation.
2024-09-06 01:01:38 +08:00
phenine
1ef8d0570b
openmw.ambient grammar, punctuation and wording tweaks
2024-09-06 00:45:08 +08:00
phenine
faf2147def
fix usage of #bool instead of #boolean in lua docs
2024-09-05 23:51:50 +08:00
Mehdi Yousfi-Monod
cb2a8c74dd
FEAT: Expose starter spells
2024-09-01 15:26:58 +02:00
Evil Eye
5711a395af
Merge branch 'bolt-is-not-a-static' into 'master'
...
[Lua] rename boltStatic to bolt in magic effect record bindings.
See merge request OpenMW/openmw!4342
2024-08-27 15:57:32 +00:00
Mads Buvik Sandvei
f7f282fc48
bolt is not a static
2024-08-26 13:28:29 +02:00
Mads Buvik Sandvei
e9b4efdc87
Some clarifications of the activeeffects docs
2024-08-25 13:49:52 +02:00
psi29a
527fa053c5
Merge branch 'actions_patchup' into 'master'
...
Lua Actions patchup
See merge request OpenMW/openmw!4311
2024-08-18 10:02:03 +00:00
uramer
2460b5f4ef
Merge branch 'swizzle_bop_boom_bazingle_v2' into 'master'
...
lua - add swizzling to vector types
See merge request OpenMW/openmw!4304
2024-08-16 13:22:22 +00:00
Mads Buvik Sandvei
9811eb7d32
docs typo
2024-08-12 21:29:46 +02:00
Mads Buvik Sandvei
09f6daf155
Rewrite addvfx and spawnvfx to take a model path instead of a static. Mode vfx from core to world. Add event handlers for AddVfx and SpawnVfx.
2024-08-10 14:56:35 +02:00
uramer
9a15d5095c
Clarify action/trigger usage in input module docs
2024-08-08 00:15:00 +02:00
Mads Buvik Sandvei
3df137166c
Update self.lua
2024-08-06 20:18:43 +00:00
Cody Glassman
a53d002262
lua - add swizzling to vector types
2024-08-05 06:53:59 -07:00
elsid
ec02e2ba1d
Revert "Merge branch 'swizzle_bop_boom_bazingle' into 'master'"
...
This reverts merge request !4288
2024-08-05 09:08:17 +00:00
Cody Glassman
9951fd8a1a
support 0/1 constant swizzles
2024-08-04 11:56:34 -07:00
Cody Glassman
19c0cebb27
lua - add swizzling to vector types
2024-08-04 11:56:34 -07:00
psi29a
30a844ae71
Merge branch 'how-do-you-ambulate' into 'master'
...
FEAT(types): Expose creature flags
See merge request OpenMW/openmw!4280
2024-07-29 08:07:36 +00:00
Dave Corley
42060be65c
FEAT: Add essential and respawning flags for both NPC and Creature types
2024-07-28 17:14:09 -05:00
Dave Corley
ef9d5270a1
FEAT(types): Expose creature flags
2024-07-28 17:14:05 -05:00
psi29a
fc2f30dc4a
Merge branch 'anim-api-cleanup' into 'master'
...
Anim api cleanup (close #8081 )
Closes #8081
See merge request OpenMW/openmw!4274
2024-07-28 09:17:05 +00:00
uramer
f15888f474
Lua docs: getRealFrameDuration not available in global
2024-07-24 09:28:51 +02:00
Dave Corley
277f7d17e8
CLEANUP(animation.lua): Camelcase everything
2024-07-23 14:39:56 -05:00
psi29a
5d3aa62e56
Merge branch 'fix_save_docs' into 'master'
...
Lua docs: correct save getters return types
See merge request OpenMW/openmw!4262
2024-07-22 22:16:01 +00:00
psi29a
376e8a6e1f
Merge branch 'bounding_box' into 'master'
...
lua - use loaded node when possible when calculating bounding box (#7580 )
Closes #7580
See merge request OpenMW/openmw!4073
2024-07-21 09:31:22 +00:00
uramer
e8d7c2a257
Correct save getters return types
2024-07-20 20:34:41 +02:00
MaxYari
1abe28e797
Lua door opening api
2024-07-15 07:09:44 +00:00
psi29a
6fee37b3c3
Merge branch 'activeactiveactive' into 'master'
...
Move index from ActiveEffect to ActiveSpellEffect
See merge request OpenMW/openmw!4212
2024-07-11 09:03:22 +00:00
psi29a
5be78f89b8
Merge branch 'master' into 'lalat-dalam-cawan'
...
# Conflicts:
# files/lua_api/openmw/types.lua
2024-07-09 07:49:29 +00:00
Kuyondo
4bacf0d55a
Its sound id not sound path
2024-07-07 21:03:43 +08:00
Evil Eye
ee653eb2b8
Make mwscript return nil for records that don't have a script
2024-07-07 13:58:34 +02:00
psi29a
061f10bef7
Merge branch 'enchantmentproptorecord' into 'master'
...
Return nil for absent values in record properties (enchant)
See merge request OpenMW/openmw!4228
2024-07-06 21:33:55 +00:00
Kindi
bf9f5dc2ef
dont return empty string for absent value
2024-07-06 00:40:06 +08:00
Kindi
045e6d8c4f
move enchant charge and soul to itemdata
2024-07-05 23:33:55 +08:00
psi29a
ef0bb02def
Merge branch 'master' into 'master'
...
An ability to specify attack type in controls.use value
See merge request OpenMW/openmw!4187
2024-07-05 08:12:17 +00:00
Cody Glassman
45cb3eb081
lua - use loaded node when possible when calculating bounding box
2024-07-03 13:29:01 -07:00