This commit is contained in:
lifestorm
2024-08-04 23:54:45 +03:00
parent 8064ba84d8
commit 6a58f406b1
7522 changed files with 4011896 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
--[[
| 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/
--]]
function PLUGIN:PopulateCharacterInfo(client, character, tooltip)
local armbandData = client:GetNetVar("armbands", {})
for armband, color in pairs(armbandData) do
local panel = tooltip:AddRow("armband")
panel:SetBackgroundColor(color)
panel:SetText(armband .. " giyiyor")
panel:SizeToContents()
end
end

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Siyah Kol Bandı"
ITEM.description = "Ucuz siyah kumaştan bir parça, görünüşe göre eskiden güzel bir giysi parçasından koparılmış, kenarları hala pürüzlü ve yırtık. Üzerinde taşıyanlara karşı bir tür tepki veya umursamazlık havası yayar."
ITEM.color = Color(200, 200, 200)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Mavi işbirlikçi kol bandı"
ITEM.description = "Kolun etrafına takılan mavi kumaş parçası."
ITEM.color = Color(50, 50, 255)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "ık Mavi CCG rozeti"
ITEM.description = "Gömleğe takılan açık mavi rozet. Bu rozet, Combine Sivil Muhafızı üyeleri için tasarlanmıştır."
ITEM.color = Color(46, 165, 240)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Yeşil işbirlikçi kol bandı"
ITEM.description = "Kolun etrafına takılan yeşil kumaş parçası."
ITEM.color = Color(0, 255, 0)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "ık Gri Kol Bandı"
ITEM.description = "Kolu saran bir kumaş parçası. Mat açık gri renkte, özel bir şey gibi görünmüyor."
ITEM.color = Color(145, 145, 145)

View File

@@ -0,0 +1,14 @@
--[[
| 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 = "Brown ICOBT Armband"
ITEM.description = "A brown armband wrapped around the arm, representing the values and membership of the ICOBT."
ITEM.color = Color(144, 74, 59)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Turuncu işbirlikçi kol bandı"
ITEM.description = "Kolun etrafına takılan turuncu kumaş parçası."
ITEM.color = Color(255, 100, 0)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Mor CCA kol bandı"
ITEM.description = "Kolun etrafına takılan mor kumaş parçası. Bu, Combine Sivil Yönetimi üyeleri için tasarlanmıştır."
ITEM.color = Color(150, 0, 255)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Kırmızı işbirlikçi kol bandı"
ITEM.description = "Kolun etrafına takılan kırmızı kumaş parçası."
ITEM.color = Color(255, 0, 0)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Beyaz işbirlikçi kol bandı"
ITEM.description = "Kolun etrafına takılan beyaz kumaş parçası."
ITEM.color = Color(255, 255, 255)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Yıldızlı Kurdeleli Beyaz İşbirlikçi Kol Bandı"
ITEM.description = "Kolun etrafına takılan beyaz kumaş parçası. Üzerine yapıştırılmış şık bir yıldız madalyası ve kurdelesi bulunuyor gibi görünüyor."
ITEM.color = Color(255, 255, 255)

View File

@@ -0,0 +1,13 @@
--[[
| 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 = "Sarı işbirlikçi kol bandı"
ITEM.description = "Kolun etrafına takılan sarı kumaş parçası."
ITEM.color = Color(255, 255, 0)

View File

@@ -0,0 +1,38 @@
--[[
| 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.base = "base_genericequipable"
ITEM.name = "Armband"
ITEM.description = "A piece of fabric material worn around the arm."
ITEM.model = "models/willardnetworks/armband.mdl"
ITEM.category = "misc"
ITEM.color = Color(255, 255, 255)
if (CLIENT) then
function ITEM:PopulateTooltip(tooltip)
local name = tooltip:GetRow("name")
name:SetBackgroundColor(self.color)
end
end
function ITEM:OnEquipped(client)
local armbands = client:GetNetVar("armbands", {})
armbands[self.name[1]:lower() .. self.name:Right(#self.name - 1)] = self.color
client:SetNetVar("armbands", armbands)
end
function ITEM:OnUnequipped(client)
local armbands = client:GetNetVar("armbands", {})
armbands[self.name[1]:lower() .. self.name:Right(#self.name - 1)] = nil
client:SetNetVar("armbands", armbands)
end

View File

@@ -0,0 +1,17 @@
--[[
| 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/
--]]
PLUGIN.name = "Armbands"
PLUGIN.author = "Aspect™"
PLUGIN.description = "Adds wearable armband items."
ix.util.Include("cl_hooks.lua")
ix.util.Include("sv_hooks.lua")

View File

@@ -0,0 +1,24 @@
--[[
| 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/
--]]
function PLUGIN:CharacterLoaded(character)
local client = character:GetPlayer()
local items = character:GetInventory():GetItems()
local armbands = {}
for _, item in pairs(items) do
if (item.base != "base_armbands" or !item:GetData("equip")) then continue end
armbands[item.name[1]:lower() .. item.name:Right(#item.name - 1)] = item.color
end
client:SetNetVar("armbands", armbands)
end