Page 1 of 1
Notify users of decay
Posted: Sun Dec 08, 2013 2:01 am
by xeon
Hi,
is there a way to notify users before the automatic decay happens?
Re: Notify users of decay
Posted: Mon Dec 09, 2013 9:03 am
by Austin
The only way to do this is to disable the core decay in servspecopt.cfg with DecayItems=0 and then script your own decay system.
You're welcome to build off of a decay system I wrote to accomplish that:
https://svn.code.sf.net/p/mytharria/cod ... ems/decay/
Re: Notify users of decay
Posted: Mon Dec 09, 2013 1:44 pm
by xeon
Interesting! Thank you Austin.
Looking at the sources, I've seen that you use .decayat as the property on which decide when to decay item. I can't seem to find documentation about how this prop works. For example, when you drop an item on the ground, this property is automatically set to some value by POL?
Re: Notify users of decay
Posted: Mon Dec 09, 2013 5:10 pm
by Austin