1,158
edits
(→SoldOutInfo Hashes: both arrays need to be sorted) |
No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
'''ShopGameDataInfo.byml''' (found in Bootup/Gamedata) is a [[Yaz0]]-compressed [[BYML]] file which contains data pertaining to [[Actor|actors]] purchasable from NPC Shops. It is used | '''ShopGameDataInfo.byml''' (found in Bootup/Gamedata) is a [[Yaz0]]-compressed [[BYML]] file which contains data pertaining to [[Actor|actors]] purchasable from NPC Shops. It is used by [[GameDataMgr]] to keep track of items that have been purchased from a shop ("sold out" items) and [[GameDataMgr#bool_and_s32_flags_with_reset_type_3|restock them]] periodically. | ||
</onlyinclude> | </onlyinclude> | ||
== Contents == | == Contents == | ||
===ShopAreaInfo Hashes=== | ===ShopAreaInfo Hashes=== | ||
Line 21: | Line 20: | ||
!Example | !Example | ||
|- | |- | ||
| | |Areas | ||
|A list of | |A list of map area coordinates where the item is sold when the Dealer and Item are the same. This is used to prevent the item from being restocked while the player is in the same map area. Each coordinate identifies a map area on the [[revival map grid]]. | ||
| [0, 6] | | [0, 6] | ||
|- | |- |