Commit graph

22 commits

Author SHA1 Message Date
Rey Alemán
93f375f586
Event callbacks fixes (#4713) 2024-05-28 22:25:59 -03:00
Sarah Wesker
2cdf1dee9a
EventCallback Improvements (#4395)
* Improvements to the core of EventCallback is now called Event

* renamed the folder to events, which is correct now, and freed up the use of this folder in scripts

* Compatibility with the previous version.

* unnecessary temporary

* resol conflicts
2024-04-16 14:55:26 -06:00
Sarah Wesker
85e3cc8621
New event onSpellCheck (#4619)
* new event spell check
2024-01-12 17:36:37 +01:00
Rey Alemán
b98aab84dd
Added Creature:onChangeZone event (#4145)
* Creature.onChangeZone event

* pr comments

* format

---------

Co-authored-by: Rey Alemán <rey.aleman@oulook.com>
2023-12-07 19:24:26 -06:00
Marco
714ed6ef23
add Player.onRotateItem event (#4541)
Co-authored-by: Marcin Michalski <57528542+marmichalski@users.noreply.github.com>
2023-09-29 12:39:37 -03:00
Sarah Wesker
d50730a29a
Quest system moved to Lua (#4388)
---------

Co-authored-by: Zbizu <Zbizu@users.noreply.github.com>
2023-04-19 15:47:57 -03:00
Rey Alemán
8646e880a5
Add 3 Party events (#4326)
Added:
[x] Party.onInvite
[x] Party.onRevokeInvitation
[x] Party.onPassLeadership

Co-authored-by: Rey Alemán <rey.aleman@oulook.com>
2023-04-06 22:50:52 -03:00
Sarah Wesker
234776de6d
Optimized EventCallback (#4237) 2023-04-06 21:31:25 -03:00
Ramon Bernardo
afb5db02ad
Revert to explicit comparation of nil on eventcallback system (#4071) 2022-04-04 14:59:30 -03:00
Ramon Bernardo
4e1d996aac
Fix indentation and spacing on data folder (#4024) 2022-03-22 23:03:36 +00:00
Ramon Bernardo
d87a015212
Use modern bool comparator on lua (#3962) 2022-02-24 17:44:05 -03:00
Evil Puncker
7f8d0d421d
Slightly update to event_callbacks.lua style (#3960) 2022-02-18 19:47:48 -03:00
Sarah Wesker
27e2b46338
EventCallback Lib a more modern and easy way to configure (#3834) 2022-02-18 18:26:00 -03:00
Evil Puncker
15d3e5478d
Add Player:onInventoryUpdate(item, slot, equip) (#3944) 2022-02-17 11:04:04 -05:00
Evil Puncker
a731e662b1
Moved market description to Lua (#3863) 2022-02-14 09:10:10 -05:00
Sarah Wesker
5226bd53f6
Made EventCallback lib more readable (#3697) 2021-11-27 03:22:15 -03:00
Sarah Wesker
af064fb44b
EventCallback Setting new default order (#3413) 2021-05-11 00:46:47 +02:00
Sarah Wesker
730f595549
[EventCallback] Missing AuxArgs and more (#3401) 2021-04-11 00:46:56 +02:00
Sarah Wesker
f3f5d37213
* New EventCallback style like Revscriptsys * (#3329)
* New EventCallback style like revscriptsys

* debug info / compat / register
2021-02-26 12:10:01 +01:00
Ranieri Althoff
3e3dc1c98b
Remove trailing whitespace (#3207)
For future reference:
```sh
dos2unix $(git ls-files)
sed -i -e 's/\s*$//' $(git ls-files)
```
2020-11-08 11:59:57 +01:00
Mario
2d5b74613d
lua52> 'unpack' error fix (#3195)
lua52 has the function 'unpack' renamed to 'table.unpack' this solves the issue and further problems which we could have with that function.

This also includes a little parameter check correction on EventCallbacks.
2020-10-19 04:42:55 +02:00
Mario
fcd6b2d3a0
Event Callbacks (#2867)
Co-authored-by: Sarah Wesker <millhiorebt@users.noreply.github.com>
2020-10-18 17:50:36 -04:00