This commit is contained in:
lifestorm
2024-08-04 23:12:27 +03:00
parent 0e770b2b49
commit ba1fc01b16
7084 changed files with 2173495 additions and 14 deletions

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.name = "Zestaw do rozstawiania barykad"
ITEM.description = "Zestaw służący do rozstawiania barykad."
ITEM.model = Model("models/props_combine/combine_barricade_short01a.mdl")
ITEM.noBusiness = true
ITEM.width = 2
ITEM.height = 2
ITEM.functions.place = {
name = "Rozstaw",
tip = "Rozstaw barykadę",
icon = "icon16/brick_add.png",
OnRun = function(item)
local client = item.player
if (!client:Alive()) then return false end
client:EmitSound("physics/cardboard/cardboard_box_break3.wav")
client.previousWep = client:GetActiveWeapon():GetClass()
client:Give("weapon_barricade_placer")
client:SelectWeapon("weapon_barricade_placer")
return true
end,
OnCanRun = function(item)
return (!IsValid(item.entity))
end
}

View File

@@ -0,0 +1,54 @@
--[[
| 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 = "Manhack"
ITEM.model = "models/manhack.mdl"
ITEM.width = 2
ITEM.height = 2
ITEM.description = "Manhak Kombinatu."
ITEM.weaponCategory = "deployable"
ITEM.functions.Deploy = {
OnRun = function(item)
local grd = ents.Create("npc_manhack")
local client = item.player
local data = {}
data.start = client:GetShootPos()
data.endpos = data.start + client:GetAimVector()*96
data.filter = client
local trace = util.TraceLine(data)
if client:Team() == FACTION_CP or client:Team() == FACTION_OTA then
if (trace.HitPos) then
grd:SetPos(trace.HitPos + trace.HitNormal * 10)
grd:Spawn()
end
else
client:Notify("Nie jesteś jednostką Kombinatu!")
end
for k, v in pairs(player.GetAll()) do
if v:Team() == FACTION_CP or v:Team() == FACTION_OTA then
grd:AddEntityRelationship(v, D_LI, 99)
else
grd:AddEntityRelationship(v, D_HT, 99)
end
end
local phys = grd:GetPhysicsObject()
if (item.entConfigure) then
item:entConfigure(grd)
end
return true
end
}

View File

@@ -0,0 +1,40 @@
--[[
| 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 = "Sadzarka"
ITEM.description = "Rozkładana sadzarka, a jaka przenośna!"
ITEM.model = Model("models/wn7new/advcrates/n7_planter_wood.mdl")
ITEM.noBusiness = true
ITEM.category = "Farming"
ITEM.width = 4
ITEM.height = 2
ITEM.outlineColor = Color(255, 0, 0, 100)
ITEM.functions.place = {
name = "Rozstaw",
tip = "Rozstaw sadzarkę",
icon = "icon16/brick_add.png",
OnRun = function(item)
local client = item.player
if (!client:Alive()) then return false end
client:EmitSound("physics/cardboard/cardboard_box_break3.wav")
client.previousWep = client:GetActiveWeapon():GetClass()
client:Give("weapon_planter_placer")
client:SelectWeapon("weapon_planter_placer")
return true
end,
OnCanRun = function(item)
return (!IsValid(item.entity))
end
}

View File

@@ -0,0 +1,40 @@
--[[
| 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 = "Worki z piaskiem"
ITEM.description = "Kilka zapakowanych worków z piaskiem, które można ustawić jeden na drugim, aby zapewnić prowizoryczną obronę. Całkiem przydatne."
ITEM.model = Model("models/mosi/fallout4/props/fortifications/sandbag01.mdl")
ITEM.noBusiness = true
ITEM.category = "misc"
ITEM.width = 4
ITEM.height = 2
ITEM.outlineColor = Color(255, 0, 0, 100)
ITEM.functions.place = {
name = "Rozstaw",
tip = "Rozstaw worki z piaskiem",
icon = "icon16/brick_add.png",
OnRun = function(item)
local client = item.player
if (!client:Alive()) then return false end
client:EmitSound("physics/cardboard/cardboard_box_break3.wav")
client.previousWep = client:GetActiveWeapon():GetClass()
client:Give("weapon_sandbag_placer")
client:SelectWeapon("weapon_sandbag_placer")
return true
end,
OnCanRun = function(item)
return (!IsValid(item.entity))
end
}

View File

@@ -0,0 +1,37 @@
--[[
| 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 = "Zestaw do rozstawiania wieżyczek"
ITEM.description = "Zestaw służący do rozstawiania wieżyczek kombinatu."
ITEM.model = Model("models/combine_turrets/floor_turret.mdl")
ITEM.noBusiness = true
ITEM.width = 2
ITEM.height = 3
ITEM.functions.place = {
name = "Rozstaw",
tip = "Rozstaw wieżyczkę",
icon = "icon16/brick_add.png",
OnRun = function(item)
local client = item.player
if (!client:Alive()) then return false end
client:EmitSound("physics/cardboard/cardboard_box_break3.wav")
client.previousWep = client:GetActiveWeapon():GetClass()
client:Give("weapon_turret_placer")
client:SelectWeapon("weapon_turret_placer")
return true
end,
OnCanRun = function(item)
return (!IsValid(item.entity))
end
}