Commit graph

13 commits

Author SHA1 Message Date
KrecikOnDexin
419124f48f
Configurable stack size (#4528)
---------

Co-authored-by: AKnopik PC <krecikondexin@gmail.con>
2023-09-10 17:55:10 -03:00
Ramon Bernardo
4e1d996aac
Fix indentation and spacing on data folder (#4024) 2022-03-22 23:03:36 +00:00
Marco Oliveira
6d4699dec9
[12.00] Adding support for colored loot (#3771) 2021-11-27 23:21:25 -05:00
Marco Oliveira
48c3773005
Remove trailing whitespace (#3800) 2021-11-23 22:45:17 -03:00
Zbizu
9d01be7061
Fix a loot bug with fluidContainer (#3660) 2021-09-17 16:54:20 -03:00
soul4soul
7155c3390e
Make monster loot count accept count higher than 100 (#3611)
Credits Epuncker and MillhioreBT
2021-09-04 23:35:06 -04:00
nekiro
fb42ccee0c
Ensure item is deleted if it's not added to corpse (#3480) 2021-06-11 21:58:15 +02:00
nekiro
75c24cf7ff
Don't add empty containers to corpses (#3187) 2021-01-21 01:13:47 +01: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
Daniel Chabrowski
1697826d74 cleanup: fix formatting, double assignment, missing result.free (#2607) 2019-06-09 12:57:16 -04:00
Joseluis González
29dace1c2d Fix to stackable item loot drops, bug which was introduced in #2569
Fixed some missing changes related to stackable items, reported here: https://otland.net/threads/mobs-only-drop-one-of-each-item.264492/#post-2556086
2019-05-11 18:42:08 +02:00
Joseluis González
38eb0cde9e Moved drop loot mechanism to Lua (#2569)
Added a new class to events called Monster and a new method called onDropLoot.
Added party to Lua core.
Added a new function to party class called broadcastPartyLoot (based on sources).
Replicated (or tried?) getLootRandom and createLootItem to Lua.
Added a new function to container class called createLootContainer (based on sources).
Added two new values to enums MESSAGE_LOOT and MAX_LOOTCHANCE.
Added two new container methods (getContentDescription and getCorpseOwner).
2019-05-08 16:23:51 +02:00
Mark Samman
f775f7d840 Code improvements 2015-04-05 22:27:52 +02:00