mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 21:53:46 +03:00
36 lines
993 B
Lua
36 lines
993 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_hindi"
|
|
ITEM.name = "Hindi 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_1hin", 1)
|
|
inventory:Add("audiobook_2hin", 1)
|
|
inventory:Add("audiobook_3hin", 1)
|
|
inventory:Add("audiobook_4hin", 1)
|
|
inventory:Add("audiobook_5hin", 1)
|
|
|
|
client:Notify("Przekonwertowałeś " .. item.name .. " w odpowiadający zestaw Audiobooków.")
|
|
end
|
|
}
|