Skip to content

Releases: Angel-125/Snacks

1.5.5

02 Nov 15:52
Compare
Choose a tag to compare
  • Fixed some NREs.
  • Fixed a situation where the ModuleManager patch wasn't adding snacks to crewed parts; Snacks can now dynamically add them when adding parts to vessels in the VAB/SPH.

1.5.3

23 Oct 19:29
Compare
Choose a tag to compare
  • When kerbals go EVA, they take one day's worth of snacks with them.
  • More code cleanup.
  • Bug Fixes

1.5.2

18 Oct 00:35
Compare
Choose a tag to compare
  • Temporarily disable the partial vessel control penalty.
  • Added additional checks for vessels created through rescue contracts; any crew listed as "Unowned" will be ignore.

1.5.0

17 Oct 03:22
Compare
Choose a tag to compare
  • ISnacksPenalty now has a RemovePenalty method. Snacks will call this each time kerbals don't miss any meals.
  • ISnacksPenalty now has a GameSettingsApplied method. This is called at startup and when the player changes game settings.
  • The partial control loss penalty should work now.
  • New penalty: kerbals can pass out if they miss too many meals.
  • Updated the KSPedia to improve clarity and to add the new penalty option.

New events
onBeforeSnackTime: Called before snacking begins.
onSnackTime: Called after snacking.
onSnackTick: called during fixed update right after updating the vessel snapshot.
onConsumeSnacks: Called right after calculating snack consumption but before applying any penalties. Gives you to the ability to alter the snack consumption.
onKerbalsMissedMeal: Called when a vessel with kerbals have missed a meal.

1.4.5

13 Oct 00:57
Compare
Choose a tag to compare
  • Fixed an issue with snack tins not showing up.
  • A single kerbal can now consume up to 12 snacks per meal and up to 12 snacks per day.
  • By default, a single kerbal consumes 1 snack per meal and 3 meals per day.
  • Reduced Soil storage in the Hitchhiker to 200. This only applies to new vessels.
  • Reduced Snacks per crew capacity in non-command pods to 200 per crewmember. This only applies to new vessels.
  • Added the SnacksForExistingSaves.cfg file to specify number of Snacks per command pod and snacks per non-command pod. These are used when installing Snacks into existing saves for vessels already in flight.
  • Added new ISnacksPenalty interface for mods to use when implementing new penalties. One of the options is to always apply the penalty even with random penalties turned off. Of course the implementation can decide to honor random penalties...
  • Added a Snacks Trip Planner Excel spreadsheet. You'll find it in the Docs folder. An in-game planner is in the works.

1.4.0

12 Oct 00:59
Compare
Choose a tag to compare
  • 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.
  • 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.
  • 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 incuring penalties due to being out of Snacks.

1.2.0

15 Sep 00:45
Compare
Choose a tag to compare
1.2.0 Pre-release
Pre-release

PRE-RELEASE

Recompiled for KSP 1.2

1.1.7

22 Jun 15:42
Compare
Choose a tag to compare

Updated to KSP 1.1.3