Evil Eye
74a6c81d53
Make ActorActiveEffects:getEffect return an empty value and strip expired effects from __pairs
2024-01-06 14:14:29 +01:00
Evil Eye
8e17aff6a6
Fix MagicSchoolData documentation
2024-01-05 22:17:46 +01:00
uramer
c1e8e88914
Fix input trigger docs
2024-01-02 13:47:04 +01:00
Alexei Kotov
7e162a0d7c
Merge branch 'lua_real_frame_time' into 'master'
...
Pass real frame duration to onFrame
See merge request OpenMW/openmw!3621
2023-12-31 01:21:41 +00:00
uramer
0e2e386dc9
Lua actions take 3
2023-12-29 18:56:59 +00:00
Cody Glassman
8f85c9194d
lua - add bindings to get frame duration
2023-12-26 09:15:55 -08:00
Alexei Kotov
98dfb68d4a
Merge branch 'ejaansalah' into 'master'
...
Fix the spelling of expel in lua api
See merge request OpenMW/openmw!3608
2023-12-03 20:28:01 +00:00
Zackhasacat
ae3f9f8dcf
Merge branch 'lua_ui_child_element' into 'master'
...
Lua Element as layout children
See merge request OpenMW/openmw!3582
2023-11-28 21:54:55 +00:00
uramer
4d250263d7
Missing return type of split
2023-11-25 17:01:26 +01:00
uramer
6db75a7b7e
Fix servicesOffered types
2023-11-25 15:22:57 +01:00
uramer
2be3824d9e
Clarify child element update behavior in the documentation
2023-11-24 20:41:54 +01:00
uramer
39df270ff2
Update UI Content docs
2023-11-24 20:36:45 +01:00
Zackhasacat
5623a5cf01
Merge branch 'lua_sgetcurrent_conditionofitem_itemdata_idea' into 'master'
...
Lua API to get/set item condition
See merge request OpenMW/openmw!3421
2023-11-23 23:10:39 +00:00
Zackhasacat
a38d17a918
Merge branch 'api_inconsistencies' into 'master'
...
Minor API inconsistencies
See merge request OpenMW/openmw!3601
2023-11-21 03:04:24 +00:00
uramer
c9eaeb47d5
Minor API inconsistencies
2023-11-21 03:04:24 +00:00
kuyondo
9ebbdc3a22
expell->expel
2023-11-20 15:59:11 +08:00
elsid
94b085af9e
Add Navigator and Lua API function to find nearest position on navmesh
2023-11-18 23:54:37 +01:00
Evil Eye
5a1a54b959
Merge branch 'lua_class_data' into 'master'
...
Add class records to lua
See merge request OpenMW/openmw!3515
2023-11-18 20:55:45 +00:00
Evil Eye
d5906dcf29
Merge branch 'lua_navmesh_doc' into 'master'
...
Define tables for navmesh related lua bindings as separate types
See merge request OpenMW/openmw!3599
2023-11-18 20:33:16 +00:00
Zackhasacat
13deb0fba8
Merge branch 'imod' into 'master'
...
Fill out item modification records and add them to the scene
See merge request OpenMW/openmw!3540
2023-11-17 18:22:17 +00:00
elsid
fbb39802a1
Define tables for navmesh related lua bindings as separate types
2023-11-17 13:50:19 +01:00
Zackhasacat
16f178b80e
Remove character
2023-11-16 07:43:45 -06:00
Zackhasacat
10030a55e0
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-11-16 07:37:03 -06:00
Zackhasacat
279e9affa8
Merge branch 'docs-mwscript-variables' into 'master'
...
Fix MWScript variables documentation type
See merge request OpenMW/openmw!3572
2023-11-08 16:28:52 +00:00
Zackhasacat
ae4eafdfd4
Move classes to types.NPC
2023-11-07 11:50:09 -06:00
uramer
afbfed78ad
Add ItemUsage to interfaces package type definition
2023-11-06 21:57:49 +00:00
uramer
75c5ce5f31
Fix MWScript variables documetnation type
2023-11-06 21:38:40 +00:00
jvoisin
e4c5c1bc43
Merge branch 'govna' into 'master'
...
Expose governing attributes to Lua
See merge request OpenMW/openmw!3556
2023-11-05 16:35:27 +00:00
jvoisin
44dc29e675
Merge branch 'forurm' into 'master'
...
Add types.Actor.isDead
See merge request OpenMW/openmw!3557
2023-11-05 16:35:09 +00:00
Zackhasacat
dd87d01f06
Fix minor doc error, throw error when attempting to assign a value to a non-existing global variable in lua
2023-11-03 16:31:23 +00:00
Evil Eye
2d90176fe9
Add types.Actor.isDead
2023-11-02 19:29:26 +01:00
Evil Eye
a88f0ecc95
Expose governing attributes to Lua
2023-11-02 17:43:09 +01:00
Zackhasacat
dbd7d34120
Add class Record
2023-11-01 13:27:37 -05:00
Zackhasacat
482d174ef2
Read only, add skill spec to docs
2023-11-01 13:21:14 -05:00
Zackhasacat
371eeddf85
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-10-31 22:23:45 -05:00
Alexei Kotov
03c3818229
Place ESM4::ItemMod into the scene
2023-10-31 00:54:44 +03:00
Alexei Kotov
3f4591eb3b
Add movable static and ESM4 land texture stores
2023-10-27 22:53:40 +03:00
psi29a
f724b05c57
Merge branch 'teleport_block' into 'master'
...
Lua: Add isTeleportingEnabled and setTeleportingEnabled to types.Player
See merge request OpenMW/openmw!3519
2023-10-27 17:37:04 +00:00
Zackhasacat
2f16a104dc
Revise record store, add specialization function
2023-10-25 21:38:42 -05:00
Zackhasacat
909be9cf35
Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data
2023-10-25 21:05:35 -05:00
Zackhasacat
f0640da21e
Add character to core
2023-10-25 21:05:14 -05:00
Kindi
1bff02e3b0
add docs
2023-10-26 03:32:15 +08:00
psi29a
2e587c3379
Merge branch 'lua_effect_expire' into 'master'
...
Add notes about lua active effects technicality
See merge request OpenMW/openmw!3516
2023-10-25 12:35:35 +00:00
Zackhasacat
f4d349070c
Add isTeleportingEnabled and setTeleportingEnabled
2023-10-24 13:51:12 -05:00
Petr Mikheev
f547cd5934
Merge branch 'lua_object_var' into 'master'
...
Add lua binding for gameObject globalVariable
See merge request OpenMW/openmw!3483
2023-10-24 13:55:51 +00:00
Zackhasacat
78e9a1753e
Add lua binding for gameObject globalVariable
2023-10-24 13:55:50 +00:00
Zackhasacat
db42a91867
Add global variable access to world.mwscript ( #7597 )
2023-10-24 09:23:25 +00:00
Zackhasacat
5dd1f0332f
Add notes about active effects
2023-10-23 23:44:54 -05:00
Zackhasacat
bd90ac2ed8
Add missing field in docs
2023-10-23 23:02:01 -05:00
Zackhasacat
254bf7c5d8
class -> classes
2023-10-23 22:23:30 -05:00
Zackhasacat
611f96ce65
Add class bindings
2023-10-23 22:19:16 -05:00
Evil Eye
2ebd544dfb
Fix #7624
2023-10-14 14:18:50 +02:00
Petr Mikheev
15306c7d49
[Lua] Add CONTROL_SWITCH functions to types.Player
and deprecate them in openmw.input
2023-10-10 01:15:09 +02:00
Petr Mikheev
54cc1f25a2
Mention in Lua documentation that default tag is an empty string
2023-10-04 10:36:54 +02:00
psi29a
3ea14e904d
Merge branch 'actors_range' into 'master'
...
Handle actors processing range in Lua
See merge request OpenMW/openmw!3458
2023-09-28 08:33:46 +00:00
psi29a
6c39e3f817
Merge branch 'draft' into 'master'
...
Treat teleportation out of the draft cell as object creation
Closes #7588 and #7453
See merge request OpenMW/openmw!3455
2023-09-28 08:33:10 +00:00
psi29a
bae8d585fe
Merge branch 'lua/capacity_encum_bindings' into 'master'
...
Add more lua bindings for encumbrance and capacity
See merge request OpenMW/openmw!3462
2023-09-28 08:32:38 +00:00
glassmancody.info
9aa992eede
add more lua bindings for encumbrance and capacity
2023-09-27 17:19:08 -07:00
Andrei Kortunov
40c8783790
Handle actors processing range in Lua
2023-09-27 15:14:32 +04:00
Zackhasacat
6bfa3f78bd
Fix AttributeRecord and SkillRecord documentation in OpenMW.core
2023-09-27 07:30:52 +00:00
Evil Eye
641f34a3c9
Treat teleportation out of the draft cell as object creation
2023-09-25 21:01:32 +02:00
Alexei Kotov
7e360df6c0
Place ESM4::Flora instances to the scene
2023-09-24 10:25:44 +03:00
Evil Eye
90ca8a2f4e
Remove ATTRIBUTE, SKILL, and SCHOOL enums
2023-09-21 19:34:13 +02:00
Evil Eye
6ed5cbb7d0
Remove numeric magic school ids and deprecate the enum
2023-09-20 19:51:29 +02:00
psi29a
1c8198242e
Merge branch 'toggleai' into 'master'
...
Add a way to toggle AI to Lua debug package
See merge request OpenMW/openmw!3429
2023-09-18 08:37:19 +00:00
psi29a
18b6eba709
Merge branch 'reloadlua' into 'master'
...
safe reloadlua on top of !3362
See merge request OpenMW/openmw!3412
2023-09-17 11:28:01 +00:00
Petr Mikheev
72b8ff82ff
!3362 with safe reloadlua
2023-09-15 19:10:33 +02:00
Andrei Kortunov
6769d10203
Fix documentation error
2023-09-15 19:23:13 +04:00
Andrei Kortunov
56ea3e3879
Add a way to toggle AI to Lua debug package
2023-09-15 18:49:46 +04:00
Andrei Kortunov
db72a91180
Add a way to check if sound system is enabled
2023-09-14 13:02:20 +04:00
Andrei Kortunov
655c4442bc
Implement isMusicPlaying
2023-09-13 17:48:49 +04:00
Andrei Kortunov
e25e867d77
Remove 'music' package
2023-09-13 09:11:07 +04:00
Andrei Kortunov
e1cae5a029
Rework music system
2023-09-13 09:11:07 +04:00
Andrei Kortunov
02dcf1fb31
Split setFactionRank to separate functions
2023-09-12 11:57:19 +04:00
Andrei Kortunov
6ee86dea82
Implement Lua API for factions (feature 7468)
2023-09-12 09:49:03 +04:00
Evil Eye
cd0e612cb7
Expose skill and attribute records to Lua and deprecate their enums
2023-09-07 21:30:08 +02:00
Zackhasacat
f287b2f436
Merge branch 'master' of gitlab.com:openmw/openmw into lua_record_services
2023-09-04 10:49:51 -05: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
Zackhasacat
ee5983f64a
Docs fixes
2023-09-02 15:21:03 -05:00
Zackhasacat
7d0e140889
Merge branch 'master' of gitlab.com:openmw/openmw into lua_record_services
2023-09-02 14:55:57 -05: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
65109b3822
Simplify VFS index iteration
2023-09-02 17:40:14 +04:00
Andrei Kortunov
c04a0ca3a5
Implement Lua API for VFS
2023-09-02 08:47:46 +04:00
Zackhasacat
9f80d68795
add servicesOffered to npc and creature records
2023-09-01 16:39:33 -05:00
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
2023-09-01 20:33:42 +00:00
Zackhasacat
7113db8b97
Clear selected enchanted item and/or spell with actor.clearSelectedCastable()
2023-09-01 20:33:42 +00:00
psi29a
3e99103beb
Merge branch 'rtd' into 'master'
...
Show OpenMW version and Lua API revision in documentation
Closes #6149
See merge request OpenMW/openmw!3382
2023-09-01 08:06:58 +00:00
Zackhasacat
86c28921ae
Add function to get current disposition, add baseDisposition to NPC record
2023-09-01 08:06:34 +00:00
Petr Mikheev
f260fa006e
Show OpenMW version and Lua API revision in documentation.
2023-08-31 20:56:02 +02:00
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
2023-08-31 08:02:50 +00:00
Petr Mikheev
ea8692a534
Add usehandlers.lua (same approach as activationhandlers.lua)
2023-08-30 22:48:51 +02:00
psi29a
58aeb81e46
Merge branch 'container_ptr' into 'master'
...
Add `obj.parentContainer` in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor.
See merge request OpenMW/openmw!3381
2023-08-30 10:19:16 +00:00
Zackhasacat
4b7bf62671
Fix weapon table, and docs
2023-08-29 16:37:32 -05:00
Zackhasacat
45f25e3f14
Add in initial support
2023-08-29 11:19:11 -05:00
psi29a
4a46d772a1
Merge branch 'fix_createRecord' into 'master'
...
Add two missing record types to world.createRecord docs
See merge request OpenMW/openmw!3386
2023-08-29 09:19:11 +00:00
psi29a
a0d3313d8d
Merge branch 'lua_restock' into 'master'
...
Add isRestocking to types.Item
See merge request OpenMW/openmw!3383
2023-08-29 07:07:06 +00:00
Zackhasacat
ecc89ed826
Add two missing record types
2023-08-28 21:20:12 -05:00
Zackhasacat
5fdaee093a
add isRestocking
2023-08-28 08:30:54 -05:00
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
2023-08-28 11:32:16 +00:00