Evil Eye
|
cd0e612cb7
|
Expose skill and attribute records to Lua and deprecate their enums
|
2023-09-07 21:30:08 +02: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
|
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 |
|
Petr Mikheev
|
32f3a16db3
|
Change FormId::toString to be consistent with RefId. Remove FormIdRefId.
|
2023-08-27 09:55:06 +02:00 |
|
psi29a
|
5b3e2fbf1c
|
Merge branch 'clickbait' into 'master'
Assign StringRefIds to attributes
See merge request OpenMW/openmw!3256
|
2023-08-21 18:59:44 +00:00 |
|
psi29a
|
86f15fa194
|
Merge branch 'ui' into 'master'
Control GUI from Lua
See merge request OpenMW/openmw!3236
|
2023-08-21 11:32:24 +00:00 |
|
Petr Mikheev
|
87eacf774a
|
Control GUI modes from Lua
|
2023-08-20 17:49:56 +02:00 |
|
Evil Eye
|
e660a9ca16
|
Assign StringRefIds to attributes
|
2023-08-20 10:28:46 +02:00 |
|
Petr Mikheev
|
5bbbeefee7
|
Fix #7540
|
2023-08-19 12:52:01 +02:00 |
|
Petr Mikheev
|
4211665ede
|
Merge branch 'sounds' into 'master'
Lua bindings for sound functions
See merge request OpenMW/openmw!3247
|
2023-08-18 09:15:24 +00:00 |
|
Andrei Kortunov
|
f053188247
|
Increase Lua API version
|
2023-08-18 11:18:35 +04:00 |
|
Andrei Kortunov
|
7ce9fc25c5
|
Implement Lua bindings for sound system
|
2023-08-15 10:28:29 +04:00 |
|
Petr Mikheev
|
87912065fd
|
Rename MWLua::WorldView -> MWLua::ObjectLists
|
2023-08-08 22:57:28 +02:00 |
|
Petr Mikheev
|
6c4e1f4e8f
|
Lua commands world.pause / world.unpause
|
2023-08-08 22:57:28 +02:00 |
|
Petr Mikheev
|
91c7585c8b
|
Move some time-related function from World and WorldView to DateTimeManager
|
2023-08-08 22:57:28 +02:00 |
|
Petr Mikheev
|
5d54ca6fdb
|
Refactor components/esm4
|
2023-08-05 13:12:24 +02:00 |
|
Petr Mikheev
|
c5871a5a7a
|
Allow to handle activation in Lua even for mwscripted objects
|
2023-07-22 16:57:39 +02:00 |
|
psi29a
|
03dbe1c9f3
|
Merge branch 'stringrefidskills' into 'master'
Assign StringRefIds to skills
See merge request OpenMW/openmw!3146
|
2023-07-20 07:15:49 +00:00 |
|
Evil Eye
|
f7be94aa21
|
Address feedback
|
2023-07-13 18:55:23 +02:00 |
|
Evil Eye
|
967b5d205b
|
Use StringRefId for skills
|
2023-07-13 18:55:22 +02:00 |
|
Petr Mikheev
|
95bce836ee
|
Add non-carriable lights to nearby.items
|
2023-07-12 22:26:06 +02:00 |
|
Petr Mikheev
|
d830ae37b1
|
Add special cell for objects created via Lua scripts and not yet added into the world
|
2023-07-04 17:15:14 +02:00 |
|
Petr Mikheev
|
866f67ed19
|
Change MWScript Lua bindings (#7142)
|
2023-06-30 22:26:17 +02:00 |
|
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
|
2023-06-20 09:59:06 +00:00 |
|
Petr Mikheev
|
9d15629ae2
|
[Lua] Add nearby.players and world.players
|
2023-06-17 19:56:25 +02:00 |
|
Petr Mikheev
|
256db78c6c
|
[Lua] core.getGMST returns nil if there is no such game setting
|
2023-06-12 17:59:40 +02:00 |
|
Petr Mikheev
|
3b43cc2aea
|
Lua: change obj.rotation from Euler angles to Quaternion
|
2023-06-12 00:16:42 +02:00 |
|
Petr Mikheev
|
3b5849add8
|
Move content files functions to core.contentFiles and add obj.contentFile
|
2023-06-07 20:57:48 +02:00 |
|
Petr Mikheev
|
a778dff61d
|
Add Lua functions to get the current load order and search objects by RefNum/FormId
|
2023-06-07 20:57:48 +02:00 |
|
Zackhasacat
|
ef004e5eba
|
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua
|
2023-05-25 08:00:12 +00:00 |
|
Petr Mikheev
|
ce7f6f31c9
|
Additional Lua bindings for cells
|
2023-05-13 20:59:55 +02:00 |
|
florent.teppe
|
a3bd6e7e47
|
ESM::ExteriorCellIndex => ESM::ExteriorCellLocation
|
2023-05-12 22:05:55 +02:00 |
|
florent.teppe
|
141878f30d
|
int x, int y , ESM::RefId worldspace => ESM::ExteriorCellIndex
also removed the changeToExteriorCell that only took a position as input, didn't work with esm4.
|
2023-05-12 22:05:53 +02:00 |
|
florent.teppe
|
a62e75fd19
|
Initial attempt at loading esm4 exteriors
|
2023-05-12 22:05:52 +02:00 |
|
Petr Mikheev
|
067df2d07e
|
Rename some functions in Lua API from aaa to getAaa (for consistency with setAaa )
|
2023-05-08 00:49:06 +02:00 |
|
Petr Mikheev
|
4562b8c06b
|
Add headers for all .cpp files in mwlua; move packages initilaization from LuaManager to luabindings.cpp
|
2023-04-25 23:24:51 +02:00 |
|
Petr Mikheev
|
f1beaa7b8c
|
Put ESMStore to Environment
|
2023-04-20 21:45:49 +02:00 |
|
Petr Mikheev
|
227a993b94
|
Remove createRecord functions from World because the only forward the argument to ESMStore that can be used directly.
|
2023-04-20 21:45:49 +02:00 |
|
Petr Mikheev
|
90397662bc
|
Lua bindings for magic. Based on the work made by @bharbich in !2765.
|
2023-04-20 18:48:34 +02:00 |
|
florent.teppe
|
53cc9f3614
|
functions return reference instead of ptr
because the function can never return an nullptr, we return a reference.
|
2023-04-20 15:55:40 +02:00 |
|
Petr Mikheev
|
61d207bd78
|
Allow Lua scripts to extend or override standard activation mechanics
|
2023-04-16 23:50:27 +02:00 |
|
Mitten Orvan
|
4744b1eeda
|
Make API for creating potions
|
2023-03-29 07:46:11 +00:00 |
|
Petr Mikheev
|
a72dc6c7a1
|
(Lua) Add onActivate handler in global scripts
|
2023-03-27 01:36:45 +02:00 |
|
Petr Mikheev
|
7ef759c78b
|
Refactor mwlua/eventqueue and extract some code out of LuaManager
|
2023-03-26 03:38:40 +02:00 |
|
Petr Mikheev
|
c294898246
|
Lua commands to create/move/remove objects; consistent handling of disabled objects (#6726, #6893)
|
2023-01-22 00:08:21 +01:00 |
|
florent.teppe
|
3780033837
|
Reverts Cell name to a string
|
2023-01-21 18:39:42 +01:00 |
|
Petr Mikheev
|
8c7cad024b
|
Access local mwscript variables in Lua scripts
|
2023-01-07 22:10:10 +01:00 |
|