Moves randomized hunger/thirst setup from jobs subsystem to human/initialize (#7646)

With this, bluespace technicians, emergency responders and other spawned humans without jobs will no longer start out hungry/thirsty.
This commit is contained in:
fernerr
2019-12-14 00:10:35 +02:00
committed by Erki
parent 8c5e4e2cfa
commit 480f537afb
3 changed files with 10 additions and 8 deletions
-8
View File
@@ -331,14 +331,6 @@
job.equip(H)
// Randomize nutrition and hydration. Defines are in __defines/mobs.dm
if(H.max_nutrition > 0)
H.nutrition = rand(CREW_MINIMUM_NUTRITION*100, CREW_MAXIMUM_NUTRITION*100) * H.max_nutrition * 0.01
if(H.max_hydration > 0)
H.hydration = rand(CREW_MINIMUM_HYDRATION*100, CREW_MAXIMUM_HYDRATION*100) * H.max_hydration * 0.01
if (!megavend)
spawn_in_storage += EquipCustomDeferred(H, H.client.prefs, custom_equip_leftovers, custom_equip_slots)
else