fredi-68 / luswca

Remember to put full project title here
GNU General Public License v3.0
0 stars 0 forks source link

Loot items never despawn if not picked up by the player #16

Open fredi-68 opened 6 years ago

fredi-68 commented 6 years ago

This is not a serious issue right now but items take up regular object IDs so the zone object needs to provide them (which means there are less for other objects). Fix by subclassing GenericReplicaObject for items with a self destruct timer that triggers after 30 seconds or so (we can't write a script for this because there are a lot of item LOTs). They do despawn on client side, after maybe a minute or so. Still, to reclaim the object IDs we will want a timer, ESPECIALLY if they despawn on client side eventually and end up just sitting around in memory.