HexscriptsClassicFood
Configurations
Here you will get all configurations & open source files that are included within this script.
Open Source Files
Config = {}
Config.Debug = false
Config.FrameWork = {
name = 'ESX', --Only ESX
loadFunc = function() --Your Framework Load Function
return exports['es_extended']:getSharedObject()
end
}
Config.HudType = 1 --1 2 3
Config.NetworkObject = false -- if you want to sync the food and thirst with other players
Config.Interval = {
food = 420, --Seconds for 1% Falling
thirst = 220, --Seconds for 1% Falling
}
Config.DamageTick = 5 --Each 500MS
Config.NoZone = { --Places where the Food and Thirst dont Decrease
vector3(1, 2, 3),
vector3(4, 5, 6),
}
Config.NoZoneSize = 125.0 --Size from the given Zones above.
--Animation Dict and Name can be found here: https://alexguirre.github.io/animations-list/
--Props can be found here: https://forge.plebmasters.de/objects
Config.Items = {
['test_food'] = {
type = 'food',
anim = {
dict = 'mp_player_inteat@burger',
name = 'mp_player_int_eat_burger',
prop = 'prop_taco_01',
sec = 5
},
val = 5,
},
['test_drink'] = {
type = 'thirst',
anim = {
dict = 'mp_player_intdrink',
name = 'intro_bottle',
prop = 'prop_ld_flow_bottle',
sec = 10
},
val = 1
},
['test_both'] = {
type = 'both', --BOTH HAS NO CUSTOM ANIMATION, ONLY THE PROP!
anim = {
prop = 'prop_ld_can_01',
sec = 3
},
val = 100
},
}