Files
wnsrc/gamemodes/ixhl2rp/plugins/willardskills/items/food/sh_xen_concoction.lua
lifestorm c6d9b6f580 Upload
2024-08-05 18:40:29 +03:00

40 lines
1.2 KiB
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 = "xen_concoction"
ITEM.name = "Extract Concoction"
ITEM.description = "You are about to embark on a great tranquility."
ITEM.category = "Xen"
ITEM.model = "models/willardnetworks/food/concoction.mdl"
ITEM.width = 1
ITEM.height = 2
ITEM.iconCam = {
pos = Vector(6.22, -199.61, 10.73),
ang = Angle(3.08, 91.74, 0),
fov = 2.58
}
ITEM.hunger = 100
ITEM.thirst = 100
ITEM.instantHeal = true
ITEM.boosts = {
strength = 15,
perception = 15,
agility = 15,
intelligence = 15
}
ITEM.spoil = false
ITEM.useSound = "ambient/levels/canals/toxic_slime_gurgle4.wav"
ITEM.colorAppendix = {["red"] = "You need permission from CT Coordinators or Vort Leads to spawn or use this item, do not drop or hand it to other players."}
ITEM.outlineColor = Color(255, 0, 0, 100)
function ITEM:OnConsume(client, character)
if !character:IsVortigaunt() then return end
ix.plugin.Get("vortigaunts"):ExtractConsume(client, character)
end