Files
wnsrc/gamemodes/darkrp/plugins/languages/items/sh_box_french.lua

36 lines
1011 B
Lua
Raw Normal View History

2024-08-04 23:54:45 +03:00
--[[
| 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_french"
ITEM.name = "French Audiobook Box"
ITEM.description = "A box containing a full set of Audiobooks. How convenient."
ITEM.category = "Audiobook Boxes"
ITEM.model = "models/items/item_item_crate.mdl"
ITEM.width = 2
ITEM.height = 2
ITEM.functions.Convert = {
name = "Convert",
icon = "icon16/wrench.png",
OnRun = function(item)
local client = item.player
local inventory = client:GetCharacter():GetInventory()
inventory:Add("audiobook_1French", 1)
inventory:Add("audiobook_2French", 1)
inventory:Add("audiobook_3French", 1)
inventory:Add("audiobook_4French", 1)
inventory:Add("audiobook_5French", 1)
client:Notify("You have converted the " .. item.name .. " into its relevant Audiobook set.")
end
}