Files
wnsrc/gamemodes/darkrp/plugins/cigarettes/items/containerbags/sh_ciggie_pack.lua
lifestorm df294d03aa Upload
2024-08-04 23:54:45 +03:00

34 lines
1.1 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
ITEM.name = "Sigara Paketi"
ITEM.model = Model("models/willardnetworks/cigarettes/cigarette_pack_1.mdl")
ITEM.description = "Tam olarak 8 sigarayı içerebilen bir sigara paketi."
ITEM.allowNesting = true
ITEM.restriction = {"cigarette", "lighter"}
ITEM.noEquip = true
function ITEM:GetName()
return self:GetData("relabeled", false) and "Etiketlenmiş Sigara Paketi" or "Benefactor Edition Sigara Paketi"
end
function ITEM:GetDescription()
return self:GetData("relabeled", false) and "Tam olarak 8 sigara alabilen yeniden etiketlenmiş bir sigara paketi." or "Tam olarak 8 sigara alabilen, Combine tarafından verilen bir sigara paketi."
end
function ITEM:GetModel()
return self:GetData("relabeled", false) and "models/willardnetworks/cigarettes/cigarette_pack_1.mdl" or "models/willardnetworks/cigarettes/cigarette_pack.mdl"
end
function ITEM:OnBagInitialized(inventory)
inventory:Add("cigarette", 8)
end