Commit graph

1167 commits

Author SHA1 Message Date
yuni afb67d0d0f smaller flashlight cone 2024-09-22 17:12:46 +02:00
yuni 3105b75b1c reduce all power gain/usage, turning kW into W 2024-09-22 17:12:23 +02:00
yuni ef7aae7201 clean up menu 2024-09-22 16:21:18 +02:00
yuni b6b8e6a8d0 add radiation damage 2024-09-22 07:15:29 +02:00
yuni 56bab3f526 fix suit modifications not being saved 2024-09-22 07:15:07 +02:00
yuni b1b2ed5f34 better suit modding descriptions 2024-09-22 07:14:58 +02:00
yuni 5aa815a803 show radioactivity icon on reactor overload 2024-09-22 06:42:44 +02:00
yuni 5104f2bbcf add extra-bright flash light mode 2024-09-22 06:39:21 +02:00
yuni bb539c00cc implement reactor overload and shutdown 2024-09-22 06:38:44 +02:00
yuni 0b5058abf5 menu: display suit system power usage 2024-09-22 06:12:15 +02:00
yuni ae3e9c9b48 change thruster sound pitch while boosting 2024-09-22 06:00:11 +02:00
yuni b5e969f0f7 added audio + visual effects for battery overload 2024-09-22 05:50:01 +02:00
yuni ebe028d567 add thruster boost feature 2024-09-22 04:47:27 +02:00
yuni c48e5cdb3a add setting for flashlight strength 2024-09-22 03:42:27 +02:00
yuni 93293092ce add setting for light amplification strengh, incl. power drain 2024-09-22 03:11:08 +02:00
yuni 2876266008 cleanup 2024-09-17 16:41:19 +02:00
yuni 3e8d4bf6d7 particles: show them only in augmented reality 2024-09-17 16:41:04 +02:00
yuni 6704056d3a click3.ogg: add new sound for targeting and menu cursor movement 2024-09-17 01:11:31 +02:00
yuni 4b42f441dc improve Luna's conversation 2024-09-17 00:50:51 +02:00
yuni cdc1dcec36 fix crash in handle_wants_lookat/trans.up() when trans.translation is 0 2024-09-16 04:07:36 +02:00
yuni 8b0d4d3df9 release+unhide mouse cursor in menu 2024-09-16 02:31:51 +02:00
yuni 16a578d294 particles: make them bearable in first-person-view 2024-09-16 02:20:36 +02:00
yuni 39054c71d2 particles: make unlit 2024-09-16 01:42:57 +02:00
yuni 5ab4ee2fcf particles: disable when inside vehicles 2024-09-16 01:36:51 +02:00
yuni 7e7b8e7432 particles: fade out transparency over time 2024-09-16 01:17:43 +02:00
yuni 4f71f833fb particles: grow now over time 2024-09-16 00:45:20 +02:00
yuni b01823c641 WIP thruster particles 2024-09-16 00:45:05 +02:00
yuni dcb6e6e5a9 fix handle_wants_lookat() with ID_SPECIAL_PLAYERCAM 2024-09-15 23:51:03 +02:00
yuni 904f7927eb renamed "Radio: Space Wave" to "Speakers: Space Wave Radio" 2024-09-15 23:50:04 +02:00
yuni 06a0bf3984 var: fix radio station 2024-09-15 21:12:58 +02:00
yuni 45a58ac350 camera: tweak sounds of engine and reaction wheel 2024-09-15 05:11:57 +02:00
yuni 0dd0474bb0 cargo fmt 2024-09-15 04:53:33 +02:00
yuni 533a3a5543 add sound for drinking coffee/pizza 2024-09-15 04:52:04 +02:00
yuni fa9f1096cd add car door sounds when entering/exiting vehicles 2024-09-15 04:30:09 +02:00
yuni 83ab703ea9 add oxygen refill sound 2024-09-15 04:06:33 +02:00
yuni 69972f9f8e Add new free background music: Takeoff (remastered) by Serat 2024-09-15 02:39:50 +02:00
yuni d358718081 hud: show Info messages in subtitles 2024-09-15 02:30:13 +02:00
yuni 9769658bfd fix "Could not determine Jupiter's position" warning 2024-09-15 02:13:25 +02:00
yuni cb2ff574ed remove nonfree "Aleksey Chistilin - Cinematic Cello.ogg" 2024-09-14 23:47:13 +02:00
yuni 8309e32f85 simplified noise cancellation, add "Amplify outside recordings" to radio 2024-09-14 23:43:21 +02:00
yuni bd155c0be5 growl.ogg: added free replacement for bikestart.ogg 2024-09-14 01:53:50 +02:00
yuni a49edac0ce click2.ogg: added as free replacement of typosonic-typing-192811-crop.ogg 2024-09-13 23:46:20 +02:00
yuni 1ddb7675ea cargo fmt 2024-09-13 23:40:03 +02:00
yuni bd206be108 replaced click.ogg with a selfmade free variant 2024-09-13 23:36:56 +02:00
yuni e350697125 remove rocket.ogg 2024-09-13 22:44:23 +02:00
yuni fbf5581ea5 don't accelerate chat speed in dev mode, since you can now fast forward 2024-08-19 00:12:46 +02:00
yuni e49c7e052f add ` key to fast forward conversation 2024-08-19 00:11:24 +02:00
yuni 8837ffea1b ask if player wants soykaf or pineapple pizza when learning about them 2024-08-18 23:53:30 +02:00
yuni 495046a09f fix pizza achievement with "Surprise me" option 2024-08-18 23:46:23 +02:00
yuni e54aea5b46 revert saving state about luna introduction 2024-08-02 04:09:01 +02:00
yuni b7838e0f5a The cake is a lie 🍰 2024-08-02 04:03:47 +02:00
yuni 9a091cd9f3 Add Leonard Nimoy's death poem 2024-08-02 02:34:44 +02:00
yuni 458b712394 cleanup 2024-08-02 02:27:36 +02:00
yuni 9d44a2db85 tweak conversation 2024-08-02 02:18:39 +02:00
yuni 2337da40ae save game state about Luna's introduction 2024-08-02 02:09:35 +02:00
yuni 03be6d176c add handcrafted collider for clippy, giving a huge performance boost 2024-08-01 20:53:00 +02:00
yuni f33855c018 more conversation for Luna 2024-07-31 20:49:32 +02:00
yuni 0af4b7dab9 add autogeneration warning to src/data/scenes.in 2024-07-31 06:43:11 +02:00
yuni c4e75278fc extend conversation of Luna, add tuned MeteorAceGT 2024-07-31 06:35:29 +02:00
yuni f5154216e5 fix Luna chat 2024-07-31 05:22:35 +02:00
yuni 2998282462 add 2 light orbs near Luna 2024-07-31 05:21:12 +02:00
yuni 398266ea83 add a chat for Luna, he now repairs suit and refills oxygen tank 2024-07-31 05:04:21 +02:00
yuni a6c88e1344 add Luna's workshop with a couple of shipping containers 2024-07-31 04:49:11 +02:00
yuni 5847fde332 fix matching velocity when inside vehicles 2024-07-14 21:16:32 +02:00
yuni 20b2ae049a cleanup (cargo fmt) 2024-07-14 21:16:19 +02:00
yuni f2ed30a5b6 brighter flashlight 2024-07-14 21:09:00 +02:00
yuni 6b0dd36859 cleanup (cargo fmt) 2024-07-14 21:08:41 +02:00
yuni ed0641d68e fix flashlight when in vehicles 2024-07-14 21:08:35 +02:00
yuni 534a313e21 place only 1 cruiser in test scene 2024-07-14 20:29:07 +02:00
yuni 441efcabef rename "Eclipse the Sun with Jupiter" achievement to "Enter Jupiter's Shadow" 2024-07-14 20:24:39 +02:00
yuni fb82e3cc29 add comment about possible panic 2024-07-13 14:31:11 +02:00
yuni e5f9409fd8 automatically match velocity to the closest object 2024-07-13 14:30:02 +02:00
yuni 5e9441dd5e abstract out orbit calculation into nature::pos_offset_for_orbiting_body() 2024-07-12 15:32:45 +02:00
yuni 90c89fc3f3 add comments 2024-07-12 14:58:50 +02:00
yuni 4f787c33e8 cleanup (remove unnecessary scope block, unindenting by 1)
(I had this scope block before in order to release ownership of some
variable so that it can be used again after the scope block, but seems
like this is not necessary anymore by now)
2024-07-12 14:23:54 +02:00
yuni cc45c7bc05 fix clippy colliders with "collider mesh" 2024-07-11 22:49:53 +02:00
yuni 4cc267b55c fix supply crate collider with "collider mesh" 2024-07-11 22:49:36 +02:00
yuni 45fac4d35f fix orange light orb collider with "collider mesh" 2024-07-11 22:49:20 +02:00
yuni 075520d68b Revert "fix collisions with light orbs (orange only)"
This reverts commit 4c4d776741.
2024-07-11 22:44:56 +02:00
yuni 252aabf16b fix bus stop light orb collisions 2024-07-11 22:42:05 +02:00
yuni 4c4d776741 fix collisions with light orbs (orange only) 2024-07-11 22:28:12 +02:00
yuni 9967c6feca add "I don't want to talk to you" option to Icarus 2024-07-09 04:59:23 +02:00
yuni 3e22d4d493 shorter dialog 2024-07-09 04:50:47 +02:00
yuni 3f5bb0c21a s/micros/micrometeorites 2024-07-09 04:49:11 +02:00
yuni dc6b419afd cargo fmt 2024-07-09 04:33:31 +02:00
yuni 1ce56ac909 bevy14: update GLtf emission parameters (*1/1000) 2024-07-09 03:58:03 +02:00
yuni 21a800942e bevy14: fix suit animation 2024-07-09 03:32:03 +02:00
yuni a14dbcb5c7 bevy14: upgrade Translation::look_at with directional arguments 2024-07-09 02:45:44 +02:00
yuni 82ff5491a6 bevy14: Fix error with multiplying color by float 2024-07-09 02:42:10 +02:00
yuni f8cb84ccb1 bevy14: Upgrade Color method names (set_a -> set_alpha) 2024-07-09 02:41:05 +02:00
yuni b038468cfc bevy14: upgrade Color::hex usage 2024-07-09 02:38:28 +02:00
yuni 18760e43c8 bevy14: fix warnings about deprecated Color::rgb(a) usage 2024-07-09 02:32:56 +02:00
yuni 3165cfd754 bevy14: upgrade color palette usage 2024-07-09 02:28:55 +02:00
yuni b1ff21aec4 bevy14: upgrade AppExit enumerator 2024-07-09 02:19:44 +02:00
yuni 877e664df9 cleanup 2024-06-17 02:03:19 +02:00
yuni c8825fb99b battery lasts 10x as long (for flashlight) 2024-06-17 01:58:59 +02:00
yuni c5d744b280 less debug output when saving config file 2024-06-17 01:49:37 +02:00
yuni 20e17e8faa fix hud toggling when starting the game with disabled hud 2024-06-17 01:48:46 +02:00
yuni 377c2a4f0b save/load avatar setting from config file 2024-06-17 01:43:23 +02:00
yuni 548386ef54 cleanup 2024-06-17 01:40:14 +02:00
yuni 3b82ed22a3 clear target when entering targeted vehicle 2024-06-16 23:58:41 +02:00
yuni 5ae8c7dc25 Sus now tries to kill you if you offend him 2024-06-15 02:13:33 +02:00
yuni 982ea00fc7 more dialogue for Sus 2024-06-15 01:50:43 +02:00
yuni a01bf79542 move Sus to pizzeria 2024-06-14 17:09:52 +02:00
yuni 8ce084b72f require less oxygen for emergency conversation option 2024-06-14 17:09:24 +02:00
yuni cd98b16926 add conversation for Sus 2024-06-14 17:00:13 +02:00
yuni 02499e8d05 add "sus" suit 2024-06-14 15:51:31 +02:00
yuni c273217f65 implement noise cancellation modes 2024-06-13 04:06:15 +02:00
yuni 4e8794338a fix wrong radio playing on startup 2024-06-13 03:41:15 +02:00
yuni 8c7a856717 implement radio stations 2024-06-13 03:26:19 +02:00
yuni f1512e01c9 create config file/directory if it doesn't exist yet 2024-06-13 02:18:58 +02:00
yuni eedc379c8d save/load many of the game settings to/from config file 2024-06-13 02:18:22 +02:00
yuni 2eb68e94f7 cleanup 2024-06-13 00:43:01 +02:00
yuni 43756fc09c platform-independent configuration file path 2024-06-13 00:42:23 +02:00
yuni 0f0d1aa1a9 cleanup 2024-06-13 00:39:11 +02:00
yuni 4ed006c548 fix console output in var::load_prefs (bevy macros dont work here) 2024-06-13 00:05:45 +02:00
yuni 5082449c11 add option to ask Chef for oxygen 2024-06-12 02:35:36 +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 f8913b8fa3 fix positioning of scene objects 2024-06-12 01:30:07 +02:00
yuni 94ea7ecec2 fix conversation, jupiter is not always a crescent anymore 2024-06-12 01:26:04 +02:00
yuni 727cdcb0c1 better conversation flow for Chef 2024-06-12 01:23:31 +02:00
yuni 009a7ba1dd you can now ask Icarus for oxygen if you're suffocating 2024-06-12 01:06:11 +02:00
yuni 9e121cf633 fix off-by-one error in GameVars::normalize_varname() 2024-06-12 00:59:07 +02:00
yuni 0c622f28ab add debugging code to GameVar::evaluate_condition() 2024-06-12 00:58:38 +02:00
yuni 625bf21c84 continuously set/update chat variable $$player_oxygen_seconds 2024-06-12 00:57:55 +02:00
yuni 3b540b290d debug key now dumps all game variables to console 2024-06-12 00:57:42 +02:00
yuni 8636b08b5f add unit test for GameVars::normalize_varname() 2024-06-12 00:54:26 +02:00
yuni 7ec52b3503 more icarus dialogue 2024-06-11 23:11:28 +02:00
yuni 9d54a9d412 add scene's coordinates to scene object's coordinates 2024-06-11 05:59:10 +02:00
yuni f2246a247f implement scene loader (transformations are still a bit wonky) 2024-06-11 05:50:15 +02:00
yuni a3661cc43f add cruiser template 2024-06-11 05:50:13 +02:00
yuni 2c1dacbf03 flesh out scene loader 2024-06-11 05:49:59 +02:00
yuni 6275a64d7c ignore gravity when calculating g forces
Because gravity is obviously not a force, just a magical property of
spacetime, conveyed by messenger particles called Higgs Bosons which act
as force carriers for this non-force.  Who made this up? :D
2024-06-11 03:29:50 +02:00
yuni 91bf2ddc54 fix velocity after using stop cheat 2024-06-11 03:04:54 +02:00
yuni 79351dc4d0 fix velocity after using teleport cheats 2024-06-11 02:59:10 +02:00
yuni 4dd195e17a fix velocity after traveling with busses 2024-06-11 02:54:13 +02:00
yuni 3d26b0915d add Id2V resource, "wants matchvelocitywith" command 2024-06-11 02:46:31 +02:00
yuni 46a030f15e speedometer shows speed relative to orbital velocity 2024-06-11 01:12:41 +02:00
yuni d04b400fad "space" key now slows down relative to orbital velocity 2024-06-11 01:04:23 +02:00
yuni 77c1bd1e6a add game::JupiterPos resource 2024-06-11 00:58:56 +02:00
yuni cd13b529c3 base handle_wants_maxvelocity on current orbital velocity 2024-06-11 00:50:25 +02:00
yuni 76272a7fc2 add "target_velocity" var to handle_wants_maxvelocity() 2024-06-11 00:05:03 +02:00
yuni d9af542d54 give objects orbiting jupiter an orbital velocity on startup 2024-06-10 23:19:33 +02:00
yuni e16a650b22 apply gravity towards Jupiter for objects orbiting Jupiter 2024-06-10 23:19:33 +02:00
yuni 7be6b0746f disable ring asteroids by default 2024-06-10 23:19:33 +02:00
yuni 974bf9cb8d add feature flag for toggling the generic ring asteroids 2024-06-10 23:19:33 +02:00
yuni e56f931951 ignore gforce for 0.01s on startup, to survive a large starting velocity 2024-06-10 23:19:33 +02:00
yuni 24a9b208bd fix direction of orbital velocity 2024-06-10 23:19:33 +02:00
yuni 1614ece72a update the 2 new nature functions using DVec3 instead of Vec3 2024-06-10 23:19:33 +02:00
yuni 169b9ee257 add nature::gravitational_acceleration, incl. test 2024-06-10 23:19:33 +02:00