Commit Graph

22 Commits

Author SHA1 Message Date
deadvey cc3eca857d strings in variables can now be received by get_string_token
and inputs can be directly assigned to a variable
2026-05-26 20:35:57 +01:00
deadvey f6a95f76bd Added support for assigning variables to the output of a choice 2026-05-26 17:48:36 +01:00
deadvey 4f7abb5f19 added support for if elif else statements by returning a boolean
from the identifier syntax parsing
2026-05-26 11:38:14 +01:00
deadvey 20369ef838 added basic variable functionality, doesn't really do anything at the
moment but you can assign and change variables.
2026-05-25 02:19:30 +01:00
deadvey 21bf659718 Began adding support for variables 2026-05-24 15:09:59 +01:00
deadvey 019f1088a3 fixed a bug with single word strings and multiple choice blocks side by side 2026-05-18 23:05:19 +01:00
deadvey 051bfe46e4 redesigned how file is tokenised into string, keyword, identifier, bracket and character
added support for GOTOs and removed object recursive calls
2026-05-18 13:22:29 +01:00
deadvey dd04399784 Cleaned code up a bit
TODD:
make colour an enum
make unwrap_or_exit return the error
2026-05-17 15:44:01 +01:00
deadvey 13049309b2 Changed how the data is tokenised 2026-05-17 12:47:22 +01:00
deadvey 6d012dbe6b added character documentation and split Clothing into a sub-struct
of Character
2026-05-16 14:06:49 +01:00
deadvey 99a5b03290 added animate and to character commands 2026-05-16 12:46:15 +01:00
deadvey a251be7827 added a modify data function for changing the data_to_send mutex 2026-05-16 12:40:00 +01:00
deadvey 20174e697c removed unwraps and added a method to Results called .unwrap_or_exit(error_message, error_code)
This tries to unwrap and if it can't then it outputs the error message with the error!() macro
(log library) and exits with the error code.  This is to be used instead of expect and is for
fatal errors
2026-05-15 19:19:17 +01:00
deadvey a5a45fa1f0 version & fixed some clippy linting 2026-05-14 23:34:11 +01:00
deadvey a18928c673 added CHANGE command 2026-05-14 21:24:28 +01:00
deadvey 7b9d52e94d retrack stories new directory 2026-05-14 14:52:36 +01:00
deadvey 7e5874ffbb Made server and client 1 2026-05-08 23:24:42 +01:00
deadvey ffe1c75947 started implementing server side choice mechanics 2026-05-03 02:58:16 +01:00
deadvey 93c09290cd Added a character route for requesting character data from the server 2026-04-30 14:53:04 +01:00
deadvey 800bee13da polished up a bit and got the index offset working 2026-04-30 12:42:47 +01:00
deadvey 660f7cad7e Did a bit of polishing up 2026-04-29 00:40:29 +01:00
deadvey c87949bc4b Added some basic parsing ability, need to add the network calls 2026-04-06 03:21:28 +01:00