-------------------------------------------------
Human needs v.0.3
-------------------------------------------------

[EN] - Please, read!

Changelog v.0.3
-------------------------------------------------
- Hidden needs stats when cutscenes are playing.
- Added key control for switching show/hide needs stats - this linked with new settings parameter "ShowNeedsStatsAtStartup" in "HumanNeeds.ini".
- Added colored background for needs stats - can be completely disabled in "HumanNeeds.ini" or you can set background transparency ("NeedsStatsBgIntensity" parameter).
- Changed inventory color title - color varies according to the active player => changed color of food stores blips and food buying menu title.
- Needs stats aligned to bottom.
- Bug fixed: use special ability is not allowed when is disabled by the game.

Changelog v.0.2
-------------------------------------------------
- Added key control setting for load/save player data and for restore needs to 100%.
- Added settings for own prices of items.
- In label for Coffee shop, Restaurant and Motel showed cost (English language).

Introduction
-------------------------------------------------
- Adds needs: eating, sleeping and having fun - I know that having fun isn't really human need, but fits to the game with this mod :). These needs must be refilled, because low values have negative effects such as loss of health, loss of special ability, etc.
- Adds shops with food and liquor, restaurants, motels and coffee shops in order to recharge your needs. 
- Each player has his own inventory with consumer goods, that can freely consume and refill by shopping.

