I'm wondering if it's possible to store data such as a weapon's damage range as a dictionary value. For example, "Sword" as the key and "floor(5,10)" as the value. It doesn't seem to be working for me and I'm wondering whether I'm missing something.
Develop games in your browser. Powerful, performant & highly capable.
(I realize the syntax is off above—sorry about that. It's correct in my testing, however.)
I don't believe so, unless you created a custom parser to convert the text back into expressions.
I offered this suggestion here. https://construct3-21h2.ideas.aha.io/ideas/C321H2-I-97
Thanks.
This is what arrays are for.