1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-09-13 23:44:08 +00:00
Commit graph

524 commits

Author SHA1 Message Date
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
Dave Corley
8130410200 FIX(animation.lua): Use lowercase instead of camelcase as the function
expects lower
2024-06-29 22:14:19 -05:00
psi29a
4da35c7e7f Merge branch 'free_range_containers' into 'master'
FEAT: Add organic/respawning flags to containers (Close #8038)

Closes #8038

See merge request OpenMW/openmw!4205
2024-06-29 09:21:12 +00:00
Evil Eye
8a022651f7 Move index from ActiveEffect to ActiveSpellEffect 2024-06-28 17:23:51 +02:00
Dave Corley
77fa41b8c6 CLEANUP(container): Make organic/respawning field names more consistent 2024-06-28 09:26:35 -05:00
Dave Corley
fccf75377d FEAT: Add organic/respawning flags to containers 2024-06-28 09:21:44 -05:00
Evil Eye
91bcd0a556 Add a showInDialogue parameter to ui.showMessage and use it for level up messages 2024-06-27 17:16:49 +02:00
Max Yari
13918e3b70 AttackType -> ATTACK_TYPE 2024-06-24 01:15:43 +02:00
Max Yari
88e4ec198d Changed value type in the docs 2024-06-22 00:15:19 +02:00
Max Yari
b01b76b81e Introduced attacktype enum, fixed lua docs 2024-06-21 23:18:48 +02:00
Max Yari
2ef0568dda Changed lua enum name, tweaked docs 2024-06-21 23:18:48 +02:00
Max Yari
70c822d036 Updated lua docs description 2024-06-21 23:18:48 +02:00
psi29a
3a686dd8af Merge branch 'lua_travel_dest_2' into 'master'
Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered

See merge request OpenMW/openmw!3592
2024-06-19 21:38:27 +00:00
Zackhasacat
533ce499e0 Expose cell ID, Add actor travel destinations to types.Actor.record.servicesOffered 2024-06-19 21:38:27 +00:00
Kindi
ecb07c9bc7 add mwscript.isRunning 2024-06-17 08:05:52 +08:00
Kindi
cdc77a1d2c add missing objectisinstance to lockable 2024-06-14 12:19:25 +08:00
Sebastian Fieber
ed26708e4d more dry + restrict mutation of disposition to global and on self 2024-06-05 18:09:54 +02:00
Sebastian Fieber
da4531faa0 rename modBaseDisposition to modifyBaseDisposition 2024-05-31 19:39:02 +02:00
Sebastian Fieber
f683adeb14 Add [get,set,mod]BaseDisposition functions to npc type 2024-05-30 00:08:11 +02:00
Andrei Kortunov
aa07dc0312 Rollback a Muisc interface 2024-05-24 10:16:28 +04:00
Andrei Kortunov
5a1ec8ce87 Implement Lua-based music 2024-05-19 22:10:54 +04:00
Zackhasacat
c63c1e69cf Lua: Add missing light flags, allow creating light record via world.createRecord 2024-05-13 14:14:44 +00:00
psi29a
7f54486e80 Merge branch 'doc_has_more_probls' into 'master'
Very minor doc changes

See merge request OpenMW/openmw!4072
2024-05-12 08:38:00 +00:00
Zackhasacat
3659890b28 Fix link 2024-05-11 22:21:41 -05:00
psi29a
919d1e366e Merge branch 'staticcollections' into 'master'
Place static collections to the scene and fix item modification record loading

See merge request OpenMW/openmw!4085
2024-05-11 07:43:28 +00:00
Alexei Kotov
7d979a2dfc Place ESM4 static collections to the scene 2024-05-09 17:26:27 +03:00
Zackhasacat
8cd488b91f Add hidden to faction docs 2024-05-07 16:01:05 -05:00
Zackhasacat
112dfcaf8c Some fixes, and a broken change 2024-05-03 18:49:14 -05:00
trav5
0e03b9bd32 ESM::Dialogue Lua bindings: filterActorGender returns string 2024-05-01 13:14:59 +02:00
trav5
9001ed1e2f ESM::Dialogue Lua bindings: rank filters start from 1 and filterActorCell->filterPlayerCell 2024-05-01 12:33:25 +02:00
trav5
9743276332 ESM::Dialogue Lua bindings: Fixes in speaker faction and DialogueRecordInfo docs 2024-04-30 21:37:56 +02:00
trav5
b9358521cc Better return values 2024-04-27 15:02:45 +02:00
trav5
4449b66846 Operators and retting rid of 'records' 2024-04-27 13:44:08 +02:00
trav
a0989c3481 Merge branch openmw:master into mwdialogue-bindings 2024-04-26 19:21:28 +00:00
Zackhasacat
575fb4e637 Correct docs 2024-04-24 17:53:26 -05:00