I'd like to request a source modification on autoloot behaviour, using a new item_db flag (flag_autoloot) which will prevent an item to be autolooted.
If the flag as a null value (default value), it'll be autolooted as usual, but if it has a non null value, it won't be autolooted.
Instead of modifying mob.cpp for adding custom conditions on when an item can/cannot be autolooted, it'll be much easier to customize with a global item flag.
Question
Adimgar
Hi everyone.
I'd like to request a source modification on autoloot behaviour, using a new item_db flag (flag_autoloot) which will prevent an item to be autolooted.
If the flag as a null value (default value), it'll be autolooted as usual, but if it has a non null value, it won't be autolooted.
Instead of modifying mob.cpp for adding custom conditions on when an item can/cannot be autolooted, it'll be much easier to customize with a global item flag.
I hope you'll find this request usefull.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.