mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
37 lines
981 B
Lua
37 lines
981 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.name = "Ragoût d'Antlion"
|
||
|
|
ITEM.description = "Un plat chaud et épicé rempli de viande de fourmilion mijotée."
|
||
|
|
ITEM.category = "Nourriture"
|
||
|
|
ITEM.model = "models/willardnetworks/food/meatysoup.mdl"
|
||
|
|
ITEM.width = 1
|
||
|
|
ITEM.height = 1
|
||
|
|
ITEM.iconCam = {
|
||
|
|
pos = Vector(125.61, 104.91, 78.59),
|
||
|
|
ang = Angle(24.78, 219.86, 0),
|
||
|
|
fov = 3
|
||
|
|
}
|
||
|
|
ITEM.hunger = 65
|
||
|
|
ITEM.thirst = 15
|
||
|
|
ITEM.boosts = {
|
||
|
|
strength = 5
|
||
|
|
}
|
||
|
|
ITEM.spoil = true
|
||
|
|
ITEM.useSound = "ambient/levels/canals/toxic_slime_gurgle4.wav"
|
||
|
|
|
||
|
|
ITEM.addVE = 20
|
||
|
|
function ITEM:OnConsume(client, character)
|
||
|
|
if character:IsVortigaunt() then
|
||
|
|
local percentage = ix.config.Get("maxVortalEnergy", 100) / 100
|
||
|
|
percentage = percentage * self.addVE
|
||
|
|
character:AddVortalEnergy(percentage)
|
||
|
|
end
|
||
|
|
end
|