Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Best way to store and read "Combos"?

Asked by 6 years ago
Edited 6 years ago

Hello everyone. I am trying to figure out the best way that I could solve my problem. What I am trying to do basically is have a list of "Combos." that if the two selected items are a combo, then you would get a bonus. Basically its a game where you make games, so when the player is in the planning phase, they get the option to select the genre and the type of the game. Genre would be for example "Shooter" Type would be for example "Action" If the player selected a genre and type that matched, then they would get a bonus towards development. I am just trying to figure out what the best way to figure out if the genre and type match, and whether or not its a bad or good combo. I figured using a table would probably be my best bet. But I also know that there are multiple combos. For example action could go with shooter, aswell as rpg. I'm not looking for somebody to create me a script, just looking for guidance on what my best bet would be to do this.

I'm basically trying to find the best way to first of all define what genre and types are combos, and then also define if the players selected genre and type are combos. Im sure I can figure out the later, but i've been stumped on a way to store and define the combos for a few days now.

Answer this question