Object respawning: Difference between revisions
Jump to navigation
Jump to search
→Shop items
imported>Leoetlino |
imported>Leoetlino |
||
Line 9: | Line 9: | ||
Revival flags for shop items have their [[ResetType]] set to 3. | Revival flags for shop items have their [[ResetType]] set to 3. | ||
=== The revival map grid === | |||
The revival map grid is used for shop items and for randomly-respawned items. It is slightly different from the regular map unit grid and features 10 columns (0..9) and 8 rows (0..8). This grid is shown on the object map. | |||
Given an item located in column <code>itemCol</code> and row <code>itemRow</code>, the player is considered to not be in its map area ''if and only if'': | |||
* itemCol < playerCol1 | |||
* or itemCol > playerCol2 | |||
* or itemRow < playerRow1 | |||
* or itemRow > playerRow2 | |||
== Revival during blood moons (RevivalBloodyMoon) == | == Revival during blood moons (RevivalBloodyMoon) == |