diff --git a/resources/[inventory]/mr-consumables/config/sh_config.lua b/resources/[inventory]/mr-consumables/config/sh_config.lua index d34c2ffad..bf983bab6 100644 --- a/resources/[inventory]/mr-consumables/config/sh_config.lua +++ b/resources/[inventory]/mr-consumables/config/sh_config.lua @@ -79,6 +79,63 @@ Config = { hunger = 10, } }, + ["tosti"] = { + PropModel = "prop_sandwich_01", + UsesAmount = 1, -- The Amount Of Times This Item Can Be Eaten / Drinked + Actions = { + Enter = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon) + Animation = { + Dict = "amb@world_human_stand_mobile@male@text@enter", + Anim = "enter", + flag = 49, + Speed = 1.0, -- Between 1.0 to 0.0 + }, + Attachment = { + Bone = 28422, + Coords = { x = 0.0, y = 0.0, z = -0.07, xR = 0.0, yR = 0.0, zR = 0.0 }, + } + }, + Hold = { + Animation = { + Dict = "mp_player_inteat@burger", + Anim = "mp_player_int_eat_burger", + flag = 49, + Speed = 0.0, -- Between 1.0 to 0.0 + }, + Attachment = { + Bone = 18905, + Coords = { x = 0.13, y = 0.05, z = 0.02, xR = 120.0, yR = 16.0, zR = 60.0 }, + }, + }, + Use = { + Animation = { + Dict = "mp_player_inteat@burger", + Anim = "mp_player_int_eat_burger", + flag = 49, + Speed = 1.0, -- Between 1.0 to 0.0 + }, + Attachment = { + Bone = 18905, + Coords = { x = 0.13, y = 0.05, z = 0.02, xR = 120.0, yR = 16.0, zR = 60.0 }, + }, + }, + Exit = { -- I Won't Recomenned Replacing The Animation Because Stuff Related To This Are Hardcoded (Will Be Support For Customs Soon) + Animation = { + Dict = "amb@world_human_stand_mobile@male@text@exit", + Anim = "exit", + flag = 49, + Speed = 1.0, -- Between 1.0 to 0.0 + }, + Attachment = { + Bone = 28422, + Coords = { x = 0.0, y = 0.0, z = -0.07, xR = 0.0, yR = 0.0, zR = 0.0 }, + } + }, + }, + Rewards = { -- The Reward Will Set Metadata And Will Be Set When Item Is Used (When Drinked Or Eaten Once) + hunger = 10, + } + }, ["twerks_candy"] = { PropModel = "prop_choc_ego", UsesAmount = 1, -- The Amount Of Times This Item Can Be Eaten / Drinked @@ -7760,7 +7817,7 @@ Config = { }, Attachment = { Bone = 28422, - Coords = { x = 0.0, y = 0.0, z = -0.20, xR = 0.0, yR = 0.0, zR = 0.0 }, + Coords = { x = 0.0, y = 0.0, z = -0.10, xR = 0.0, yR = 0.0, zR = 0.0 }, } }, Hold = { @@ -7771,7 +7828,7 @@ Config = { }, Attachment = { Bone = 28422, - Coords = { x = 0.0, y = 0.0, z = -0.20, xR = 0.0, yR = 0.0, zR = 0.0 }, + Coords = { x = 0.0, y = 0.0, z = -0.10, xR = 0.0, yR = 0.0, zR = 0.0 }, }, }, Use = { @@ -7783,7 +7840,7 @@ Config = { }, Attachment = { Bone = 28422, - Coords = { x = 0.0, y = 0.0, z = -0.20, xR = 0.0, yR = 0.0, zR = 0.0 }, + Coords = { x = 0.0, y = 0.0, z = -0.10, xR = 0.0, yR = 0.0, zR = 0.0 }, }, }, Exit = { @@ -7795,7 +7852,7 @@ Config = { }, Attachment = { Bone = 28422, - Coords = { x = 0.0, y = 0.0, z = -0.20, xR = 0.0, yR = 0.0, zR = 0.0 }, + Coords = { x = 0.0, y = 0.0, z = -0.10, xR = 0.0, yR = 0.0, zR = 0.0 }, } }, Throw = { @@ -7807,12 +7864,12 @@ Config = { }, Attachment = { Bone = 28422, - Coords = { x = 0.0, y = 0.0, z = 0.0, xR = 0.0, yR = 0.0, zR = 0.0 }, + Coords = { x = 0.0, y = 0.0, z = -0.10, xR = 0.0, yR = 0.0, zR = 0.0 }, }, } }, Rewards = { - thirst = 20, + thirst = 10, } }, ["sifs_golden-ale"] = {