I'm working on a project for COAS and I need help on how to create some code.
1. I want the game to check if the player got at least a certain amount of goods.
ei: I want the game to make sure the player got at least 300 grape shot, 300 chain shot, 300 explosif shot, 600 gunpowder, 10 sailcloth, 20 planks, 200 food, 100 weapons and 200 medecines. Before leaving the store.
2. I want the game to check if the player got a minimum crew.
ei: I want the game to check if the player got at least the min crew on bord before leaving the tavern.
There's many more to come but let's start with those 2.
Thanks.
Cheers,
1. I want the game to check if the player got at least a certain amount of goods.
ei: I want the game to make sure the player got at least 300 grape shot, 300 chain shot, 300 explosif shot, 600 gunpowder, 10 sailcloth, 20 planks, 200 food, 100 weapons and 200 medecines. Before leaving the store.
2. I want the game to check if the player got a minimum crew.
ei: I want the game to check if the player got at least the min crew on bord before leaving the tavern.
There's many more to come but let's start with those 2.
Thanks.
Cheers,