Object respawning: Difference between revisions

no edit summary
imported>Leoetlino
imported>Leoetlino
No edit summary
Line 2: Line 2:


GameData flags that are used to track object revival are called "revival flags". They are always loaded, whether the object exists in the world or not.
GameData flags that are used to track object revival are called "revival flags". They are always loaded, whether the object exists in the world or not.
== Shop items ==
Shop items are revived every day at midnight, assuming the following conditions are satisfied:
* the player is in none of the areas that are associated with the shop item; alternatively the player is not on MainField (on the main map)
* and, for items with the Arrow tag, the player has fewer than 50<ref>This is configured by [[ActorInfo]] (itemSaleRevivalCount property).</ref> arrows of the relevant type in their inventory
Revival flags for shop items have their [[ResetType]] set to 3.


== Revival during blood moons (RevivalBloodyMoon) ==
== Revival during blood moons (RevivalBloodyMoon) ==
Anonymous user