forked from Simnation/Main
ed
This commit is contained in:
parent
0b763c9a80
commit
6e2e683db3
2 changed files with 5 additions and 2 deletions
|
@ -64,6 +64,9 @@ lib.callback.register("pickle_consumables:useItem", function(source)
|
|||
if cfg.status then
|
||||
ExecuteStatus(source, cfg.status)
|
||||
end
|
||||
-- Add drunk level functionality here
|
||||
if cfg.drunkLevel then
|
||||
exports['cs_drunk']:AddDrunkLevel(source, cfg.drunkLevel)
|
||||
end
|
||||
return true, metadata.uses
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue