Page 1 of 1
Donation Bag
Posted: Wed Sep 06, 2017 1:27 pm
by Drugar Stonesmasher
Hello,
would it be possible to implement something like a donation bag,
where the bag is labled "Donation" and when beeing dropped onto the donation field is beeing emptied (looping trough its contents)?
Re: Donation Bag
Posted: Wed Sep 06, 2017 1:50 pm
by Estralis Seborian
Yes, something like this is possible. Currently, donating bags is deactivated as they won't get deleted. But the content COULD be donated. Implementation would be trivial. But keep in mind that this might result in accidents; someone would drag his/her bag onto the donation field and BAMM all super rare uber items are gone. We could exclude gemmed items or items with special description if wanted. Please make up a specific proposal what shall be "auto donated" and what not. This code might help:
https://github.com/Illarion-eV/Illarion ... th.lua#L99
https://github.com/Illarion-eV/Illarion ... on.lua#L38
Note: Due to a client bug, the removed items would still be shown in the bag window until you re-open it, see
http://illarion.org/mantis/view.php?id=11616
Re: Donation Bag
Posted: Wed Sep 06, 2017 4:03 pm
by Achae Eanstray
Would it be possible if the content of the bag wasn't accepted unless the actual bag was labeled i.e. "Donation/(best german word for donation)" ?
Re: Donation Bag
Posted: Wed Sep 06, 2017 4:58 pm
by Drugar Stonesmasher
Achae Eanstray wrote:Would it be possible if the content of the bag wasn't accepted unless the actual bag was labeled i.e. "Donation/(best german word for donation)" ?
That was what i meant with --where the bag is labled "Donation"--
I suppose Estralis overread that.
I dont even think it would need a german variation, but if so it would be "Spende".