mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
36 lines
1000 B
Lua
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
|
||
|
|
}
|