|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows you to modify the contents of a shop whenever player opens it.
To create a shop, use M:Terraria.ModLoader.ModNPC.AddShops
Note that for special shops like travelling merchant, the shopId may not correspond to a T:Terraria.ModLoader.NPCShop in the T:Terraria.ModLoader.NPCShopDatabase
| shopName | The full name of the shop being opened. See M:Terraria.ModLoader.NPCShopDatabase.GetShopName(System.Int32,System.String) for the format. |
| items | Items in the shop including 'air' items in empty slots. |
Definition at line 747 of file ModNPC.cs.