Commit graph

56 commits

Author SHA1 Message Date
Artur Knopik Linux
5bfda8f613 Revert "[Revscriptsys] RevNpcSys version 1.0 (lua npcs / NpcType / new npc system) (#4671)"
This reverts commit 4a89502f46.
2024-12-05 23:56:16 +01:00
Ranieri Althoff
25df9cfd38
Move spells to scripts folder (#4755)
* Move runes to dedicated folder
* Redirect old XML and lib folder to new location
* Drop unused custom spells
2024-09-20 00:13:59 +02:00
Mario
4a89502f46
[Revscriptsys] RevNpcSys version 1.0 (lua npcs / NpcType / new npc system) (#4671)
Co-authored-by: Sarah Wesker <sarahelizabetwesker@gmail.com>
2024-05-30 02:55:42 +02:00
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
1ff65eeeab
fix tobool (#4647) 2024-04-10 21:59:41 -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
Rey Alemán
f3d8747b53
feat: effects support for summons (#4146)
Co-authored-by: Rey Alemán <rey.aleman@oulook.com>
2023-11-25 23:04:44 -03: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
Sarah Wesker
ec3eb0e784
feature: Bestiary in Lua (#4402) 2023-04-19 12:59:15 -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
Apollos
2f4e76e426
Revscript MonsterType Spell Fixes (#3903)
Co-authored-by: Ranieri Althoff <1993083+ranisalt@users.noreply.github.com>
Co-authored-by: Evil Puncker <EPuncker@users.noreply.github.com>
2023-04-06 21:57:43 -03:00
Sarah Wesker
234776de6d
Optimized EventCallback (#4237) 2023-04-06 21:31:25 -03:00
Marco Oliveira
0e20d54eeb
Changing space to tab and removing white space (#4307) 2023-01-30 16:16:18 -03:00
Danyel Varejão
eda33e7733
fix an issue when setting a boolean type flag on a monster (#4155) 2022-06-08 13:06:33 -03:00
Ranieri Althoff
10896466c7
Add XML parsing bindings for Lua (#4108) 2022-05-07 17:30:40 -04:00
Ramon Bernardo
afb5db02ad
Revert to explicit comparation of nil on eventcallback system (#4071) 2022-04-04 14:59:30 -03:00
emil92b
6b1de9dfba
fix monster loot charges (#4067) 2022-04-04 11:33:09 -03:00
Ramon Bernardo
4e1d996aac
Fix indentation and spacing on data folder (#4024) 2022-03-22 23:03:36 +00:00
Sarah Wesker
16d26e4a3e
Add missing method in MonsterSpell for outfits (#4014) 2022-03-17 14:17:20 -03: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
Marcin Michalski
215713d691
Add summon max count in MonsterType:addSummon (#3883) 2022-01-05 11:48:48 -03:00
Sarah Wesker
5226bd53f6
Made EventCallback lib more readable (#3697) 2021-11-27 03:22:15 -03:00
soul4soul
1a5e3b17a5
RevScriptSys Monster enhanced attack conditions (#3499) 2021-09-26 19:22:30 -03:00
soul4soul
aa76e5c5fa
Create ring attribute for monster spells (#3691) 2021-09-25 17:24:28 -03:00
Marcin Michalski
634ac9f63d
monsters: Add ignoreSpawnBlock flag (#3601) 2021-08-29 10:16:27 -04:00
Marcin Michalski
575395a650
Add monster challengeable flag (#3589) 2021-08-25 01:27:51 -03:00
Zbizu
f0fab6c4a0
fix potentially broken code (#3506)
removing unused local variable, using `or` instead of `if` statements
2021-07-22 14:32:15 -03:00
soul4soul
3150efb53b
Revscriptsys monster fixes (#3482)
* Add parsing summonable flag from revscriptsys monsters
* Add missing min/max dmg options for melee attack
* Add missing name registration
* Add missing support for setting direction of revscriptsys lua monster script based spells
* Add missing support for setting canwalkonFIELD flags
2021-06-17 15:09:56 -06:00
Iñaki Amatria Barral
488e37ab86
Add optional configurable drunkenness parameter (#3467) 2021-06-12 10:55:18 +02:00
infernumx
55d831685e
Fix typo in register_monster_type.lua (#3463) 2021-05-16 09:28:59 +02: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
Sarah Wesker
01d4556d52
Fixed healthNow is bigger than healthMax (#3312) 2021-02-13 14:34:36 -05: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
Evil Puncker
7116d9cd68
Fixed Lua monsters walk through issue (#3095)
fixes #3091
2020-08-01 18:54:18 -04:00
Mario Tettei
7231d9e49f
fix for "speed" on revscriptsys monstertypes (#3018)
this fixes #3002
2020-05-04 19:08:33 -04:00
Evil Puncker
3612ae8fa1
Added isBoss flag (#2979)
* Added isBoss flag

also added Lua part to get/set it

// get: monsterType:isBoss() set: monsterType:isBoss(bool)

a following pull request will be made in order to add the flags to the xml monster files

* added missing entry to MonsterType.flags
2020-05-01 11:48:03 +02:00
Leo32
274722a240
monsters: allow varying (random) haste / paralyze for monsters (#2826)
Co-authored-by: Patryk Zajdler <pzajdler2@gmail.com>
2020-04-29 18:44:51 -04:00
WibbenZ
08231f4239
Remove trailing spaces (#2854)
* Remove trailing spaces

Removed trailing spaces and added spaces to some XML tags
Removed else statment from sweetheart_ring.lua

* Remove variable from sweetheart_ring.lua
2020-03-19 05:27:04 +01:00
Mario Tettei
8073f215d8
fix #2843 & force load monsters (#2851)
* load all monster types

added to config.lua
- forceMonsterTypesOnLoad
so people can decide on their own if they want to load all MonsterTypes immediatly on server startup or not.

* better revscriptsys loot handling

It checks now if loot name is unique or if it even exists and then throw errors accordingly.

* removed single use variable
2020-03-17 22:27:44 +01:00