Angel-125

[1.4.x] Snacks! - Friendly, Simplified Life Support

Recommended Posts

Latest Release
Spacedock

Source

Original mod by:  @tgruetzm
Continuation by: Angel-125

yIXlXOL.png

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. Two years later, the game has advanced and while the original author appears to have moved on, it was time to give Snacks an update.

Snacks Continued retains the simplicity of the original mod while adding new options. You can configure things like snacks consumed per meal, meals per day, enable/disable recycling, recycling efficiency, and various penalties for hungry kerbals including reputation loss, fines, and partial loss of vehicle control. You can even enable/disable random snacking if desired. Just like with the stock CommNet, the penalties won't brick your mission- or your save. And if you're new to Snacks Continued, please consult the KSPedia.

KSPedia images

Spoiler

0N2qMCX.png

F4KxYnP.png

ybKubmj.png

hM8hWPb.png

pr4uViX.png

XY6nlZ0.png

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

Edited by Angel-125
  • Like 45

Share this post


Link to post
Share on other sites

Awesome! Congrats on your Continued Release!. I'm gonna give this a try right now!

  • Like 1

Share this post


Link to post
Share on other sites
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 by maculator
  • Like 1

Share this post


Link to post
Share on other sites
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. :)

  • Like 1

Share this post


Link to post
Share on other sites
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.

  • Like 3

Share this post


Link to post
Share on other sites

I can't wait to try Pathfinder with Snacks! :confused:

  • Like 1

Share this post


Link to post
Share on other sites

I think I may have to try LS again, this looks awesome. Actually I'm gonna try it right now :D

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 by Waxing_Kibbous
  • Like 1

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites

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 by tjt
  • Like 1

Share this post


Link to post
Share on other sites

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? :P

Edited by Yoshidude
  • Like 1

Share this post


Link to post
Share on other sites
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? :P

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.

  • Like 3

Share this post


Link to post
Share on other sites

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?

  • Like 3

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites
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?

  • Like 1

Share this post


Link to post
Share on other sites

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.

  • Like 1

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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 :wink:

 

  • Like 1

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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. :)

  • Like 3

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now