Angelo Kerman Posted October 10, 2016 Share Posted October 10, 2016 Latest ReleaseSpacedock Source Original mod by: @tgruetzmContinuation by: Angel-125 Snacks was originally published by tgruetzm in August of 2014. It offered a novel and lightweight solution to life support for those that didn't want the complexity of more sophisticated mods like TAC Life Support. This new version rebuilds the original code base in order to: Configure all sorts of options including snacks consumed per day, snacks per meal, and recycling rates. Days are calculated based on the homeworld's solar day, not the default 6/24 hours per day. Rescaled homeworld planets are supported! Provides a penalty system that won't brick your game. Run multithreaded simulations on your vessels to estimate how long your Snacks will last- ElectricCharge production & consumption are included! Maintain the lightweight feel while offering lots of customization. Want more challenge? Check out the addons in the LifeSupportResources folder: Air - Kerbals need Fresh Air to breathe in addition to Snacks to eat. They’ll faint and die without it! Your vessels are automatically equipped with a supply of Fresh Air, and you can make more from Oxidizer via the stock ISRU parts, or recycle Stale Air using the stock Hitchhiker. Stress - Cramped quarters can stress out kerbals and they’ll refuse to work! They aren’t tourists, they’ll just stop using their skills to help your mission. Other events cause Stress as well. Reduce Stress by hanging out in the stock Hitchhiker- but kerbals won’t have their skills available while they rest. Or make your own life support resource to track using the above config files as examples! If you're new to Snacks, please consult the KSPedia. KSPedia images Spoiler License Source code: The MIT License (MIT) Snack Tin artwork by SQUAD/Porkjet: CC-BY-NC 3.0 Portions of this codebase are CC-BY-NC 3.0 and derived from Taranis Elsu's Window class. Module Manager by Sarbian Installation Delete any previous instances in GameData/Snacks Copy the files in the zip folder over to GameData/Snacks Quote Link to comment Share on other sites More sharing options...
maculator Posted October 10, 2016 Share Posted October 10, 2016 Nice to see it coming back! Thanks Quote Link to comment Share on other sites More sharing options...
Elkram Posted October 10, 2016 Share Posted October 10, 2016 Awesome! Congrats on your Continued Release!. I'm gonna give this a try right now! Quote Link to comment Share on other sites More sharing options...
maculator Posted October 10, 2016 Share Posted October 10, 2016 (edited) 1 hour ago, Angel-125 said: please consult the KSPedia. This means you also made a entry for the ingame wiki? Edit: sorry for the spam,I thought the merge function would work outside my own threads too Edited October 10, 2016 by maculator Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 10, 2016 Author Share Posted October 10, 2016 Just now, maculator said: This means you also made a entry for the ingame wiki? Yup! You can see the screen in the OP as well, though they're slightly out of date as I'm adding in @Elkram's suggestion for loss of science as a penalty option. Should be ready by tomorrow. Quote Link to comment Share on other sites More sharing options...
maculator Posted October 10, 2016 Share Posted October 10, 2016 Just now, Angel-125 said: Yup! You can see the screen in the OP as well, though they're slightly out of date as I'm adding in @Elkram's suggestion for loss of science as a penalty option. Should be ready by tomorrow. Desperade kerbals eating their precious science reports because they ran out of snacks, a verry good idea. Quote Link to comment Share on other sites More sharing options...
Jimbodiah Posted October 10, 2016 Share Posted October 10, 2016 Way to go Angel!!! Quote Link to comment Share on other sites More sharing options...
Crabman Posted October 10, 2016 Share Posted October 10, 2016 I can't wait to try Pathfinder with Snacks! Quote Link to comment Share on other sites More sharing options...
Thraken Posted October 10, 2016 Share Posted October 10, 2016 Glad to see this updated to 1.2! Quote Link to comment Share on other sites More sharing options...
Waxing_Kibbous Posted October 10, 2016 Share Posted October 10, 2016 (edited) I think I may have to try LS again, this looks awesome. Actually I'm gonna try it right now Edit: Tiny bug/tweak request: snack containers are with fuel tanks, better to put them with utility or maybe payload? Edit Edit: I think I'm getting whacked with penalties due to having rescue contracts, that old thing... Edited October 10, 2016 by Waxing_Kibbous Quote Link to comment Share on other sites More sharing options...
OldLost Posted October 10, 2016 Share Posted October 10, 2016 Looks good Angel. Thanks for maintaining this. FYI, in your second KSPedia image the arrow for Duration is not pointing to duration but the name of a Vessel called "Long Duration Spacecraft". Just thought you'd want to know. Quote Link to comment Share on other sites More sharing options...
Tyko Posted October 11, 2016 Share Posted October 11, 2016 (edited) This is great! I haven't tried Snacks before and I'm excited to give it a spin Quick suggestion: I noticed that Snacks uses Months as a measure of time which aren't really used in the rest of the game. I feel like using Months (which are what? approx 6 days?) just complicates my math and just using a straight Days count would actually be more user friendly. Edited October 11, 2016 by tjt Quote Link to comment Share on other sites More sharing options...
Yoshidude Posted October 11, 2016 Share Posted October 11, 2016 (edited) Glad to see this gem finally get some light! I have a quick question though, is there an option to have kerbal death (or have the kerbal become useless) on snack deprivation, and if not, is it a planned feature? Or is that too close to existing life support mods? Edited October 11, 2016 by Yoshidude Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 11, 2016 Author Share Posted October 11, 2016 38 minutes ago, tjt said: This is great! I haven't tried Snacks before and I'm excited to give it a spin Quick suggestion: I noticed that Snacks uses Months as a measure of time which aren't really used in the rest of the game. I feel like using Months (which are what? approx 6 days?) just complicates my math and just using a straight Days count would actually be more user friendly. I'll add a straight up days option for the next release so you can toggle between years/months/days and just days. 9 minutes ago, Yoshidude said: Glad to see this gem finally get some light! I have a quick question though, is there an option to have kerbal death (or have the kerbal become useless) on snack deprivation, and if not, is it a planned feature? Or is that too close to existing life support mods? Currently there's no kerbal death option. That would go against the philosophy of not bricking your mission. I'm trying to keep to SQUAD's philosophy of not bricking the mission when things go bad, just like it is with CommNet. Other more sophisticated life support mods have the death penalty. Speaking of penalties, I've added a science loss penalty as an option. If kerbals get hungry, you'll lose data, science data stored in containers, and data stored in experiments, in that order. Not all at once; if you run out of lab data, then Snacks moves onto data stored in your science containers. If there aren't any, then Snacks moves to data in your experiments. If there isn't any, then you're off the hook. Quote Link to comment Share on other sites More sharing options...
Daelkyr Posted October 11, 2016 Share Posted October 11, 2016 You, as always, freaking rock. My first career play thru might have to be an @Angel-125 mod game. Between MOLE, Pathfinder, Buffalo, and Snacks! what else do I need? Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 11, 2016 Author Share Posted October 11, 2016 okiedoke, Snacks is all set for KSP 1.2's official release. Quote Link to comment Share on other sites More sharing options...
Waxing_Kibbous Posted October 11, 2016 Share Posted October 11, 2016 If we are making requests.... one thing I really liked about USI-LS was that Kerbals would go into tourist mode instead of dying- is this something that can be added? I recall there being a pretty high level of complexity for @RoverDude to deal with in that area. Also, did the penalties for kerbals involved in rescue contracts get fixed, or is it on the radar? Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 11, 2016 Author Share Posted October 11, 2016 11 minutes ago, Waxing_Kibbous said: If we are making requests.... one thing I really liked about USI-LS was that Kerbals would go into tourist mode instead of dying- is this something that can be added? I recall there being a pretty high level of complexity for @RoverDude to deal with in that area. Also, did the penalties for kerbals involved in rescue contracts get fixed, or is it on the radar? That's a nice feature to be sure, but it would brick your save if you uninstall Snacks and you have kerbals turned into tourists. That's something I'm trying to avoid. Snacks takes the same philosophy as CommNet: don't brick your mission/save. For the penalties involving rescue contracts can you elaborate on what's happening? Do you have screenshots? Quote Link to comment Share on other sites More sharing options...
Waxing_Kibbous Posted October 11, 2016 Share Posted October 11, 2016 I had several rescue contracts around different bodies, sometimes when I timewarped I would get messages that came up saying I was being penalized- however the only ship that I had available to fly was amply stocked. It could be that I installed this mod after I had the rescue contracts accepted, which makes sense if it's only broken for me. Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 11, 2016 Author Share Posted October 11, 2016 20 minutes ago, Waxing_Kibbous said: I had several rescue contracts around different bodies, sometimes when I timewarped I would get messages that came up saying I was being penalized- however the only ship that I had available to fly was amply stocked. It could be that I installed this mod after I had the rescue contracts accepted, which makes sense if it's only broken for me. Ok, I'll see what I can do. I think the issue is adding the Snacks mod to an existing save. Quote Link to comment Share on other sites More sharing options...
Waxing_Kibbous Posted October 11, 2016 Share Posted October 11, 2016 4 minutes ago, Angel-125 said: I think the issue is adding the Snacks mod to an existing save. Me too- so, here is the snacks readout: Sanina's Wreckage 0/0 Crew: 1 Duration: Done before installing Snacks. Has been in orbit a while though. Mitpoint's Wreckage: 0/100 Crew: 1 Duration: Just accepted while Snacks is installed. Does this help at all? I may not play much today, but I will keep an eye on things, I will leave Ol' Mittens up there for a while Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 11, 2016 Author Share Posted October 11, 2016 33 minutes ago, Waxing_Kibbous said: I had several rescue contracts around different bodies, sometimes when I timewarped I would get messages that came up saying I was being penalized- however the only ship that I had available to fly was amply stocked. It could be that I installed this mod after I had the rescue contracts accepted, which makes sense if it's only broken for me. Great, that helps. I can definitely fix the first case where you have 0/0 Snacks. The second case where the part is spawned with no Snacks may take a bit longer to figure out. Quote Link to comment Share on other sites More sharing options...
Waxing_Kibbous Posted October 11, 2016 Share Posted October 11, 2016 2 minutes ago, Angel-125 said: Great, that helps. I can definitely fix the first case where you have 0/0 Snacks. The second case where the part is spawned with no Snacks may take a bit longer to figure out. I think most LS systems don't start the consumption timer on rescue missions until the player gets within X distance of the wreckage to handle this. I have one that I can take 11 years to complete, so that's probably the best way to handle it. Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 11, 2016 Author Share Posted October 11, 2016 10 minutes ago, Waxing_Kibbous said: I think most LS systems don't start the consumption timer on rescue missions until the player gets within X distance of the wreckage to handle this. I have one that I can take 11 years to complete, so that's probably the best way to handle it. I'll have to figure out how rescue contracts work so that I can intercept when they're created and ignore them until you get within range. Snacks currently isn't set up to do that. Quote Link to comment Share on other sites More sharing options...
Angelo Kerman Posted October 12, 2016 Author Share Posted October 12, 2016 Incoming Snacks 1.4.0! - Adjusted Snack production in the MPL; it was way too high. Ore -> Snacks is now 1:10 with mass conservation. A 1.25m Small Holding Tank (holds 300 Ore) now produce 3,000 Snacks. - Added display field to Snack Processor that tells you how the max amount of snacks per day that it can produce. It's available in the VAB, SPH, and during Flight. - Moved Snack Tins to the Payload tab. - Added option to show time remaining in days. - When kerbals go hungry, added the option to randomly choose one penalty from the enabled penalties, or to apply all enabled penalties. - Added lab data/experiment data loss as an optional penalty. If you have lab data, that will be the first to go, followed by experiment data stored in containers, followed by experiment data stored in experiments. - You can now register/unregister your own custom penalties. This is particularly useful for addons to Snacks. - Cleaned up some KSPedia issues. - Fixed an issue with adding Snacks to existing saves. - Fixed an issue with vessels spawned from rescue contracts incurring penalties due to being out of Snacks. At this point, Snacks is just about where I envisioned it to be. I want to add hooks to allow modders to add more information to the supply window, and convert the supply window over to Unity 5's canvas system (I haven't done that before). But it's definitely playable in its current form. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.