Files
wnsrc/gamemodes/ixhl2rp/plugins/languages/items/sh_box_romanian.lua
lifestorm ba1fc01b16 Upload
2024-08-04 23:12:27 +03:00

36 lines
1000 B
Lua

--[[
| 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.uniqueID = "languagebox_romanian"
ITEM.name = "Rumuński Audiobook Box"
ITEM.description = "Pudełko zawierające pełny zestaw audiobooków. Co za wygoda."
ITEM.category = "Boxes"
ITEM.model = "models/items/item_item_crate.mdl"
ITEM.width = 2
ITEM.height = 2
ITEM.functions.Convert = {
name = "Konwertuj",
icon = "icon16/wrench.png",
OnRun = function(item)
local client = item.player
local inventory = client:GetCharacter():GetInventory()
inventory:Add("audiobook_1rom", 1)
inventory:Add("audiobook_2rom", 1)
inventory:Add("audiobook_3rom", 1)
inventory:Add("audiobook_4rom", 1)
inventory:Add("audiobook_5rom", 1)
client:Notify("Przekonwertowałeś " .. item.name .. " w odpowiadający zestaw Audiobooków.")
end
}