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
Please, implement and internal two-dimensional array that will hold IDs, names and prices of the items that can be purchased at Mercantile or obtained through panning and picking or by other means.
letitems=[[1,'Bread',10],[2,'Eggs',5],[3,'Beacon',10],[4,'Steak',25],[5,'Coffee',25],[6,'Chicken',35],[7,'Hash',15],[5,'Coffee',25],[6,'Chicken',35],[7,'Hash',15],[8,'Beans',15],[9,'Whiskey',20],[10,'Cheese',10],[11,'Anti-Venom',150],[12,'Skillet',25],[13,'Fish Hooks',20],[14,'Coffee Pot',35],[15,'Knife',20],[16,'Pan',35],[17,'Gloves',10],[18,'Rope',30],[19,'Lantern',20],[20,'Blanket',30],[21,'Matches',5],[19,'Lantern',20],[20,'Blanket',30],[21,'Matches',5],[22,'Pick',65],[23,'Shovel',50],[24,'Map',10],[25,'Revolver',200],[26,'Bullets',50],[27,'Long Johns',20],[28,'Empty Canteen',15],[29,'Full Canteen',0],[30,'Snake',0],[31,'Small Fish',0],[32,'Big Fish',0],[33,'Small Bag of Gold Grade 0',0],[34,'Small Bag of Gold Grade 1',0],[35,'Small Bag of Gold Grade 2',0],[36,'Small Bag of Gold Grade 3',0],[37,'Small Bag of Gold Grade 4',0],[38,'Big Bag of Gold Grade 0',0],[39,'Big Bag of Gold Grade 1',0],[40,'Big Bag of Gold Grade 2',0],[41,'Big Bag of Gold Grade 3',0],[42,'Big Bag of Gold Grade 4',0]];
Please, implement and internal two-dimensional array that will hold IDs, names and prices of the items that can be purchased at Mercantile or obtained through panning and picking or by other means.
Suggested size is 42 x 3. Suggested array:
When starting a new game price (last element) of the array should be set to the value as given in here.
Details: here.
The text was updated successfully, but these errors were encountered: