Zackhasacat
7d0e140889
Merge branch 'master' of gitlab.com:openmw/openmw into lua_record_services
1 year ago
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
1 year ago
Andrei Kortunov
65109b3822
Simplify VFS index iteration
1 year ago
Andrei Kortunov
c04a0ca3a5
Implement Lua API for VFS
1 year ago
Zackhasacat
9f80d68795
add servicesOffered to npc and creature records
1 year ago
psi29a
a1828eec29
Merge branch 'lua_spell_fix' into 'master'
...
Clear selected enchanted item and/or spell with actor.clearSelectedCastable()
See merge request OpenMW/openmw!3315
1 year ago
Zackhasacat
7113db8b97
Clear selected enchanted item and/or spell with actor.clearSelectedCastable()
1 year ago
psi29a
3e99103beb
Merge branch 'rtd' into 'master'
...
Show OpenMW version and Lua API revision in documentation
Closes #6149
See merge request OpenMW/openmw!3382
1 year ago
Zackhasacat
86c28921ae
Add function to get current disposition, add baseDisposition to NPC record
1 year ago
Petr Mikheev
f260fa006e
Show OpenMW version and Lua API revision in documentation.
1 year ago
psi29a
5ba13f7aae
Merge branch 'lua_template_new' into 'master'
...
Support 'template' field in createRecordDraft, to use an existing record as a base in lua
See merge request OpenMW/openmw!3387
1 year ago
Petr Mikheev
ea8692a534
Add usehandlers.lua (same approach as activationhandlers.lua)
1 year ago
psi29a
58aeb81e46
Merge branch 'container_ptr' into 'master'
...
Add `obj.parentContainer` in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor.
See merge request OpenMW/openmw!3381
1 year ago
Zackhasacat
4b7bf62671
Fix weapon table, and docs
1 year ago
Zackhasacat
45f25e3f14
Add in initial support
1 year ago
psi29a
4a46d772a1
Merge branch 'fix_createRecord' into 'master'
...
Add two missing record types to world.createRecord docs
See merge request OpenMW/openmw!3386
1 year ago
psi29a
a0d3313d8d
Merge branch 'lua_restock' into 'master'
...
Add isRestocking to types.Item
See merge request OpenMW/openmw!3383
1 year ago
Zackhasacat
ecc89ed826
Add two missing record types
1 year ago
Zackhasacat
5fdaee093a
add isRestocking
1 year ago
psi29a
65a15ff0b1
Merge branch 'container_inventory' into 'master'
...
[Lua] Add alias `types.Container.inventory` = `types.Container.content` for consistency with `types.Actor.inventory`
See merge request OpenMW/openmw!3314
1 year ago
Zackhasacat
84987450ee
Add baseCount
1 year ago
Petr Mikheev
55a9ab4f52
Add `obj.parentContainer` in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor.
1 year ago
Kindi
532230254b
add documentation
1 year ago
Zackhasacat
b571d8d050
Remove player quest name example
1 year ago
Zackhasacat
425076b8dd
Fix types.LevelledCreature in docs
1 year ago
psi29a
516108691d
Merge branch 'record_gold' into 'master'
...
Add baseGold to NPC and creature lua records
See merge request OpenMW/openmw!3369
1 year ago
Zackhasacat
1320261eba
Add baseGold to NPC and creature records
1 year ago
Petr Mikheev
f1bcf64afb
Dehardcode input.ACTION.Inventory, input.ACTION.Journal, input.ACTION.QuickKeysMenu
1 year ago
Petr Mikheev
87eacf774a
Control GUI modes from Lua
1 year ago
Zackhasacat
86e7863d9a
Fix the docs
1 year ago
Petr Mikheev
4211665ede
Merge branch 'sounds' into 'master'
...
Lua bindings for sound functions
See merge request OpenMW/openmw!3247
1 year ago
psi29a
861b9b215c
Merge branch 'moveinto' into 'master'
...
[Lua] Accept GameObject as destination in obj:moveInto.
See merge request OpenMW/openmw!3318
1 year ago
psi29a
e21e3a0d46
Merge branch 'time' into 'master'
...
Pause/resume the game in Lua scripts
See merge request OpenMW/openmw!3317
1 year ago
Andrei Kortunov
d9c91ff3d9
Add bindings for ESM::Sound records
1 year ago
Andrei Kortunov
7ce9fc25c5
Implement Lua bindings for sound system
1 year ago
Zackhasacat
3e8a1cce7c
Load ESM4 Terminal objects, add lua bindings for them
1 year ago
uramer
16ba35d63b
Don't refer to local type by absolute path in docs
1 year ago
Zackhasacat
8f303f46dc
Lua Documentation clarification/fixes
1 year ago
Petr Mikheev
6c4e1f4e8f
Lua commands world.pause / world.unpause
1 year ago
Petr Mikheev
1a53e9db5d
[Lua] Accept GameObject as destination in obj:moveInto.
1 year ago
Petr Mikheev
ac9facabf5
[Lua] Add alias types.Container.inventory = types.Container.content
1 year ago
Petr Mikheev
abde92e207
Merge branch 'active-spells-rework' into 'master'
...
Lua: active spell params and active spell effects
See merge request OpenMW/openmw!3179
1 year ago
Mads Buvik Sandvei
c18a7801ed
Lua: active spell params and active spell effects
1 year ago
Mads Buvik Sandvei
edb7081ea6
Lua: String overload for effects store index.
1 year ago
elsid
e00eb50587
Remove stepping from findSmoothPath
...
This is not used anyway. There are features like smooth movement which remove
all redundant points.
Use single findStraightPath call instead of multiple.
1 year ago
elsid
9817f4ca9a
Find closest position on navmesh to start and end before poly path
...
Start and end might not be located on navmesh and findPath may give wrong
results.
1 year ago
elsid
a5ba721eca
Fix typo
1 year ago
Petr Mikheev
95bce836ee
Add non-carriable lights to nearby.items
2 years ago
psi29a
429e911da1
Merge branch 'lua_journal' into 'master'
...
Add Lua bindings for journal (second iteration of !3133 )
See merge request OpenMW/openmw!3189
2 years ago
uramer
bf7b39f214
Fix typos in Lua documentation
2 years ago
Petr Mikheev
a09fb8d8f8
Rework Lua bindings for journal
2 years ago
Tobias Tribble
c792582376
Add Lua bindings for journal
2 years ago
psi29a
b1e00b59f2
Merge branch 'lua_mwscript' into 'master'
...
Change MWScript Lua bindings (#7142 )
See merge request OpenMW/openmw!2881
2 years ago
Petr Mikheev
866f67ed19
Change MWScript Lua bindings ( #7142 )
2 years ago
Petr Mikheev
fa4cce7132
[Lua] Fix usage example of util.transform in documentation
2 years ago
psi29a
e5e0787337
Merge branch 'fix_effect_spell' into 'master'
...
Lua: Fix documentation for type.ActiveEffect
See merge request OpenMW/openmw!3178
2 years ago
Mads Buvik Sandvei
41d499f9f8
Inert -> Innate
2 years ago
Tobias Tribble
b535e41164
Fix actorActiveSpells pairs, docs
2 years ago
psi29a
abdd4f5207
Merge branch 'lua_potion_magic' into 'master'
...
Lua: Add effects to potionRecord, ingredientRecord
See merge request OpenMW/openmw!3160
2 years ago
Zackhasacat
611a6429a9
Lua: Add effects to potionRecord, ingredientRecord
2 years ago
psi29a
68415a952e
Merge branch 'lua_quat' into 'master'
...
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion
See merge request OpenMW/openmw!3123
2 years ago
Petr Mikheev
57e028fcc9
Merge branch 'container_resolve_lua' into 'master'
...
Lua: Add functions to resolve inventories
See merge request OpenMW/openmw!3157
2 years ago
Zackhasacat
f4980c178d
Lua: Add functions to resolve inventories
2 years ago
psi29a
bbfd906f08
Merge branch 'lua_effect_icon' into 'master'
...
Add icon path to core.MagicEffect
See merge request OpenMW/openmw!3154
2 years ago
Zackhasacat
835a67d876
Add icon path to core.MagicEffect
2 years ago
Mads Buvik Sandvei
5c32b32c58
Lua: ESM::Enchantment bindings
2 years ago
Petr Mikheev
9d15629ae2
[Lua] Add `nearby.players` and `world.players`
2 years ago
Mads Buvik Sandvei
698316fd2e
Lua bindings for modifying active effects/spells
2 years ago
psi29a
44c3c40058
Merge branch 'lua-world-to-viewport' into 'master'
...
[Lua] Add world to viewport function to camera
See merge request OpenMW/openmw!3139
2 years ago
Zackhasacat
3e52971a13
Add duration to core.MagicEffectWithParams
2 years ago
glassmancody.info
c27904aa92
lua - add world to viewport function to camera
2 years ago
psi29a
825d862f52
Merge branch 'lua_lock_trap' into 'master'
...
Allow Lua to access lock and trap data for doors and containers
See merge request OpenMW/openmw!2985
2 years ago
Zackhasacat
c108989b26
Allow Lua to access lock and trap data for doors and containers
2 years ago
Kindi
43e92fa1c9
Add type prop for types.Creature
2 years ago
Petr Mikheev
3b43cc2aea
Lua: change obj.rotation from Euler angles to Quaternion
2 years ago
Evil Eye
9772845f7b
Address feedback
2 years ago
Evil Eye
66d9d7e585
Expose levelled creatures to Lua
2 years ago
psi29a
724d29aa63
Merge branch 'add_getBounty_to_types_Player' into 'master'
...
Lua: Add getCrimeLevel() to types.Player
See merge request OpenMW/openmw!3118
2 years ago
psi29a
3fcf9dc1d2
Merge branch 'set_scale' into 'master'
...
Allow Lua to set and get GameObject's in game scale
See merge request OpenMW/openmw!3114
2 years ago
psi29a
ca57bbe644
Merge branch 'debug_tgm_tcl' into 'master'
...
Lua commands debug.toggleGodMode and debug.toggleCollision
See merge request OpenMW/openmw!3113
2 years ago
Kindi
8962cb818c
Add getCrimeLevel() to types.Player
2 years ago
Tobias Tribble
41a2c82f93
Added scale property and setScale function
2 years ago
Petr Mikheev
e773b9d055
Lua commands debug.toggleGodMode and debug.toggleCollision
2 years ago
Petr Mikheev
e84ef1d5d9
More Lua documentation about FormId
2 years ago
Petr Mikheev
3b5849add8
Move content files functions to `core.contentFiles` and add `obj.contentFile`
2 years ago
Petr Mikheev
a778dff61d
Add Lua functions to get the current load order and search objects by RefNum/FormId
2 years ago
Kindi
dfafac72e9
add startingPosition and startingRotation lua property to gameobject
2 years ago
Mads Buvik Sandvei
85a30c9ad0
Fix signature of MWMechanics::MagicEffects::get. Fix a mistake in the docs.
2 years ago
Petr Mikheev
4ed283bb15
Merge branch 'create_record_types' into 'master'
...
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua
See merge request OpenMW/openmw!2944
2 years ago
Zackhasacat
ef004e5eba
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua
2 years ago
Mads Buvik Sandvei
b5aefc872b
Document the optional attribute/skill parameter of getEffect.
2 years ago
Mads Buvik Sandvei
5f6bd5466f
#number -> #string in documentation
2 years ago
Mads Buvik Sandvei
8ac7b04770
ActiveEffects / ActiveSpells documentation
2 years ago
Mads Buvik Sandvei
c03c3c40d5
documentation of MagicEffectId enum
2 years ago
psi29a
1ce35fa9e7
Merge branch 'lua-bounding-box' into 'master'
...
Expose game object's bounding box in lua api
See merge request OpenMW/openmw!3009
2 years ago
glassmancody.info
a7b7f99d72
Expose game object's bounding box in lua api
2 years ago
psi29a
5fba79ece3
Merge branch 'teleport' into 'master'
...
Additional Lua bindings for cells and fixes for teleporting
See merge request OpenMW/openmw!3017
2 years ago
Petr Mikheev
e657874351
Lua commands getSelectedSpell/setSelectedSpell
2 years ago
Petr Mikheev
ce7f6f31c9
Additional Lua bindings for cells
2 years ago
Petr Mikheev
2725a9d7f4
Add option "onGround=true/false" in Lua teleporting
2 years ago
Petr Mikheev
067df2d07e
Rename some functions in Lua API from `aaa` to `getAaa` (for consistency with `setAaa`)
2 years ago
Tobias Tribble
15d940654d
Fixed field error in documentation
2 years ago
Tobias Tribble
b52ab04c43
Added soulValue to creatureRecord, added documentation
2 years ago
Zackhasacat
f6fb05d1ca
Add functionality for lua to view and modify ownership data for GameObjects
2 years ago
Petr Mikheev
90397662bc
Lua bindings for magic. Based on the work made by @bharbich in !2765 .
2 years ago
psi29a
2a6e301925
Merge branch 'activation' into 'master'
...
Allow Lua scripts to extend or override standard activation mechanics
See merge request OpenMW/openmw!2935
2 years ago
psi29a
cace3e6566
Merge branch 'fix_teleporting' into 'master'
...
Fix bugs related to Lua commands `obj:teleport` and `obj:moveInto`
See merge request OpenMW/openmw!2937
2 years ago
Petr Mikheev
00beb06391
Initial Lua bindings for ESM4 types; bindings for ESM4Door.
2 years ago
Petr Mikheev
60a8d08e66
Refactor teleporting in Lua; fix a bug in worldmodel.cpp
2 years ago
Petr Mikheev
61d207bd78
Allow Lua scripts to extend or override standard activation mechanics
2 years ago
Zackhasacat
224b7a0bf8
Allow Soul values on Misc Items to be set by Lua
2 years ago
psi29a
d6d7746c9b
Merge branch 'records' into 'master'
...
[Lua] Fix implementation of types.*.records
See merge request OpenMW/openmw!2918
2 years ago
Petr Mikheev
55c9cde2ed
[Lua] Add missing `record.id` for NPC and Creature records.
2 years ago
Petr Mikheev
9279c3d3e1
[Lua] Fix implementation of types.*.records
2 years ago
Mitten.O
d1fd6d77ca
Document the records function for all record types
2 years ago
Mitten.O
11953a421b
Document the records function
2 years ago
Mitten Orvan
4744b1eeda
Make API for creating potions
2 years ago
Krzysztof Antoniak
ccdd381f96
Minor fixes to Lua documentation
2 years ago
uramer
9e22a5ac43
Add a note in the docs
2 years ago
Kindi
1d35a83452
Update types.lua
2 years ago
Kindi
4734504e2c
Lua binding for Clothing
2 years ago
Bret Curtis
a708fb4a5c
make sure lua works with macos packages
2 years ago
psi29a
68b3b90255
Merge branch 'ui_content_leak' into 'master'
...
Move implementation of UI Content to Lua (#7155 )
See merge request OpenMW/openmw!2661
2 years ago
uramer
539ee77888
Note Layout names colliding with Content methods
2 years ago
uramer
c17eedd348
Documentation and API fixes (part of !2529 )
2 years ago
Petr Mikheev
c294898246
Lua commands to create/move/remove objects; consistent handling of disabled objects ( #6726 , #6893 )
2 years ago
Kindi
07da7eddea
Add remap and round to lua utils
2 years ago
psi29a
0028127b42
Merge branch 'lua_mwscript' into 'master'
...
Access local mwscript variables in Lua scripts
See merge request OpenMW/openmw!2589
2 years ago
psi29a
2754d63e45
Merge branch 'cleanup_actions' into 'master'
...
Cleanup unused actions
See merge request OpenMW/openmw!2591
2 years ago
Petr Mikheev
7a0b998d4f
Cleanup unused actions
2 years ago
psi29a
b6d0d09c5a
Merge branch 'cell_hastag' into 'master'
...
[Lua] New function `cell.hasTag`
See merge request OpenMW/openmw!2567
2 years ago
Petr Mikheev
8c7cad024b
Access local mwscript variables in Lua scripts
2 years ago
Petr Mikheev
7f117a28c8
Merge branch 'updateluacoredoc' into 'master'
...
update lua doc : recordid desc
See merge request OpenMW/openmw!2576
2 years ago
psi29a
1e62b84f9a
Merge branch 'lua_initdata' into 'master'
...
Allow passing `initData` to the :addSript call (#7091 )
Closes #7091
See merge request OpenMW/openmw!2568
2 years ago
Rasinin
02f0af42d9
updateluacoredoc: recordid desc
2 years ago
Petr Mikheev
f0a06258fb
[Lua] New function `cell:hasTag`
2 years ago
Petr Mikheev
1a2d6514ba
Fix incorrect description is Lua docs
2 years ago
Petr Mikheev
b248c3e173
Allow passing `initData` to the :addSript call ( #7091 )
2 years ago
Petr Mikheev
1869aeae5c
Move some of player controls logic from C++ to Lua
2 years ago
mpeco
e10b7e5c82
types.lua baseArmor comment
2 years ago
mpeco
fd2d9d7d1a
types.lua typo
2 years ago
mpeco
af3af6e091
update types.lua
2 years ago
AnyOldName3
84f8a6848a
Renormalise line endings
...
This should replace accidental CRLF with LF
2 years ago
elsid
ab1ddc690e
Do not check getPolyHeight status
...
It may fail in some cases depending on a platform without obvious reason.
2 years ago
florent.teppe
15751c57a0
Lua debug api doc
2 years ago
psi29a
454684bad3
Merge branch 'custom_actor_collision_shape_type' into 'master'
...
Support cylinder and rotating box collision shape types for actors (#6138 )
Closes #6138
See merge request OpenMW/openmw!2043
2 years ago
Christian Haro
86bb3195a0
Lua Bindings for Ingredient Records
2 years ago
elsid
8b8e4f78b6
Support cylinder and rotating box collision shape types for actors
...
Cylinder collision shape should give the best consistency between physics
simulation and pathfinding. Rotating box is already used by some actors, so
add it to have the same collision shape type for all actors.
2 years ago
elsid
27cc901e76
Add bindings for navigator utils functions
2 years ago
Cody Glassman
051832d7ae
[Lua] Set simulation time scale
3 years ago
Petr Mikheev
377c00261a
[Lua] Ability to distinguish normal interiors and quasi exteriors (like Mournhold).
3 years ago
Kindi
aa2e724342
Lua API for Repair records
3 years ago
Petr Mikheev
0745ed590b
Fix incorrect package name in lua docs
3 years ago
beelzebielsk
fb5eb542ff
Lua api for potion records
3 years ago
psi29a
a875ac86c0
Merge branch 'change-inventory-usage-docs' into 'master'
...
Make inventory example runnable in a script
See merge request OpenMW/openmw!1957
3 years ago
beelzebielsk
ad3b83432c
Fix docs typos
3 years ago
adam
e4b2f730c7
Make inventory example runnable in a script
3 years ago
Kindi
638ad15af8
Lua API for Miscellaneous records
3 years ago
Kindi
3d0adf259b
Lua API for Apparatus records
3 years ago
adam
e2528a1562
Add docs and automagical declaration
3 years ago
Kindi
1b37d5d2ad
Lua API for Lockpick and Probe records
3 years ago
cody glassman
6093cb5f2c
postprocessing lua api extensions
3 years ago
Petr Mikheev
6a0a2eed33
[Lua] core.getRealTime()
3 years ago
kuyondo
7dbccc914a
no skill returns nil
3 years ago
kuyondo
8a1a838ffa
update book.cpp and weapon.cpp
3 years ago
kuyondo
cad68a5566
Add lua binding for books
3 years ago
kuyondo
93aae5e116
Add lua binding for activators
3 years ago
Adam Ibrahim
96f4057f08
Update files/lua_api/openmw/types.lua, files/lua_api/openmw/ui.lua
3 years ago
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.
3 years ago
psi29a
f092d8da9a
Merge branch 'post_malone' into 'master'
...
Post Processing
See merge request OpenMW/openmw!1124
3 years ago
Petr Mikheev
7ccbf95503
[Lua] makeStrictReadOnly for enums
3 years ago
cody glassman
04843fed6d
moddable post-processing pipeline
3 years ago
Petr Mikheev
0643685ea5
[Lua] Rename onInputUpdate -> onFrame and call it even when the game is on pause ( #6745 )
3 years ago
uramer
95ad67eb8b
Add extraRoll to the Lua camera package
3 years ago
uramer
e92c88a133
Make the documentation clearer, match the documentation when no buttons are pressed for an event
3 years ago
Cody Glassman
882245b935
Lua Bindings: Add view distance bindings to camera
3 years ago
uramer
9c5887aab6
Add NPC and Creature record bindings
3 years ago
uramer
03659bef86
MWUI interface (resolve https://gitlab.com/OpenMW/openmw/-/issues/6594 )
3 years ago
Petr Mikheev
eae1e87081
[Lua] Update openmw.storage
3 years ago
Petr Mikheev
88d09c336c
Lua console
3 years ago
Petr Mikheev
1363292fc9
Merge branch 'l10n_docs' into 'master'
...
L10n docs
See merge request OpenMW/openmw!1785
3 years ago
Benjamin Winger
2f455aa87b
Added fallback details to l10n docs
3 years ago
Benjamin Winger
dac4415699
Moved localisation docs to dedicated page
3 years ago
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.
3 years ago
Petr Mikheev
45c9635e94
Fix getmetatable, fix pairsForReadonly, add util.loadCode, _G
3 years ago
Petr Mikheev
51845e9553
Rendering raycasts in Lua
3 years ago
Benjamin Winger
21ffbcc4b4
Lua i18n updates
3 years ago
Petr Mikheev
3af8ea5dfc
Update Lua bindings for the camera
3 years ago
Petr Mikheev
7186ea8ab4
[Lua] New overload `Actor.equipment(actor, slot)`.
3 years ago
Petr Mikheev
eca64b48e8
Bitwise operations in Lua
3 years ago
Petr Mikheev
fbc84465c5
Merge branch 'futureproof_layers' into 'master'
...
Add layer size, make layers API more flexible
See merge request OpenMW/openmw!1724
3 years ago
Evil Eye
93d195646c
Lua stats
3 years ago
uramer
5d1fe6c2bc
Add layer size, make layers API more flexible
3 years ago
jvoisin
eb46bde75e
Merge branch 'lua_records' into 'master'
...
Lua bindings for ESM::Door and ESM::Weapon records
See merge request OpenMW/openmw!1717
3 years ago
Petr Mikheev
1b1e81b90e
Lua bindings for ESM::Door and ESM::Weapon records
3 years ago
Petr Mikheev
d185cb6dce
Add Lua function `ui.screenSize()`
3 years ago
Petr Mikheev
fa115418eb
[Lua] Remove queries
3 years ago
Petr Mikheev
9af49cfa68
[Lua] Update documentation
3 years ago
uramer
e7474490a1
Document using ui.texture to create atlases
3 years ago
uramer
94cc090f73
PR feedack for documentation
3 years ago
uramer
e092ee2624
Document the Lua Image widget, add UI texture resources
3 years ago
uramer
4a0b784699
Use reasonable Luadoc comment headers
3 years ago
Petr Mikheev
ff7ac7192b
Merge branch 'ui_pairs' into 'master'
...
Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way.
See merge request OpenMW/openmw!1643
3 years ago
uramer
a1abc84f59
Implement pairs and ipairs for ui.content and ui.layers. Document all iterable types in a uniform way.
3 years ago
uramer
cc6dce5443
Support controller touchpads (Resolves https://gitlab.com/OpenMW/openmw/-/issues/6639 )
3 years ago
uramer
ede9d27437
Element-wise multiplication and division of Lua vectors
3 years ago
uramer
643c1d6aeb
Merge branch 'lua_ai' into 'master'
...
Control AI packages from Lua
See merge request OpenMW/openmw!1604
3 years ago
Evil Eye
7a7a95407a
Merge branch 'lua_pairs' into 'master'
...
Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`.
See merge request OpenMW/openmw!1628
3 years ago
Petr Mikheev
a294adcdaf
Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`.
3 years ago
uramer
581c3f4882
Update and document Lua Text and TextEdit widget types, fix some issues with Lua UI
3 years ago
Petr Mikheev
6c56436809
Control AI packages from Lua
3 years ago
Petr Mikheev
6e4f628866
Replace `inventory:get<Type>()` with `inventory:getAll(<Type>)`
3 years ago
psi29a
cf8d49bb9a
Merge branch 'lua_settings_ui' into 'master'
...
Lua settings UI
Closes #6454
See merge request OpenMW/openmw!1595
3 years ago
uramer
2945f6238e
Fix util.color docs
3 years ago
uramer
946b8b804c
MR feedback
3 years ago
Petr Mikheev
47c37e5849
Lua command `object:activateBy(actor)` and handler `onActivate`
3 years ago
uramer
2185fd29c5
Document ui.registerSettingsPage
3 years ago
uramer
c31dedb89c
Implement Yaw, Pitch and Use (attack / cast spell) in Lua self.controls
3 years ago
uramer
d1d8f058ac
Lua bindings for Colours
3 years ago
Petr Mikheev
a182fdeea1
Permanent storage for Lua data
3 years ago
Petr Mikheev
2d1b100239
Change terminology of gameSecond/gameHour to simulationTime/gameTime
3 years ago
Petr Mikheev
0f246e7365
Use a separate instance of Lua i18n for every context
3 years ago
Petr Mikheev
db72380ba9
Allow Lua scripts to handle input actions when UI is opened. Also fixes #6456 .
3 years ago
Petr Mikheev
7549496162
A few small fixes + expose makeReadOnly to Lua + an option to apply makeReadOnly during deserialize
3 years ago
uramer
c865114b9b
Lua UI Layers
3 years ago
Petr Mikheev
620748480b
Merge branch 'lua_missing_key_codes' into 'master'
...
Lua binding for SDL_GetKeyName, two missing scan codes
See merge request OpenMW/openmw!1450
(cherry picked from commit d86e7d4c9a28bc96af0a5638b26879fa49b8a847)
9a073baa Add Apostrophe and Period scan codes
d66f3a35 Add getKeyName to Lua input API
ed64add9 Replace mentions of KeyEvent with KEY
3 years ago
Petr Mikheev
73821ace94
Update Lua docs
3 years ago
Petr Mikheev
d5ca091d6e
Make util.rotateX, util.rotateY, rotate.Z consistent with morrowind rotation
3 years ago
uramer
68963538ae
Lua UI API
3 years ago
Petr Mikheev
d285427485
Update Lua package openmw.input
3 years ago
Petr Mikheev
dd96eba2b0
Update OpenMW Lua docs
3 years ago
Petr Mikheev
48538d5cef
3D transforms in Lua
3 years ago
Petr Mikheev
fb3917fc1a
Lua callbacks
3 years ago
Petr Mikheev
0bd1c22e24
Raycasting in Lua
3 years ago
Petr Mikheev
3771e523f1
More object bindings
3 years ago
Petr Mikheev
0e6fbbc126
Lua package 'openmw.input'
3 years ago
Petr Mikheev
a94072243b
Lua command `core.quit`
3 years ago
Petr Mikheev
0f7f5ce140
Remove Lua command "self:setDirectControl"
3 years ago
Petr Mikheev
2938aaf05c
Rename `API_VERSION` -> `API_REVISION` in Lua API.
3 years ago
Petr Mikheev
3e4c0b775d
Add Lua package 'openmw.settings'
3 years ago
Petr Mikheev
25cc884c17
Integrate Lua doc into sphinx doc (issue #5931 )
4 years ago
Petr Mikheev
4eb5841c60
Update OpenMW Lua documentation
4 years ago