How to install
-------------------------------------------------
1. Install "Script Hook V" by Alexander Blade (http://www.dev-c.com/gtav/scripthookv/).
2. From archive drag "HumanNeeds.asi" & "HumanNeeds.ini" into the GTA V root directory (directory with "PlayGTAV.exe").
3. Make sure, that you have installed the latest version of Microsoft .NET Framework.
4. Enjoy!

This mod vs. BasicNeeds mod
-------------------------------------------------
In this mod: 
- More customization options, as options for decreasing speed of players needs;
- adds coffee shops and drinking coffee with animation;
- automatic saving
- improved inventory and purchase menu;
- different blips colors for better recognition of shops;
- in case of exhaustion of some need, the player doesnt die;
- better animations;
- needs values in percentage;
- mod merged to one script.

Compatibility with other mods 
-------------------------------------------------
Due to a large number of different mods, its not possible to specify all of them. I mention only some of them: 
Compatible: 
- Colored Map Blips, author: Polopai (https://gta5-mods.com/misc/colored-map-blips).
- Colorful Icons, author: Polopai (https://gta5-mods.com/misc/colorful-icons-radio-weapons)
- Color Map, author: Apicedda (http://www.gtaall.com/gta-5/mods/65028-color-map-v02.html)
- Drug Trafficking, author: Guadmaz (https://gta5-mods.com/scripts/drug-trafficking)
- Fuel Script V Mod, author: Sakis25 (https://gta5-mods.com/scripts/fuel-script-v-sakis25)
- Open All Interiors, author: NewTheft (https://gta5-mods.com/scripts/open-all-interiors)
Not compatible: 
- Coffee Shops, author: Nexus AU (https://gta5-mods.com/scripts/coffee-shops)
- Working Restaurants, author: PlasticTangerine (https://gta5-mods.com/scripts/working-restaurants)
- Basic Needs [Mod Pack], author: PlasticTangerine (https://gta5-mods.com/scripts/basic-needs)

Controls
-------------------------------------------------
Default keys (can be changed in "HumanNeeds.ini" file).
- open/close inventory => "N"
- action key => "E"
- [menu] confirm selection => "NUM5"
- [menu] up => "NUM8"
- [menu] down => "NUM2"
- [menu] close => "NUM0"
- switcher for show/hide values of needs => "O" - this one is linked to "ShowNeedsStatsAtStartup" parameter in "HumanNeeds.ini".
- save all players stats to file => "CTRL+S"
- load players stats from file => "CTRL+L"
- restore all needs to 100% => "CTRL+R"

Details and features 
-------------------------------------------------
1. Needs: Levels of needs decrease with the time in the game. The speed of decreasing and maximal values of the needs can be changed in settings. 
- Food: could be refilled in restaurants, or with consumption of food from inventory or fridge in the house. Food can be partly refilled by drinking of Coke or coffee. Significant decrease of value occurs during the sleep. Negative effects: 0-15% = loss of special ability; 0-5% = no health regeneration; 0 % = slow loss of health to a minimum level (player doesnt die).
- Sleep: for refiling  just sleeping  in a motel or at home. A partial refill could be by visiting of coffee shop. Negative effects: 0-15 % = cant sprint; 0-5 % = no health regeneration; 0 % = jumping/climbing cause loss of health and after exhaustion player dies. 
- Fun: is refilled by playing mini-games, smoking cigarettes, visiting coffee shops or restaurants. A partial refill could be by drinking beer from inventory or by sleeping in a motel. Negative effects: 6-15 % = maximal health is decreased by 15 %; 0-5 % = maximal health is decreased by 30 %.

2. Health: is closely linked with sleep and food. Health could be refilled by food consumption from inventory, by food from restaurants, from fridge in your house, or by visiting coffee shops, and also by sleeping. 

3. Inventory: you can carry some food with you and eat it according to your needs almost all the time. Inventory is limited so you can carry only a certain number of each product. The limit of inventory could be changed in settings.

4. Goods in inventory:
- P's & Q's: add: +10 health; +10-20 % food; cost $1.
- EgoChaser: adds: +20 health; +20-30 % food; cost $2.
- Meteorite: adds: +30 health; +30-50 % food; cost $4.
- eCola: adds: +25 health; +5-15 % food; cost $3.
- Beer: negative effects/adds: -3 health; -7 % sleep; +25 % fun; cost $6.
- Cigarettes: negative effects/add: -8 health; -2 % sleep; +100 % fun; cost $24 per 5 pieces.

5. Shops:
- Supermarkets: In the map marked as a shopping cart (blue) Available goods: P's & Q's, EgoChaser, Meteorite and eCola.
- Liquors: In the maps marked as a shopping cart (red). Available goods: cigarettes and beer.

6. Restaurants: In the map marked with the icon of drink. In restaurants you completely refill food, fun and health. The time in the game will shift by 1 hour. Cost: $37.

7. Fridges: available in your house. Refill food to 100 % and health to maximum. Shift time by 1 hour. Cost: for free

8. Coffee shops: In the map marked as a shopping cart (brown). It is great to sit and enjoy a great cup of coffee. You get: +5-10 % food; +10-20% sleep; +100 % fun and +40 health. The time in the game will shift by 1 hour. Cost: only $13.

9. Motels: refill the sleep by 100 % and the fun by 25-50 %. You will lose 5-10 % from food and the time shifts by 7 hours, but you will get health to maximum level. In the map is marked with icon of house and sign $ (yellow). Rent for $135.

10. Sleep at home: Refill 100 % of sleep and health, but decrease food by 5-10 %. The time change is the same as in the game: Michael +6 hours; Franklin +8 hours; Trevor +12 hours.

Acknowledgments and references
-------------------------------------------------
- Big thanks to Alexander Blade and his work (http://www.dev-c.com/).
- Also a big thank to the author of the original mod (https://gta5-mods.com/users/PlasticTangerine) and also an apology for copying his ideas (the original mod was too realistic for me and because of the rapid decline of needs unusable).
- The last thanks are to the author xiaohe521, for the code for using INI files (http://www.codeproject.com/Articles/10809/A-Small-Class-to-Read-INI-File).

Conclusion and provisions 
-------------------------------------------------
- Development, testing and debug of the script on the original SocialClub (nonSteam) released version 393.4 - 617.1 GTAV.
- !!!Author (including authors of third-party software) take(s) no responsibility, which hereby fully declaim(s). Take note that any application or use of this mod or its content is only at your own risk and your own responsibility!!!
- !!!This mod doesnt support warez and therefore use it only with the original content!!!
- !!!If you disagree with the above mentioned, DONT USE THIS MOD!!!








[CZ] - Prosm, ti!

Zmny v.0.3
-------------------------------------------------
- Skryty statistiky poteb pi pehrvn meziscn.
- Pidna klvesa pro pepnn zobrazen/skryt hodnot poteb - toto je spojeno s novm parametrem nastaven "ShowNeedsStatsAtStartup" v "HumanNeeds.ini".
- Pidno barevn pozad pro hodnoty poteb - lze v "HumanNeeds.ini" vypnout, nebo me nastavit jinou intenzitu pozad (parametr"NeedsStatsBgIntensity").
- Zmnna barva zhlav v inventi - barva se mn podle aktivnho hre => zmnna barva ikon obchod s jdlem a zhlav nabdky nkupu jdla.
- Hodnoty poteb zarovnny dospod.
- Oprava chyby: pouit speciln schopnosti nen umonno, pokud nen povolena hrou.

Zmny v.0.2
-------------------------------------------------
- Pidno nastaven klves pro naten/uloen dat hre a pro obnoven poteb na 100%.
- Pidno nastaven pro vlastn ceny poloek.
- V popisku pro kavrnu, restauraci a motel zobrazena cena (Anglick jazyk).

VoCoGO
-------------------------------------------------
- Pidv poteby: jst, spt a bavit se - Vm, e bavit se nen zkladn lidskou potebou, ale do hry se k tomuto mdu hod :). Tyto poteby je nutn doplovat, nzk hodnoty maj za nsledek negativn inky, jako bytek zdrav, ztrta speciln schopnosti, atp.
- Vkld funkn obchody s jdlem (poslou i lednika ve vaem dom) a lihovinami, restaurace, motely a kavrny za elem doplovn vaich poteb.
- Kad hr m vlastn invent se spotebnm zbom, kter me libovoln konzumovat a doplovat nakupovnm.

Instalace
-------------------------------------------------
1. Nejprve je nutn mt instalovan "Script Hook V" od Alexandera Bladea (http://www.dev-c.com/gtav/scripthookv/).
2. Z archivu pethni "HumanNeeds.asi" & "HumanNeeds.ini" do hlavnho adrese GTA V (adres s "PlayGTAV.exe").
3. Ujisti se, e m instalovanou posledn verzi Microsoft .NET Frameworku.
4. HReJ!

Tento md vs. md BasicNeeds
-------------------------------------------------
V tomto mdu:
- Vce monost pizpsoben, pedevm nastaven rychlosti ubvn jednotlivch poteb hre;
- pidn kavren a konzumace kvy, vetn vloen animace;
- automatick ukldn;
- vylepen invent a menu nkupu;
- barevn odlien ikony obchod na map;
- pi vyerpn urit poteby, hr neumr;
- vylepen animace;
- hodnoty poteb vyjdeny v procentech;
- podpora eskho jazyka;
- sjednocen mdu do jednoho scriptu.

Kompatibilita s ostatnmi mdy
-------------------------------------------------
Vzhledem k velkmu mnostv nejrznjch md, nelze uvst vechny, a proto uvdm jen mn znm:
Kompatibiln:
- Colored Map Blips, autor: Polopai (https://gta5-mods.com/misc/colored-map-blips).
- Colorful Icons, autor: Polopai (https://gta5-mods.com/misc/colorful-icons-radio-weapons)
- Color Map, autor: Apicedda (http://www.gtaall.com/gta-5/mods/65028-color-map-v02.html)
- Drug Trafficking, autor: Guadmaz (https://gta5-mods.com/scripts/drug-trafficking)
- Fuel Script V Mod, autor: Sakis25 (https://gta5-mods.com/scripts/fuel-script-v-sakis25)
- Open All Interiors, autor: NewTheft (https://gta5-mods.com/scripts/open-all-interiors)
Nekompatibiln:
- Coffee Shops, autor: Nexus AU (https://gta5-mods.com/scripts/coffee-shops)
- Working Restaurants, autor: PlasticTangerine (https://gta5-mods.com/scripts/working-restaurants)
- Basic Needs [Mod Pack], autor: PlasticTangerine (https://gta5-mods.com/scripts/basic-needs)

Ovldn
-------------------------------------------------
Defaultn klvesy (lze zmnit v souboru "HumanNeeds.ini").
- oteven/zaven invente => "N"
- akn klvesa => "E"
- [menu] potvrzen vbru => "NUM5"
- [menu] nahoru => "NUM8"
- [menu] dol => "NUM2"
- [menu] zaven => "NUM0"
- pepnn zobrazen/skryt hodnot poteb => "O" - toto je spojeno s parametrem "ShowNeedsStatsAtStartup" v "HumanNeeds.ini".
- uloen statistik hre do souboru => "CTRL+S"
- naten statistik hre ze souboru => "CTRL+L"
- obnoven vech poteb na 100% => "CTRL+R"

Podrobnosti a funkce
-------------------------------------------------
1. Poteby: rovn poteb klesaj spolu s asem ve he. Rychlost klesn a maximln hodnoty jednotlivch poteb lze pomoc nastaven mnit.
- Jdlo: lze doplovat v restauracch, konzumac jdla z invente nebo z ledniky ve svm dom. Jdlo sten dopln i pit koly nebo kvy. K vraznjmu poklesu hodnoty dojde pi spnku. Negativn inky: 0-15 % = ztrta speciln schopnosti; 0-5 % = bez regenerace zdrav; 0 % = pomal ztrta zdrav na minimln rove (hr neumr).
- Spnek: pro doplnn lze jen jedin  spt, a to a u v nkterm motelu nebo doma. sten doplnn zajist i navtven kavrny. Negativn inky: 0-15 % = nelze sprintovat; 0-5 % = bez regenerace zdrav; 0 % = skkn/plhn zpsobuje bytek zdrav a po vyerpn hr umr.
- Zbava: je doplovna hranm miniher, kouenm cigaret, nvtvami kavren nebo restaurac. sten se dopln i pitm piva z invente anebo spnkem v motelu. Negativn inky: 6-15 % maximln zdrav sneno o 15 %; 0-5 % maximln zdrav sneno o 30 %.

2. Zdrav: je zce spojeno se spnkem a jdlem. Zdrav lze doplovat konzumac jdla z invente, jdlem v restauracch, z ledniky ve svm dom, navtvenm kavrny, ale i nap. spnkem.

3. Invent: Nkter zbo me nosit s sebou a konzumovat podle poteby tm kdykoliv. Invent nen neomezen, a proto lze nosit pouze urit poet od kadho zbo. Limit invente lze mnit v nastaven.

4. Zbo v inventi:
- Lentilky (P's & Q's): doplnn: +10 zdrav; +10-20 % jdla; cena $1.
- Tyinka EgoChaser: doplnn: +20 zdrav; +20-30 % jdla; cena $2.
- Tyinka Meteorite: doplnn: +30 zdrav; +30-50 % jdla; cena $4.
- Npoj eCola: doplnn: +25 zdrav; +5-15 % jdla; cena $3.
- Pivo: negativa/doplnn: -3 zdrav; -7 % spnku; +25 % zbavy; cena $6.
- Cigarety: negativa/doplnn: -8 zdrav; -2 % spnku; +100 % zbavy; cena $24 za 5 kus.

5. Obchody:
- Samoobsluhy: Na map vyznaeny nkupnm kokem (modr) Dostupn zbo: Lentilky, tyinky EgoChaser a Meteorite a npoj eCola.
- Trafiky: Na map vyznaeny nkupnm kokem (erven). Dostupn zbo: Cigarety a Pivo.

6. Restaurace: Na map vyznaeny ikonou drinku. V restauracch se podn a chutn naj, take ihned dostane 100 % k poteb "Jdlo" a "Zbava". Zdrav se dopln na maximum a as ve he sko o 1 hodinu vped. Cena: $37.

7. Ledniky: dostupn v kadm tvm zakoupenm dom. Dopln jdlo na 100 % a zdrav na maximum. as o 1 hodinu vped. Cena: dejme tomu, e nakoupila star a m to gratis.

8. Kavrny: Na map vyznaeny nkupnm kokem (hnd). Nen nad to, posedt a vychutnat si skvlou kvu. V kavrnch zsk: +5-10 % jdla; +10-20% spnku; +100 % zbavy a +40 zdrav. as hry sko o 1 hodinu vped. Cena: pouhch $13.

9. Motely: pna a smrad? NE! Luxusn noclehrny ti zajist obnoven spnku na 100 % a 25-50 % k zbav. Sice trat 5-10 % z jdla a as posko o 7 hodin, ale maximln obnov zdrav. Na map najde pod ikonou domu se znakem $ (lut) Pronjem za $135 (lapky cena nezahrnuje).

10. Spnek doma: Obnov 100 % spnku a zdrav, ale sn o 5-10 % jdlo. Zmna asu zstv podle hry, tedy: Michael +6 hodin; Franklin +8 hodin; Trevor +12 hodin.

Podkovn a reference
-------------------------------------------------
- Velk dky Alexandrovi Bladovi a jeho prci (http://www.dev-c.com/).
- Rovn velk podkovn autorovi pvodnho mdu (https://gta5-mods.com/users/PlasticTangerine) a zrove i omluvu za okoprovn jeho mylenky (pvodn md vak byl pro m pli realistick a pro rychl bytek poteb nepouiteln).
- Posledn podkovn pat autorovi xiaohe521, za kd pro pouvn INI soubor (http://www.codeproject.com/Articles/10809/A-Small-Class-to-Read-INI-File).

Zvr a ustanoven
-------------------------------------------------
- Vvoj, testovn a ladn skriptu na originln SocialClub (nonSteam) releasovan verzi 393.4 - 617.1 GTAV.
- !!!Autor (vetn autor skrze sti tetch stran) nenese/nenesou dnou odpovdnost, kter se tmto zk/zkaj v plnm rozsahu. Berte tedy na vdom, e jakkoliv pouit nebo vyuit tohoto mdu anebo jeho obsahu je pouze a jen na Vae vlastn riziko a Vai vlastn odpovdnost!!!
- !!!Tento md nen podporou warezu a proto jej uvejte pouze s originlnm obsahem!!!
- !!!Pokud nesouhlaste s ve uvedenm, tento md NEPOUVEJTE!!!