Space Engineers

Space Engineers

55 ratings
Daily Needs MK 4 Simplified - Survival Needs for Space Engineers
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Script, Production, Other
Tags: hud
File Size
Posted
Updated
205.143 MB
3 Feb, 2019 @ 12:16am
20 Dec, 2019 @ 9:11pm
3 Change Notes ( view )

Subscribe to download
Daily Needs MK 4 Simplified - Survival Needs for Space Engineers

Description
A backport of the Daily Needs Mk4 mod available at https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1608841667

This uses the original Daily Needs Simplified production chain, and is compatible with any extra food packs that are based upon any Daily Needs version, if you want to download it separately.

This version only uses the three essential buildings (Water purifier, Hydroponics, and Kitchen) and allows building them on small-grid ships for those of us who like owning a flying food truck.

You may easily define your own foods without having to change the code by adding the following strings to the food ingot's subtypeID:

!filXX = survival food, will fill up to 50% (that's lowercase l not uppercase I)
!fihXX = fresh food, will fill up to 100%
!diXX = drink, will fill up to 100%

special: Call something a bouillon (needs "ouillon" string in it) to make it refill both food and water.
special: Call something coffee (needs "offee" string in it) to make it refill fatigue, if fatigue is enabled.


Here's the supply chain:

* Build a water recycler to turn ice or grey water into drinkable water.

* Build a hydroponic cell to turn organic material (which you can mine on Earthlike and Alien planets by drilling grass, or.... well, see above for in-suit recycling), plus gravel or stone, plus drinkable water, into veggies. The process is slow.. You can eat the veggies raw, if you need to. Should you find seeds, you can use them instead or alongside organic matter.

* Finally, build a food processing module to assemble various recipes. You can make artificial food from nutrients if you have no hydroponic units; you can cook your veggies if you do; and you can cook wildlife by collecting their meat and, if available, eggs from kills.

Building multiple hydroponics cells is recommended, but not strictly necessary; one engineer can survive on two.

In case only the food processing module is operative, in an emergency you can use it to turn ice into drinkable water, although this is less efficient than using the water recycler. You can also directly turn organic matter into artificial food, which provides a bare minimum of nutrition (and will not refill your meter completely).

As with all food+water mods, your character will eat and drink automatically when your hunger/thirst level reaches 30%. However, being thirsty will hurt you more than being hungry! In addition, you can configure this, see below.

When you eat or drink, your suit will process any waste into greywater and organic material (see below).

When you die, you will drop a small amount of waste depending on how full you were (see below).

Your oxygen/hydrogen generator will also accept drinkable water and grey water in addition to ice.

The eating and drinking intervals are now stored in a configuration xml file (autogenerated after first run), to allow easy customization of servers.

This mod is furniture aware! This is all optional, and will show up if you load other mods.

* Built a treadmill? Use it at a light jog, for extra power at the price of a little fatigue.

* Built a bed? Lie down on it for a few seconds to quickly recover fatigue. If you are on a bed, your fatigue meter will go up to 150%.

* Built a toilet stall? Use it to let your suit know that it's OK to process waste immediately - useful if you need greywater or organic mass right now instead of later.

* Built a chair (Any passenger chair or furniture chair will do)? Add "noms" somewhere in the name, to sit down to eat. You will get a 25% bonus on you food and water meters, and it will make your character eat immediately from the inventory. Remember to sit down to eat and chew slowly!

* In cryostasis? No worries, your metabolism is also frozen. But you will likely need some actual rest upon emerging...

(Explanation for the above: For beds, toilets and treadmills, the block TYPE must contain "bed" or "treadmill"... so no cheating with names. For eating chairs, the block NAME must contain "noms", so use anything.)



The file values are:

MAX_VALUE (100): How high your hunger/thirst meter can go.
MIN_VALUE(-100): How low can it go. Less than 0 is used for ramping damage.
HUNGRY_WHEN(0.3): Try to eat when your meter is this much of its maximum (default is 0.3 of 100, so 30)
THIRSTY_WHEN(0.3): Try to drink when your meter is this much of its maximum (default is 0.3 of 100, so 30)
HUNGER_PER_DAY(100): How often you'd have to eat per solar day (minimum 2h), default is 1 meal/day with meter at 100.
THIRST_PER_DAY(300): How often you'd have to drink per solar day (minimum 2h), default is 3 drinks/day with meter at 100.
DAMAGE_SPEED_HUNGER(-0.2): Negative: Damage multiplier if you go below 0 on your meter. Positive: Straight damage (noncumulative).
DAMAGE_SPEED_THIRST(-0.6): Negative: Damage multiplier if you go below 0 on your meter. Positive: Straight damage (noncumulative).
MODIFIERS(1~2): Doing this activity will cause a change in your metabolism.
CRAP_AMOUNT(0.9): The amount of waste that your suit manages to recover after you've digested a meal or a drink.
CROSS_CRAP_AMOUNT(0): The amount of waste of the other type (solid/liquid) that your suit manages to recover.
DEATH_RECOVERY(2): The amount of waste that your suit recovers on your death. Scales down to 0, with this amount being the maximum if you die with your meters full.
FATIGUE_ENABLED (true/false): See below.

NEW:

The setting FATIGUE_ENABLED adds fatigue. You use fatigue by running, sprinting, crouch-walking and operating a jetpack. Walking is neutral. Sitting, crouching, and standing regains fatigue.

When your fatigue reaches 0, your thirst level will increase dramatically. You can still run around.

Very low fatigue (under -25%) may force you to walk or crouch down, if you aren't overriding it by sprinting.

Warning: If your fatigue reaches very low values below 0, you may drop from exhaustion, or open your helmet trying to breathe!

Since you are an engineer, drinking coffee miraculously replenishes your fatigue levels.


Want to see my real life robots, lasers, and space engineering stuff? it's at http://www.robots-everywhere.com

Want to see my free RPG and boardgame stuff? it's at http://www.emlia.org
58 Comments
infra-dan-accelerator unit 84725 18 Nov, 2023 @ 6:00pm 
and eating certin things still hurts me
infra-dan-accelerator unit 84725 17 Nov, 2023 @ 12:44pm 
change the code so thares no "if mode=creative" or whatever. i have a serprate mod "eat sleep drink repeat!" and it works in creative only when a stat reaches zero no damege is taken. add the same here!
spiritplumber  [author] 16 Nov, 2023 @ 8:14pm 
Because in creative you're supposed to be invulnerable :)
infra-dan-accelerator unit 84725 12 Nov, 2023 @ 10:50am 
why doesnt it work in creative?
infra-dan-accelerator unit 84725 12 Nov, 2023 @ 10:50am 
OR,scrap the HUD markers,just allow me to consuome them! add "consuomble=true" tag to them,or at leat thats what i think it is...
infra-dan-accelerator unit 84725 12 Nov, 2023 @ 10:48am 
i am not a good programer, i can program VERY simple things but i dont know how to mod games yet...
infra-dan-accelerator unit 84725 12 Nov, 2023 @ 10:47am 
and you can add the stats that you can toggle on/off in settings. make them appear like in "eat,sleep,drink,repeat!" heard of that? and you can change what the icon/text is. i wuold make it say "daily needs:food/water" respectivly.
infra-dan-accelerator unit 84725 12 Nov, 2023 @ 10:44am 
hello! can you make this mod work in creative? i like creative mode and having the iccluded blocks in my base is nice,the atnimsshions are really cool but thats the only prerpose. i want to actully USE them
cgw 7 Jul, 2023 @ 2:11pm 
Text HUD APi All OK AllWork.
MOD_CRITICAL_ERROR: Crop Grower, in file: Unknown
MOD_ERROR: Daily Needs MK 4 Simplified - Survival Needs for Space Engineers 6 Error
MOD_ERROR: Daily Needs Survival Kit ( DNSK - Mk4.1a ) 4 Error
MOD_ERROR: DNSK - Bio-Fuel Production & Power Generators 1 Error
load only 5 Mods
infra-dan-accelerator unit 84725 25 Mar, 2023 @ 7:36pm 
ok thanks