This commit is contained in:
lifestorm
2024-08-05 18:40:29 +03:00
parent 9f505a0646
commit c6d9b6f580
8044 changed files with 1853472 additions and 21 deletions

View File

@@ -0,0 +1,28 @@
--[[
| 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 = "Data-Disc"
ITEM.model = "models/willardnetworks/gearsofindustry/wn_data_card.mdl"
ITEM.category = "Combine"
ITEM.description = "A small, somewhat thin metallic disk used to store data."
function ITEM:GetSkin()
return self:GetData("item") and 0 or 1
end
function ITEM:PopulateTooltip(tooltip)
local item = self:GetData("item")
local itemPnl = tooltip:AddRow("item")
itemPnl:SetBackgroundColor(derma.GetColor(item and "Info" or "Error", tooltip))
itemPnl:SetText(item and ix.item.list[item] and "Encoded Item: " .. ix.item.list[item].name or "No Encoded Data on Disc")
itemPnl:SizeToContents()
end