Commit graph

564 commits

Author SHA1 Message Date
yuni b857d46119 clean up HUD creation 2024-04-15 02:29:49 +02:00
yuni 73beb451dd tweak conversation 2024-04-15 02:08:25 +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 05769c988c implement "if: ~value:" to negate it. ("!" doesnt work for YAML reasons) 2024-04-14 23:57:58 +02:00
yuni 27ada34377 add teleport key (x) 2024-04-14 23:39:30 +02:00
yuni d1aaefb490 typo 2024-04-14 22:34:12 +02:00
yuni 3c317111d3 cut off star magnitude above 6.0 for brightness/size calculations 2024-04-14 22:31:10 +02:00
yuni 69fb360229 move stars.rs to an included array in src/data/ 2024-04-14 22:30:49 +02:00
yuni 49f9900469 cleanup 2024-04-14 22:00:10 +02:00
yuni ad9f6dbd39 render stars as circles instead of spheres 2024-04-14 21:52:29 +02:00
yuni a2b348fc59 cleanup 2024-04-14 21:52:18 +02:00
yuni ac1d1d9bca boost interaction distance 2024-04-14 21:51:59 +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 d28e56a1aa accelerate chat speed in dev mode 2024-04-14 21:07:59 +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 011938cadf implement "if" statements with 2 operands + 1 operator 2024-04-14 19:48:11 +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 d6901bef00 split off and document GameVars::normalize_varname 2024-04-14 18:23:38 +02:00
yuni a13264a404 prefix the actor id as scope for variables like "$foo" (-> "icarus$foo") 2024-04-14 18:09:14 +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 07be89162c add GameVars struct 2024-04-14 15:37:36 +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 a670778fb0 WIP new pizza dialogue 2024-04-14 05:09:34 +02:00
yuni 8c12d96774 cleanup 2024-04-14 04:56:34 +02:00
yuni f5c397dfe1 typos 2024-04-14 04:56:28 +02:00
yuni c44c22e658 update cheat teleport destinations 2024-04-14 04:40:42 +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 43f67877a2 delete src/chat_old.rs (\o/) 2024-04-14 01:20:22 +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 4b4be21ade cleanup 2024-04-13 23:22:00 +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
yuni 57f0e94bc6 WIP stack-based conversation position 2024-04-13 16:03:15 +02:00
yuni ef9d9c8fcc cleanup 2024-04-13 16:03:07 +02:00
yuni 826638416f detect choice selection keys 2024-04-13 15:44:23 +02:00
yuni 2b0de07427 remove TIMEOUT "choices", handle it with labels instead 2024-04-13 15:40:19 +02:00
yuni 9698dcdfee render choices 2024-04-13 15:26:45 +02:00
yuni 9cd1cf19e2 WIP choice spawning 2024-04-13 12:24:56 +02:00
yuni 1fd0481ec4 implement chat speed setting 2024-04-13 01:34:18 +02:00
yuni c0672f0ad8 implement showing names of conversation partners 2024-04-13 01:25:57 +02:00
yuni eff6306a93 implement showing all first-level messages of a chat 2024-04-13 01:22:01 +02:00
yuni b41891ba3b implement showing the first message of a chat 2024-04-13 00:39:21 +02:00
yuni 45d3408f0c cleanup 2024-04-13 00:11:32 +02:00
yuni 2aaecdc113 start implementing ChatDB.advance_chat() 2024-04-13 00:05:42 +02:00
yuni ca709080eb spawn chat entity. limit number of chats to 1 2024-04-12 23:28:15 +02:00
yuni 14ef824b17 actual nice code 2024-04-12 23:18:07 +02:00
yuni ad8efd60d5 an attempt at nicer code... 2024-04-12 23:13:55 +02:00
yuni a572959df3 implement looking up chat id 2024-04-12 23:06:31 +02:00
yuni 253604e9aa cleanup 2024-04-12 21:45:36 +02:00
yuni 0117a6d4d2 load chat yaml files 2024-04-12 21:26:23 +02:00
yuni b9528b3637 split off startrans chats into separate yaml file 2024-04-12 21:25:59 +02:00
yuni 56385b257d rip out existing chat implementation
(this was SO satisfying)
2024-04-12 20:49:26 +02:00
yuni 5ca31fda65 add chat definitions in YAML format (integration still needed) 2024-04-12 20:37:19 +02:00
yuni b53545ce2c minor tweaks to conversations 2024-04-12 20:10:10 +02:00
yuni 86ce38eda1 experiment: mute reaction wheels, unless inside vehicle 2024-04-11 21:42:42 +02:00
yuni b2e6ba2b77 reset velocity when waking up after bus station cryo 2024-04-11 21:30:27 +02:00
yuni ef0ada9dac reset *some* settings on death 2024-04-11 21:20:54 +02:00
yuni 053f2827dd handle god mode properly when restarting/cheat-dying 2024-04-11 21:17:34 +02:00
yuni cb698cc3b2 Revert "reset settings on death/restart"
This reverts commit 3676fd444c.
2024-04-11 21:12:56 +02:00
yuni 3676fd444c reset settings on death/restart 2024-04-11 21:07:01 +02:00
yuni d0df5c5dbd implement rotation stabilizer (key Y) 2024-04-11 21:06:28 +02:00
yuni 9ea79ff80f death animation fallback 2024-04-11 20:58:16 +02:00
yuni 0c31055422 add key binding F7 to restart the game 2024-04-11 20:47:11 +02:00
yuni eb481edc8e implement DamageTypes, different visuals/sounds on death 2024-04-11 20:46:52 +02:00
yuni 2b74b50563 despawn AR overlay entities on death 2024-04-11 20:06:00 +02:00
yuni 0d312edeee fix bringing space crafts along with a bus ride 2024-04-11 02:14:36 +02:00
yuni dc1037e5a3 implement trips back to serenity station 2024-04-11 02:10:57 +02:00
yuni a3ea057994 implement trips to metis prime station and serenity station 2024-04-11 01:55:32 +02:00
yuni 9954c19d2a implement travel to Oscillation Station 2024-04-11 01:34:16 +02:00
yuni a6f6b8b582 implement bus stops (no riding yet) 2024-04-11 01:12:07 +02:00
yuni db3545e9a3 normalize mouse sensitivity across screen resolutions 2024-04-10 22:51:11 +02:00
yuni abaed74424 update second MeteorAceGT 2024-04-10 22:50:59 +02:00
yuni 5f56d63d32 Space Pizza™ chef: add chef hat AR overlay 2024-04-10 22:36:19 +02:00
yuni 86c2c5e410 typo² 2024-04-10 22:10:05 +02:00
yuni cd1f8c18cf move from mass-based to density-based definitions 2024-04-10 22:05:28 +02:00
yuni 860d7f8d4b clamp fov change with g force 2024-04-10 22:04:07 +02:00
yuni d064680d60 clippy: add AR face ^_^ 2024-04-10 21:03:30 +02:00
yuni 96b8ed22b2 clippy: balance, center 2024-04-10 18:26:49 +02:00
yuni e4c3eccb02 typo 2024-04-10 17:54:46 +02:00
yuni b3d63301cc clippy: chat 2024-04-10 17:54:43 +02:00