I'm trying to simplify some templates I use in several common events. Hoping for 2 things.
Is there a way to pull a notetag integer from an item's note box and turn it into a specific variable without adding a script?
Something that might possibly look like this:
And also, is it possible to assign a color to a variable? I've been trying stuff like:
The way I have it setup now, for each CE, I have to manually enter in what I want the variables to change to. Being able to just enter it into the notetags allows me to reuse the same template without having to alter each of them.
And then, if it requires a specific amount each from 4 different items, I currently use a text box for each possible outcome displaying in red if there isn't enough of a certain item.
With 4 items, that's 15 possible combinations. With \C[n], I have to make 15 separate text boxes, but if I could add a color to a variable, those 15 text boxes becomes 2. One for if there's enough, and another if there's not.
4 simple conditional branches to check quantities, assign red to a variable to those that are less than required, 1 text box to display the results.
Thanks!
Is there a way to pull a notetag integer from an item's note box and turn it into a specific variable without adding a script?
Something that might possibly look like this:
- $data_items[id].notetag[n]
And also, is it possible to assign a color to a variable? I've been trying stuff like:
- $game_variables[n] += $window_base.change_color(text_color(10))
- $game_variables[n].change_color(text_color(10))
- $game_variables[n].change_color(knockout_color)
The way I have it setup now, for each CE, I have to manually enter in what I want the variables to change to. Being able to just enter it into the notetags allows me to reuse the same template without having to alter each of them.
And then, if it requires a specific amount each from 4 different items, I currently use a text box for each possible outcome displaying in red if there isn't enough of a certain item.
- 0/3 required.
- 2/3 required.
- 3/3 required.
- 1/3 required.
With 4 items, that's 15 possible combinations. With \C[n], I have to make 15 separate text boxes, but if I could add a color to a variable, those 15 text boxes becomes 2. One for if there's enough, and another if there's not.
4 simple conditional branches to check quantities, assign red to a variable to those that are less than required, 1 text box to display the results.
Thanks!