ed
This commit is contained in:
parent
124e30ddab
commit
d734800a74
4 changed files with 588 additions and 0 deletions
134
resources/[inventory]/nordi_petbowl/config.lua
Normal file
134
resources/[inventory]/nordi_petbowl/config.lua
Normal file
|
@ -0,0 +1,134 @@
|
|||
Config = {}
|
||||
|
||||
-- Bowl Props
|
||||
Config.BowlProps = {
|
||||
-- Food Bowls
|
||||
{
|
||||
model = 'm25_1_prop_m51_dog_bowl_full',
|
||||
label = 'Futternapf',
|
||||
type = 'food',
|
||||
capacity = 100,
|
||||
consumeAmount = 10,
|
||||
offset = vector3(0.0, 0.0, 0.0)
|
||||
},
|
||||
-- Water Bowls
|
||||
{
|
||||
model = 'apa_mp_h_acc_bowl_ceramic_01',
|
||||
label = 'Wassernapf',
|
||||
type = 'water',
|
||||
capacity = 100,
|
||||
consumeAmount = 10,
|
||||
offset = vector3(0.0, 0.0, 0.0)
|
||||
},
|
||||
}
|
||||
|
||||
-- Fill Items
|
||||
Config.FillItems = {
|
||||
-- Food Items
|
||||
food = {
|
||||
{
|
||||
item = 'hundefutter',
|
||||
label = 'Hundefutter',
|
||||
fillAmount = 100
|
||||
},
|
||||
{
|
||||
item = 'katzenfutter',
|
||||
label = 'Katzenfutter',
|
||||
fillAmount = 100
|
||||
}
|
||||
},
|
||||
-- Water Items
|
||||
water = {
|
||||
{
|
||||
item = 'water_bottle',
|
||||
label = 'Wasser Flasche',
|
||||
fillAmount = 100
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-- Consumption Effects
|
||||
Config.Effects = {
|
||||
food = {
|
||||
hunger = 10,
|
||||
stress = -5
|
||||
},
|
||||
water = {
|
||||
thirst = 10,
|
||||
stress = -2
|
||||
}
|
||||
}
|
||||
|
||||
-- Progress Bar Settings
|
||||
Config.ProgressBar = {
|
||||
eating = {
|
||||
duration = 5000,
|
||||
label = 'Essen...',
|
||||
position = 'bottom',
|
||||
useWhileDead = false,
|
||||
canCancel = true,
|
||||
disable = {
|
||||
car = true,
|
||||
move = true,
|
||||
combat = true
|
||||
}
|
||||
},
|
||||
drinking = {
|
||||
duration = 3000,
|
||||
label = 'Trinken...',
|
||||
position = 'bottom',
|
||||
useWhileDead = false,
|
||||
canCancel = true,
|
||||
disable = {
|
||||
car = true,
|
||||
move = true,
|
||||
combat = true
|
||||
}
|
||||
},
|
||||
filling = {
|
||||
duration = 2000,
|
||||
label = 'Filling Bowl...',
|
||||
position = 'bottom',
|
||||
useWhileDead = false,
|
||||
canCancel = true,
|
||||
disable = {
|
||||
car = true,
|
||||
move = true,
|
||||
combat = true
|
||||
},
|
||||
anim = {
|
||||
dict = 'amb@world_human_gardener_plant@male@base',
|
||||
clip = 'base',
|
||||
flag = 49
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-- Notifications
|
||||
Config.Notifications = {
|
||||
bowlPlaced = {
|
||||
title = 'Bowl System',
|
||||
description = 'You placed a bowl!',
|
||||
type = 'success'
|
||||
},
|
||||
bowlFilled = {
|
||||
title = 'Bowl System',
|
||||
description = 'You filled the bowl!',
|
||||
type = 'success'
|
||||
},
|
||||
bowlEmpty = {
|
||||
title = 'Bowl System',
|
||||
description = 'This bowl is empty!',
|
||||
type = 'error'
|
||||
},
|
||||
noItem = {
|
||||
title = 'Bowl System',
|
||||
description = 'You don\'t have the required item!',
|
||||
type = 'error'
|
||||
},
|
||||
consumed = {
|
||||
title = 'Bowl System',
|
||||
description = 'You consumed from the bowl!',
|
||||
type = 'success'
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue