FannyShaver
Well-Known Member
- Reaction score
- 31
I am trying to make my own resource system. Lumber, gold, stone etc etc with all resources stored in variables. Gathering works fine, though I did it my own way. Now the construction part. Instead of creating a new trigger for each player for each building I am thinking of making a table that will automatically check associated variable with a costs for such structure from the table, i.e:
lumber stone
build1 100 200
now it would have to check, if [variable] redstone and redlumber is high enough to start the construction/upgrade for such structure from the table, subtract resources and allow construction or cancel it.
Any ideas?
lumber stone
build1 100 200
now it would have to check, if [variable] redstone and redlumber is high enough to start the construction/upgrade for such structure from the table, subtract resources and allow construction or cancel it.
Any ideas?