148fb73f7f
added support for instring variables and made character IDs be always stored in lowercase
deadvey2026-05-26 21:41:36 +01:00
cc3eca857d
strings in variables can now be received by get_string_token and inputs can be directly assigned to a variable
deadvey2026-05-26 20:35:57 +01:00
f6a95f76bd
Added support for assigning variables to the output of a choice
deadvey2026-05-26 17:48:36 +01:00
59f32e975b
clippy lints and moved the operator matchbox to it's own function
deadvey2026-05-26 11:54:53 +01:00
4f7abb5f19
added support for if elif else statements by returning a boolean from the identifier syntax parsing
deadvey2026-05-26 11:38:14 +01:00
20369ef838
added basic variable functionality, doesn't really do anything at the moment but you can assign and change variables.
deadvey2026-05-25 02:19:30 +01:00
21bf659718
Began adding support for variables
deadvey2026-05-24 15:09:59 +01:00
29565949b0
Client is approx 5% done
deadvey2026-05-20 21:51:09 +01:00
556185e095
added some TODO listing in the README and removed junk file
deadvey2026-05-19 19:38:25 +01:00
9255c1d7fa
Fixed some clippy lints
deadvey2026-05-19 19:34:56 +01:00
ee34493895
Changed the data_to_send to be a stack so many lines of code can be pre-processed before the user interacts. When the /happening api is called it just dequeues the front item
deadvey2026-05-19 19:23:19 +01:00
019f1088a3
fixed a bug with single word strings and multiple choice blocks side by side
deadvey2026-05-18 23:05:19 +01:00
cba3ec04d7
documentation about location of story file
deadvey2026-05-18 14:33:30 +01:00
051bfe46e4
redesigned how file is tokenised into string, keyword, identifier, bracket and character added support for GOTOs and removed object recursive calls
deadvey2026-05-18 13:22:29 +01:00
d4947a4434
unwrap_or_exit can now display the error message, requires it to use the Debug trait
deadvey2026-05-17 15:52:18 +01:00
dd04399784
Cleaned code up a bit TODD: make colour an enum make unwrap_or_exit return the error
deadvey2026-05-17 15:44:01 +01:00
13049309b2
Changed how the data is tokenised
deadvey2026-05-17 12:47:22 +01:00
0c28bc113d
started working on new tokeniser
deadvey2026-05-16 21:11:45 +01:00
94422b307c
fixed some markdown formatting
deadvey2026-05-16 14:19:04 +01:00
6d012dbe6b
added character documentation and split Clothing into a sub-struct of Character
deadvey2026-05-16 14:06:49 +01:00
99a5b03290
added animate and to character commands
deadvey2026-05-16 12:46:15 +01:00
a251be7827
added a modify data function for changing the data_to_send mutex
deadvey2026-05-16 12:40:00 +01:00
9d2f615e16
Moved report text to README and so README is now better (I think)
deadvey2026-05-15 19:32:09 +01:00
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
deadvey2026-05-15 19:19:17 +01:00
a5a45fa1f0
version & fixed some clippy linting
deadvey2026-05-14 23:34:11 +01:00
90c5e464d2
Added LICENSE and README
deadvey2026-05-14 21:45:21 +01:00
24eb0f96e9
moved character parsing to it's own file and made it return data to the API
deadvey2026-05-14 21:42:59 +01:00