Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
58 stars 47 forks source link

New Flag: Can_I_Timer (Feature Request) #1180

Closed GladieUO closed 5 months ago

GladieUO commented 1 year ago

For the items that are create with "can_i_timer"

  1. Item created in the world or placed in the container/layer with set timer, will be allowed to decrease the timer and trigger @timer
  2. If the item is moved from the ground or layer to the container, the timer will be kept and not anulled to -1
  3. If the item is on the ground and timer triggers, proceed with the trigger and then kept default behaviour (decay)

I assume this flag would have to be connected to the can_o_nosleep, since there can be situation when the item is left somewhere and once the sector falls to sleep, the trigger would not fire? Or maybe once the sector is awake?

GladieUO commented 5 months ago

damn I didnt even noticed! HUGE! Thanks!

jexnico commented 4 months ago

I really need this

Jhobean commented 4 months ago

I really need this

It's alteady implemented

You can test and create new issue if you find bug.

https://github.com/cbnolok/Source-X/blob/77916d259d293affdb3015c681531bda6781943e/Changelog.txt#L3776