Commit graph

79 commits

Author SHA1 Message Date
yuni 3165cfd754 bevy14: upgrade color palette usage 2024-07-09 02:28:55 +02:00
yuni a3c87e1651 fix multiple includes per chat
previously, putting everything into a "changeset" first (where each item
says "replace line X with the following block") and applying the
changeset after collecting all changes would lead to wrong line numbers,
since inserting a block will move all lines down by some amount.

Gotta replace the include-line with the block right away before you move
on to following include lines.

This was so complex in the first place to please rust's borrow checker.
2024-06-12 02:29:11 +02:00
yuni 625bf21c84 continuously set/update chat variable $$player_oxygen_seconds 2024-06-12 00:57:55 +02:00
yuni 4dd195e17a fix velocity after traveling with busses 2024-06-11 02:54:13 +02:00
yuni 87199f41db apply cargo fmt 2024-05-22 05:00:45 +02:00
yuni f1725fcab5 show achievements in golden color in the log 2024-05-14 07:27:43 +02:00
yuni aa7734947c implement achievements 2024-05-14 01:24:57 +02:00
yuni 7f3770cf49 add bevy::math::{DVec3,DQuat} import to common 2024-05-13 00:55:49 +02:00
yuni 33876bac73 add game.rs 2024-05-12 23:57:21 +02:00
yuni 94d732d9f0 simplify crate module imports 2024-05-12 23:42:56 +02:00
yuni 83f43ee06c rename effects.rs to visual.rs 2024-05-10 12:24:57 +02:00
yuni 2b07ef67d1 copy serenity station's new style to the other bus stops 2024-04-24 21:17:41 +02:00
yuni 0dda705db2 rename oscillation station to farview station 2024-04-24 21:07:29 +02:00
yuni 8fa7859568 document module purposes 2024-04-23 17:33:36 +02:00
yuni 6267be23cd add Yuni, orbiting Thebe 2024-04-21 23:52:29 +02:00
yuni 7b21c2b820 tweak ASCII art 2024-04-21 19:34:00 +02:00
yuni 1adb56c0e2 add ASCII art header to most files 2024-04-21 18:25:30 +02:00
yuni 2c44d89c53 fix the bus dropping you off right into the sun /o\ 2024-04-20 03:27:20 +02:00
yuni 45fbd4e2b5 add F1 key to show key bindings 2024-04-15 23:17:44 +02:00
yuni f01fd06bac different colors for different console log levels 2024-04-15 21:18:02 +02:00
yuni ba1269627d fix choice order 2024-04-15 02:06:10 +02:00
yuni 97141ed73a write cozier dialog at pizza store 2024-04-15 01:45:40 +02:00
yuni 2c28394705 cleanup 2024-04-14 21:16:06 +02:00
yuni 03d2809295 fix regression that caused inlined ifs to be displayed as choices 2024-04-14 21:14:26 +02:00
yuni 2e57f911ed implement conditions on choices 2024-04-14 20:44:29 +02:00
yuni d21f8b4b09 implement "inlined" conditions (like - if $x > 4:) 2024-04-14 20:02:23 +02:00
yuni 00df7bc711 implement "if" statements with 2 operands (comparing for equality) 2024-04-14 19:23:43 +02:00
yuni d51333274b implement "if" statements with one boolean condition 2024-04-14 18:56:40 +02:00
yuni b4ff95c3be WIP if-branches in chats 2024-04-14 17:29:35 +02:00
yuni 5df3f66ea6 implement "set" token for chats 2024-04-14 16:20:51 +02:00
yuni 7b6b14a992 avoid crash when chat "include" label doesn't exist 2024-04-14 15:37:23 +02:00
yuni 600f9d5e3e cleanup 2024-04-14 14:58:53 +02:00
yuni 86cd3b049e rename settings.rs to var.rs, planning to add more than settings to it 2024-04-14 14:55:00 +02:00
yuni a9ebaf0a5f fix delay with showing responses for Bus Stop Clippy 2024-04-14 04:14:04 +02:00
yuni 69fce751d9 move Oscillation Station to a more scenic place for now 2024-04-14 04:13:51 +02:00
yuni dad7fc8fc4 add safety check 2024-04-14 03:37:33 +02:00
yuni 01453e46f8 implement "include" token for chats 2024-04-14 03:24:06 +02:00
yuni 0b22494751 fix conversation timings, seek past choices when dropping out of branches 2024-04-14 01:16:37 +02:00
yuni 39a74582fc implement specifying custom chat sounds per message with "sound" token 2024-04-13 23:35:59 +02:00
yuni 699bb4f563 implement chat sounds 2024-04-13 23:21:53 +02:00
yuni b06e54a0d9 implement sleep token for chats 2024-04-13 23:03:41 +02:00
yuni fbc6dea13e implement goto token in chats 2024-04-13 22:43:58 +02:00
yuni 9176caa372 implement chat scripts 2024-04-13 22:10:13 +02:00
yuni 08ec42c043 handle msg/system/warn tokens 2024-04-13 21:45:05 +02:00
yuni cc72fa1b31 cleanup, fixes 2024-04-13 21:14:46 +02:00
yuni 5bc76a3e2f proper exiting of conversation branches 2024-04-13 20:59:55 +02:00
yuni e7df698225 implement choice selection 2024-04-13 20:23:51 +02:00
yuni 8df6914dba WIP choices 2024-04-13 18:57:23 +02:00
yuni e8302833da implement stack-based conversation position 2024-04-13 17:59:52 +02:00
yuni d990726932 switched from yaml_rust to serde_yaml 2024-04-13 17:33:14 +02:00