Files
wnsrc/gamemodes/ixhl2rp/plugins/butchering/cl_hooks.lua
lifestorm c6d9b6f580 Upload
2024-08-05 18:40:29 +03:00

23 lines
613 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/
--]]
local PLUGIN = PLUGIN
function PLUGIN:PopulateEntityInfo(entity, container)
local drop = entity:GetNetVar("drop")
if (drop) then
local corpseTooltip = container:AddRow("corpse")
corpseTooltip:SetContentAlignment(5)
corpseTooltip:SetText("You can butcher this corpse by hitting it with the right tool.")
corpseTooltip:SizeToContents()
end
end