ShopGameDataInfo.byml: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 5: Line 5:
== Contents ==
== Contents ==
===ShopAreaInfo Hashes===
===ShopAreaInfo Hashes===
'''ShopAreaInfo Hashes''' is an array of CRC32 hashes of all Shop actor-name flags.  
'''ShopAreaInfo Hashes''' is an array of CRC32 hashes of all shop actor-name flags.  
The hashed flags are named in the format Npc_Name_Actor_Name.
The hashed flags are named in the format Npc_Name_Actor_Name.
This array does not need to be sorted. {{Check}}
This array does not need to be sorted. {{Check}}
Line 11: Line 11:


===ShopAreaInfo Values===
===ShopAreaInfo Values===
This section contains a list of all items sold by NPCs.
{| class="wikitable"
!Name
!Description
!Example
|-
|Area
|A list of locations where the item is sold when the Dealer and Item are the same.
| [0, 6]
|-
|Dealer
|The name of the actor which sells the item.
|Npc_MamonoShop
|-
|Item
|The name of the actor which is sold.
|Armor_160_Upper
|-
|}
''Example entries:''
  - Areas:
    - [1, 7]
    Dealer: NPC_oasis065
    Item: Armor_008_Upper
   
  - Areas:
    - [0, 6]
    - [1, 2]
    - [6, 5]
    - [7, 7]
    - [8, 0]
    - [8, 3]
    - [8, 5]
    - [9, 2]
    Dealer: Npc_MamonoShop
    Item: Armor_160_Upper


===SoldOutInfo Hashes===
===SoldOutInfo Hashes===
'''SoldOutInfo Hashes''' is an array of CRC32 hashes of all shop actor-name flags that change state when sold out.
The flags are used in stores where the item is physically shown to the player (e.g A Mannequin displaying Armor).
The hashed flags are named in the format Npc_Name_Actor_Name.
This array does not need to be sorted. {{Check}}
Similar to tag values, each number is stored as an unsigned int if it is greater than 0x80000000 and as a signed int otherwise.
===SoldOutInfo Values===
===SoldOutInfo Values===


52

edits

Navigation menu