Jump to content

Item respawn in buildings


Recommended Posts

Hello friends


I set in my dedi server an item respawn time for all 3 days

But now, after 2 weeks all shops and their shelves are empty.

Can any of you explain, what i did wrong?


<property name="LootRespawnDays"                value="3" />    



Thanks in advance

Link to comment
Share on other sites

loot respawn only works for containers that don't change to the new state, open.


So shelves would not restock with loot with the Loot Respawn Days setting.  If you want shelves to restock, you need to enable the new function, chunk reset

Link to comment
Share on other sites

Hello and thanks

Do you mean this entry?

<property name="MaxChunkAge"                    value="-1"/>                <!--

The number of in-game days which must pass since visiting a chunk before it will reset to its original state


Edit: i cant find a chunk reset

Edited by Orake3l (see edit history)
Link to comment
Share on other sites

Another option would be to change the loot containers


  <!-- cntStoreShelf_Shoes -->
  <lootcontainer name="shoesShelves" count="1" size="6,2" sound_open="UseActions/open_garbage" sound_close="silencefiller" loot_quality_template="qualBaseTemplate" destroy_on_close="empty">
    <item group="groupApparelShoesAll" />


Where it states destroy_on_close="empty", having a modlet that changes those from empty to false would keep them as a lootable container.  Then the loot respawn should affect them since they stay in that state


destroy_on_close options:

  • empty - changes to empty model, does not respawn loot (some models will destroy like birdnests)
  • true - after you loot, container destroys itself
  • false - should stay in lootable state
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...