52
edits
m (Typo Fix) |
m (→[TableName] : Updated ItemLookGetFlg Description) |
||
Line 4: | Line 4: | ||
'''ShopData''' (''bshop'') configures what items can be sold by NPCs, stock numbers and prices. | '''ShopData''' (''bshop'') configures what items can be sold by NPCs, stock numbers and prices. | ||
</onlyinclude> | </onlyinclude> | ||
== Parameter objects == | |||
=== Header === | ==Parameter objects== | ||
{|class="wikitable" | ===Header=== | ||
! Key !! Type !! Description | {| class="wikitable" | ||
!Key!!Type!!Description | |||
|- | |- | ||
| TableNum || int || Number of tables | |TableNum||int||Number of tables | ||
|- | |- | ||
| {{AampIndexedParam|key=Table%02d|start_idx=1}} || str64 || Name of the shop table | |{{AampIndexedParam|key=Table%02d|start_idx=1}}||str64||Name of the shop table | ||
|} | |} | ||
=== {{Placeholder AAMP param name|name=[TableName]}} === | ==={{Placeholder AAMP param name|name=[TableName]}} === | ||
{|class="wikitable" | {| class="wikitable" | ||
! Key !! Type !! Description | !Key!!Type!!Description | ||
|- | |- | ||
| ColumnNum || int || Number of items | |ColumnNum||int||Number of items | ||
|- | |- | ||
| {{AampIndexedParam|key=ItemSort%03d|start_idx=1}} || int || Sort value | |{{AampIndexedParam|key=ItemSort%03d|start_idx=1}}||int||Sort value | ||
|- | |- | ||
| {{AampIndexedParam|key=ItemName%03d|start_idx=1}} || str64 || Item actor name | |{{AampIndexedParam|key=ItemName%03d|start_idx=1}}||str64||Item actor name | ||
|- | |- | ||
| {{AampIndexedParam|key=ItemNum%03d|start_idx=1}} || int || Maximum stock | |{{AampIndexedParam|key=ItemNum%03d|start_idx=1}}||int||Maximum stock | ||
|- | |- | ||
| {{AampIndexedParam|key=ItemAdjustPrice%03d|start_idx=1}} || int || Value to add or subtract to the item buying price | |{{AampIndexedParam|key=ItemAdjustPrice%03d|start_idx=1}}||int||Value to add or subtract to the item buying price | ||
|- | |- | ||
| {{AampIndexedParam|key=ItemLookGetFlg%03d|start_idx=1}} || bool || | |{{AampIndexedParam|key=ItemLookGetFlg%03d|start_idx=1}}||bool||Toggles actor visibility based on related IsGet flag | ||
|- | |- | ||
| {{AampIndexedParam|key=ItemAmount%03d|start_idx=1}} || int || {{check}} | |{{AampIndexedParam|key=ItemAmount%03d|start_idx=1}}||int||{{check}} | ||
|} | |} | ||
== Example == | ==Example== | ||
[[File:NpcShop.jpg|500px|right|Example]] | [[File:NpcShop.jpg|500px|right|Example]] | ||
edits