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,63 @@
--[[
| 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/
--]]
INFESTATION.name = "Erebus-Class Strain"
INFESTATION.color = Color(106, 168, 79)
INFESTATION.reading = {0, 35}
INFESTATION.chemical = "ic_hydrocarbon_foam"
INFESTATION.StartTouch = function(self, client)
if (!client:IsPlayer()) then return end
if (client:IsInfestationProtected()) then return end
if (timer.Exists("erebus_touch_" .. client:SteamID64())) then return end
client:SetNetVar("TouchingInfestation", true)
timer.Create("erebus_touch_" .. client:SteamID64(), 5, 1, function()
if (client:GetNetVar("TouchingInfestation")) then
client:GetCharacter():SetSpecialBoost("agility", -5, true)
client:GetCharacter():SetSpecialBoost("intelligence", -5, true)
client:GetCharacter():SetSpecialBoost("perception", -5, true)
client:GetCharacter():SetSpecialBoost("strength", -5, true)
client:SetNetVar("TouchingInfestation", false)
end
end)
end
INFESTATION.EndTouch = function(self, client)
if (!client:IsPlayer()) then return end
client:SetNetVar("TouchingInfestation", false)
end
INFESTATION.OnHarvested = function(self, client, damageType)
local inventory = client:GetCharacter():GetInventory()
local container = inventory:HasItem("junk_jar")
if (container) then
if (math.random(0, 10) > 3) then
container:Remove()
inventory:Add("ic_erebus_mucus")
client:NotifyLocalized("mucusCollectSuccess")
else
client:NotifyLocalized("mucusCollectFailureLuck")
end
return true
else
client:NotifyLocalized("mucusCollectFailureJar")
return false
end
end

View File

@@ -0,0 +1,41 @@
--[[
| 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/
--]]
INFESTATION.name = "Nosos-Class Strain"
INFESTATION.color = Color(255, 0, 0)
INFESTATION.reading = {40, 80}
INFESTATION.chemical = "ic_caustic_solution"
INFESTATION.StartTouch = function(self, client)
if (!client:IsPlayer()) then return end
if (client:IsInfestationProtected()) then return end
if (timer.Exists("erebus_touch_" .. client:SteamID64())) then return end
client:SetNetVar("TouchingInfestation", true)
timer.Create("nosos_touch_" .. client:SteamID64(), 5, 1, function()
if (client:GetNetVar("TouchingInfestation")) then
client:GetCharacter():SetSpecialBoost("agility", -10, false)
client:GetCharacter():SetSpecialBoost("intelligence", -10, false)
client:GetCharacter():SetSpecialBoost("perception", -10, false)
client:GetCharacter():SetSpecialBoost("strength", -10, false)
client:SetNetVar("TouchingInfestation", false)
end
end)
end
INFESTATION.EndTouch = function(self, client)
if (!client:IsPlayer()) then return end
client:SetNetVar("TouchingInfestation", false)
end

View File

@@ -0,0 +1,56 @@
--[[
| 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/
--]]
INFESTATION.name = "Thanarok-Class Strain"
INFESTATION.color = Color(0, 0, 0)
INFESTATION.reading = {70, 100}
INFESTATION.chemical = "ic_thermo_radio_solution"
INFESTATION.StartTouch = function(self, client)
if (!client:IsPlayer()) then return end
if (client:IsInfestationProtected()) then return end
if (timer.Exists("erebus_touch_" .. client:SteamID64())) then return end
client:SetNetVar("TouchingInfestation", true)
timer.Create("thanarok_touch_" .. client:SteamID64(), 5, 1, function()
if (client:GetNetVar("TouchingInfestation")) then
client:TakeDamage(25, self, self)
client:SetNetVar("TouchingInfestation", false)
end
end)
end
INFESTATION.EndTouch = function(self, client)
if (!client:IsPlayer()) then return end
client:SetNetVar("TouchingInfestation", false)
end
INFESTATION.OnHarvested = function(self, client, damageType)
if (damageType == DMG_SLASH) then
if (math.random(0, 10) > 9) then
if (!client:GetCharacter():GetInventory():Add("ic_thanarok_embryo")) then
ix.item.Spawn("ic_thanarok_embryo", client)
end
client:NotifyLocalized("thanarokCollectSuccess")
else
client:NotifyLocalized("thanarokCollectFailureLuck")
end
else
client:NotifyLocalized("thanarokCollectFailureWrongTool")
end
return true
end

View File

@@ -0,0 +1,56 @@
--[[
| 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/
--]]
INFESTATION.name = "Thanatos-Class Strain"
INFESTATION.color = Color(0, 0, 0)
INFESTATION.reading = {70, 100}
INFESTATION.chemical = "ic_anti_xenian_viviral"
INFESTATION.StartTouch = function(self, client)
if (!client:IsPlayer()) then return end
if (client:IsInfestationProtected()) then return end
if (timer.Exists("erebus_touch_" .. client:SteamID64())) then return end
client:SetNetVar("TouchingInfestation", true)
timer.Create("thanatos_touch_" .. client:SteamID64(), 5, 1, function()
if (client:GetNetVar("TouchingInfestation")) then
client:TakeDamage(25, self, self)
client:SetNetVar("TouchingInfestation", false)
end
end)
end
INFESTATION.EndTouch = function(self, client)
if (!client:IsPlayer()) then return end
client:SetNetVar("TouchingInfestation", false)
end
INFESTATION.OnHarvested = function(self, client, damageType)
if (damageType == DMG_SLASH) then
if (math.random(0, 10) > 9) then
if (!client:GetCharacter():GetInventory():Add("ic_thanatos_embryo")) then
ix.item.Spawn("ic_thanatos_embryo", client)
end
client:NotifyLocalized("thanatosCollectSuccess")
else
client:NotifyLocalized("thanatosCollectFailureLuck")
end
else
client:NotifyLocalized("thanatosCollectFailureWrongTool")
end
return true
end

View File

@@ -0,0 +1,29 @@
--[[
| 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/
--]]
INFESTATION.name = "Xipe-Class Strain"
INFESTATION.color = Color(256, 128, 4)
INFESTATION.reading = {25, 50}
INFESTATION.chemical = "ic_cryogenic_liquid"
INFESTATION.OnHarvested = function(self, client, damageType)
if (math.random(0, 10) > 5) then
if (!client:GetCharacter():GetInventory():Add("ic_cluster_hive")) then
ix.item.Spawn("ic_cluster_hive", client)
end
client:NotifyLocalized("xipeCollectSuccess")
else
client:NotifyLocalized("xipeCollectFailureLuck")
end
return true
end