Quote:
Originally Posted by Pelikano
How do you know?
|
Anything can be done with GScript!!! Anyways, sure it could be in a couple of ways;
1. Have tradeable weapons join a lending class
2. timestamp the trade, check timestamp against lending length which could be defined by the lender
3. when time is up, return the item to the lender, delete it from the lendee
4. have various checks to eliminate exploiting the system
>> automatically give the lender the item when time is up and remove from lendee (if lendee remains online)
>> if the lendee goes offline (isn't there an event if someone disconnects?) then delete the item when they connect again
>> have a DBNPC that controls this instead of weapon scripts (best way?)
>> lendee can not drop, trade, or sell lended item
5. other related stuff (perhaps a "renting" fee)