Copy client_config = client_config or {}
-- Multicharacter settings
client_config.multicharacter = {
default_ped_location = vec4(-1455.41, 221.05, 57.58, 269.29), -- Default location to spawn character ped in character screen
}
-- Weather types
client_config.weather_types = {
[ GetHashKey ( 'EXTRASUNNY' )] = 'EXTRASUNNY' ,
[ GetHashKey ( 'CLEAR' )] = 'CLEAR' ,
[ GetHashKey ( 'CLOUDS' )] = 'CLOUDS' ,
[ GetHashKey ( 'OVERCAST' )] = 'OVERCAST' ,
[ GetHashKey ( 'RAIN' )] = 'RAIN' ,
[ GetHashKey ( 'THUNDER' )] = 'THUNDER' ,
[ GetHashKey ( 'CLEARING' )] = 'CLEARING' ,
[ GetHashKey ( 'NEUTRAL' )] = 'NEUTRAL' ,
[ GetHashKey ( 'SNOW' )] = 'SNOW' ,
[ GetHashKey ( 'BLIZZARD' )] = 'BLIZZARD' ,
[ GetHashKey ( 'SNOWLIGHT' )] = 'SNOWLIGHT' ,
[ GetHashKey ( 'XMAS' )] = 'XMAS'
}
-- Consumables *temp*
client_config.consumables = {
[ 'burger' ] = {
[ 'type' ] = 'food' ,
[ 'effects' ] = {
[ 'restore' ] = {
[ 'hunger' ] = 50 ,
[ 'thirst' ] = 5 ,
[ 'stress' ] = 0 ,
},
[ 'remove' ] = {
[ 'hunger' ] = 0 ,
[ 'thirst' ] = 0 ,
[ 'stress' ] = 15 ,
}
}
},
[ 'sandwich' ] = {
[ 'type' ] = 'food' ,
[ 'effects' ] = {
[ 'restore' ] = {
[ 'hunger' ] = 50 ,
[ 'thirst' ] = 5 ,
[ 'stress' ] = 0 ,
},
[ 'remove' ] = {
[ 'hunger' ] = 0 ,
[ 'thirst' ] = 0 ,
[ 'stress' ] = 15 ,
}
}
},
[ 'water' ] = {
[ 'type' ] = 'drink' ,
[ 'effects' ] = {
[ 'restore' ] = {
[ 'hunger' ] = 5 ,
[ 'thirst' ] = 50 ,
[ 'stress' ] = 0 ,
},
[ 'remove' ] = {
[ 'hunger' ] = 0 ,
[ 'thirst' ] = 0 ,
[ 'stress' ] = 15 ,
}
}
}
}
client_config.multicharacter
This is the default location to preload in the character ped.
client_config.weather_types
This is just a list of weather types used to sync the weather between clients and allow for adjusting the weather within the scenario creator option of the multicharacter.
client.config.consumables
This is a temporary table for consumables to allow for restoring character status until a improved solution has been added.