Hey again all,
Much progress on updating my UI to remove default stats and show players relevant game data. I've even gone so far as to figure out how to make the data change with "if" statements in \evalText:
I love that I can have this screen update based on the changes made by an augment. The problem is that the only check I know to make is that the player is affected by the augment (in this case, it puts a state on the player). This means when I look at another item it shows the augment info based on my equipped weapon:
You see in the first image I have "Gun Taser" attached so that gives the updated "Effect" text to mention it causes Stun. In the second image I'm looking at a different weapon in a shop which does not have the attachment yet it still shows the Stun Effect. The opposite is also true that if I have a weapon with no attachments and look at a weapon with an attachment it will not show the updated text.
So what I need to do is check if a weapon has a specific augment attached somehow and update the text based on that. Thankfully, in my design players cannot acquire doubles of any weapons so that might make things easier. The only solution I've thought of outside of making a direct check would be to make a switch for every weapon in the game and check for that, but that would be quite cumbersome!
I could also use one variable, but that might be a headache to keep track of...
Much progress on updating my UI to remove default stats and show players relevant game data. I've even gone so far as to figure out how to make the data change with "if" statements in \evalText:
I love that I can have this screen update based on the changes made by an augment. The problem is that the only check I know to make is that the player is affected by the augment (in this case, it puts a state on the player). This means when I look at another item it shows the augment info based on my equipped weapon:
You see in the first image I have "Gun Taser" attached so that gives the updated "Effect" text to mention it causes Stun. In the second image I'm looking at a different weapon in a shop which does not have the attachment yet it still shows the Stun Effect. The opposite is also true that if I have a weapon with no attachments and look at a weapon with an attachment it will not show the updated text.
So what I need to do is check if a weapon has a specific augment attached somehow and update the text based on that. Thankfully, in my design players cannot acquire doubles of any weapons so that might make things easier. The only solution I've thought of outside of making a direct check would be to make a switch for every weapon in the game and check for that, but that would be quite cumbersome!
I could also use one variable, but that might be a headache to keep track of...