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

36 lines
998 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_chinese"
ITEM.name = "Chiń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_1chi", 1)
inventory:Add("audiobook_2chi", 1)
inventory:Add("audiobook_3chi", 1)
inventory:Add("audiobook_4chi", 1)
inventory:Add("audiobook_5chi", 1)
client:Notify("Przekonwertowałeś " .. item.name .. " w odpowiadający zestaw Audiobooków.")
end
}