Hey, How are you ?
First of all, good work with RPG in a box, I admire your effort and dedication to building this AMAZING engine!
I recently bought the engine, read the documentation and didn't find an example for accessing a codex value with a variable containing the key.
See below how i tried to access the key ( please don't judge this code XD ):
$choiceToItemName = codex["Strawberry": "strawberry", "Corn": "corn", "Potato": "potato"];
$choices = array["Strawberry", "Corn", "Potato"];
$result = display_choices("What do you want to plant?", $choices, entity["npc_id"]);
$choice = $choices[$result]; // Strawberry / Corn / Potato
display_message("You dont have " + str($choiceToItemName[$choice]) + "!"); // strawberry / corn / potato
Yes... the code only does the "lowercase" function, which I also didn't find π
If you could help with these two questions I would appreciate it. ( lowercase/UPPERCASE function and Codex )
Thanks so much π