You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/scenes/market.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ export default class Market extends Phaser.Scene{
63
63
constitems=[
64
64
{item: 'item1',name: 'Worms',price: 5,type: 'Bait',itemID: 1,description: "Use as a parameter in the addBait() method."},
65
65
{item: 'item2',name: 'Apple',price: 10,type: 'Bait',itemID: 2,description: "Use as a parameter in the addBait() method."},
66
-
{item: 'item3',name: 'Equip',price: 20,type: 'Method',itemID: 3,description: "An instance method: use on either\nRico or the boat\nto equip an item.\nExample:\nRico.equip(crown);\nboat.equip(flag);"},
66
+
{item: 'item3',name: 'Equip',price: 20,type: 'Method',itemID: 3,description: "An instance method.\n// Use on either Rico or the boat to equip an item.\n// Example:\n// Rico.equip(crown);\n// boat.equip(flag);"},
67
67
{item: 'item4',name: 'Flag',price: 10,type: 'Bait',itemID: 4,description: "Use as a parameter in the boat.equip() method."},
68
68
{item: 'item5',name: 'Pizza',price: 15,type: 'Bait',itemID: 5,description: "Use as a parameter in the addBait() method."},
69
69
@@ -90,7 +90,7 @@ export default class Market extends Phaser.Scene{
90
90
`// Item ID: ${i.itemID}\n`+
91
91
`// Name: ${i.name}\n`+
92
92
`// Type: ${i.type}\n`+
93
-
`// Price: $${i.price}\n\n`+
93
+
`// Price: ${i.price} coins\n\n`+
94
94
`// Description: ${i.description}\n\n`+
95
95
`// To see item info, enter item number and run: details()\n`
0 commit comments