im trying now to make a system where the player can purchase a house and then the game data store that they own it, but my problem here is i dont know what is the most efficient way to do so.
what came to my mind is to make a folder and name it “Owned Houses” in the player and then create bool values and name them the houses to identify if the player owns that house or not, for example
House1 = false
and if bought then
House1 = true
simple really, but i dont think this is the most efficient way to do it, also i want to note is i need to access if the player owns it or not, for example a different script that check is the player owns that house and if so then print message that he owns it.
most of my game is based on that, creating and using bool values to check if player owns that thing or not. i dont know if its the best thing to do.
btw: i dont need a script thanks, i just need the best way.
any help will be appreciated !