This commit is contained in:
lifestorm
2024-08-04 22:55:00 +03:00
parent 8064ba84d8
commit 73479cff9e
7338 changed files with 1718883 additions and 14 deletions

View File

@@ -0,0 +1,27 @@
--[[
| 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 ix = ix
function PLUGIN:CanPlayerEquipItem(client, item)
if (item.isGasmask and client:HasGasmask()) then
return false
end
end
function PLUGIN:CanPlayerUnequipItem(client, item)
if (item.isGasmask and client:GetFilterItem() != nil and client:GetFilterItem() != item) then
return false
end
end
function PLUGIN:SetupAreaProperties()
ix.area.AddType("gas")
end