Would it be possible some time in the future, maybe a patch, to have some asset definition that prevents the player to throw items ? Or maybe there is a way I didn't come up with. Any help on this please ?
Thanks for these helpfull insights, Neikun. What I am talking about is not being able to throw a very heavy or flagged item out of the square the party is currently in, which is currently not the case, AFAIK. Just let it drop in the same square, party facing, would be nice, be it weight/boolean/whatever dependant.
So maybe someone has found a way to do this, and would give some hints, and if not, I am just asking.
I know a way. Timer and a script. Every tick of the timer, it calls the script to check your mouseItem. Saves the mouseitem to compare it with the previews mouseItem. If the estimated Mouseitem is not there and is not in the inventory, then set location of the item to the square of your party and play the "item_drop" sound. Should do the trick.
Got an idea, but it's a bit long to implement for every item, but can be a start.
If the item is heavy, if thrown it should not go farther than 1 square. So, my idea is to place hidden pressure plates around the item, connected to a script.
When a plate is pressed, the script should check which items are on the plates, and if there is a match with the desired item, the item must be destroyed and spawned again on the original spot.
As I said, it's long to implement...