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,66 @@
--[[
| 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 = "Ration Coupons"
ITEM.model = Model("models/willardnetworks/misc/idcard.mdl")
ITEM.description = "Kupon racji żywnościowej do wykorzystania w dystrybutorze racji w zamian za kredyty."
ITEM.amount = 5
ITEM.category = "Ration Coupons"
ITEM.maxStackSize = 5
ITEM.base = "base_stackable"
ITEM.bInstanceMaxstack = false
ITEM.functions.Use = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
local errorMsg = "Aby to zrobić, musisz być w pobliżu i patrzeć na dystrybutor racji lub terminal cywilny!"
local entity = client:GetEyeTraceNoCursor().Entity
if (IsValid(entity)) then
if (entity:GetClass() != "ix_rationdispenser" and entity:GetClass() != "ix_terminal") then
client:NotifyLocalized(errorMsg)
return false
end
if (client:GetShootPos():Distance(entity:GetPos()) > 50) then
client:NotifyLocalized(errorMsg)
return false
end
if ((!entity.canUse or (entity.nextUseTime and entity.nextUseTime > CurTime())) or (entity:GetClass() == "ix_rationdispenser" and !entity:GetEnabled())) then
client:NotifyLocalized("Ten terminal jest w trybie offline lub w użyciu.")
return false
else
client.ixCouponUsed = itemTable.id
-- Check for citizen id(s)
local idCards = character:GetInventory():GetItemsByUniqueID("id_card")
if (#idCards == 1) then
idCards[1]:LoadOwnerGenericData(entity.CheckIdCardCoupon, entity.CheckIdError, client, entity, itemTable.amount)
else
netstream.Start(client, "CIDSelectorCoupon", entity)
end
return false
end
end
client:NotifyLocalized(errorMsg)
return false
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/
--]]
ITEM.name = "Kupon na 100 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon3.mdl")
ITEM.amount = 100
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 100 Kredytów."}

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/
--]]
ITEM.name = "Kupon na 100 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon.mdl")
ITEM.amount = 10
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 10 Kredytów."}

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/
--]]
ITEM.name = "Kupon na 25 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon2.mdl")
ITEM.amount = 25
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 25 Kredytów."}

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/
--]]
ITEM.name = "Kupon na 50 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon3.mdl")
ITEM.amount = 50
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 50 Kredytów."}

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/
--]]
ITEM.name = "Kupon na 5 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon.mdl")
ITEM.amount = 5
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 5 Kredytów."}

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/
--]]
ITEM.name = "Podstawowy Kupon na 15 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon.mdl")
ITEM.amount = 15
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 15 Kredytów."}

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/
--]]
ITEM.name = "Średni Kupon na 20 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon2.mdl")
ITEM.amount = 20
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 20 Kredytów."}

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/
--]]
ITEM.name = "Priorytetowy Kupon na 30 Kredytów"
ITEM.model = Model("models/willardnetworks/props/rationcoupon3.mdl")
ITEM.amount = 30
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Możesz wykorzystać ten kupon w Dystrybutorze Racji lub w Terminalu Obywatelskim, aby otrzymać 30 Kredytów."}

View File

@@ -0,0 +1,48 @@
--[[
| 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 = "Racja żywnościowa Civil Protection"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.skin = 4
ITEM.description = "Surowa czarno-biała paczka żywnościowa, zaprojektowana specjalnie dla brutalnych sił policyjnych reżimu. Minimalistyczny, utylitarny design odzwierciedla surową i bezkompromisową naturę odbiorców."
ITEM.items = {"metropolicesupplements", "nutrientdrink", "coupon_medium"}
ITEM.category = "Combine"
ITEM.iconCam = {
pos = Vector(-509.64, -427.61, 310.24),
ang = Angle(25, 400.56, 0),
fov = 1.27
}
ITEM.functions.Open = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
for _, v in ipairs(itemTable.items) do
if (!character:GetInventory():Add(v)) then
ix.item.Spawn(v, client)
end
end
client:EmitSound("ambient/fire/mtov_flame2.wav", 75, math.random(160, 180), 0.35)
end
}
ITEM.holdData = {
vectorOffset = {
right = -3.5,
up = 0,
forward = 1.5
},
angleOffset = {
right = 180,
up = 90,
forward = -70
},
}

View File

@@ -0,0 +1,43 @@
--[[
| 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 = "Lepsza racja żywnościowa"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.skin = 6
ITEM.description = "Próżniowo zapakowana racja żywnościowa w środku której znajduje się trochę więcej jedzenia jak w zwykłej."
ITEM.items = {"fruit_apple", "proc_paste", "drink_breen_water", "coupon_basic"}
ITEM.category = "Combine"
ITEM.functions.Open = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
for _, v in ipairs(itemTable.items) do
if (!character:GetInventory():Add(v)) then
ix.item.Spawn(v, client)
end
end
client:EmitSound("ambient/fire/mtov_flame2.wav", 75, math.random(160, 180), 0.35)
end
}
ITEM.holdData = {
vectorOffset = {
right = -3.5,
up = 0,
forward = 1.5
},
angleOffset = {
right = 180,
up = 90,
forward = -70
},
}

View File

@@ -0,0 +1,48 @@
--[[
| 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 = "Racja żywnościowa Lojalisty"
ITEM.model = Model("models/willardnetworks/food/ration_box.mdl")
ITEM.skin = 0
ITEM.description = "Małe, kartonowe pudełko w którym znajduje się troche jedzenia. Oznakowane jest logiem Kombinatu."
ITEM.items = {"proc_mush", "fruit_apple", "drink_sparkling_water", "coupon_medium"}
ITEM.category = "Combine"
ITEM.iconCam = {
pos = Vector(-113.45, -94.87, 73.82),
ang = Angle(25, 400, 0),
fov = 6.1
}
ITEM.functions.Open = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
for _, v in ipairs(itemTable.items) do
if (!character:GetInventory():Add(v)) then
ix.item.Spawn(v, client)
end
end
client:EmitSound("ambient/fire/mtov_flame2.wav", 75, math.random(160, 180), 0.35)
end
}
ITEM.holdData = {
vectorOffset = {
right = -4,
up = 4,
forward = 4
},
angleOffset = {
right = 180,
up = -90,
forward = 0
},
}

View File

@@ -0,0 +1,48 @@
--[[
| 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 = "Priorytetowa racja żywnościowa Lojalisty"
ITEM.model = Model("models/willardnetworks/food/ration_box.mdl")
ITEM.skin = 2
ITEM.description = "Małe, kartonowe i ładnie wyglądające pudełko w którym znajduje się troche jedzenia. Oznakowane jest logiem Kombinatu, a na boku wypisany jest jakiś inspirujący cytat."
ITEM.items = {"luxury_choc", "proc_mush", "drink_sparkling_water", "coupon_priority"}
ITEM.category = "Combine"
ITEM.iconCam = {
pos = Vector(-113.45, -94.87, 73.82),
ang = Angle(25, 400, 0),
fov = 6.1
}
ITEM.functions.Open = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
for _, v in ipairs(itemTable.items) do
if (!character:GetInventory():Add(v)) then
ix.item.Spawn(v, client)
end
end
client:EmitSound("ambient/fire/mtov_flame2.wav", 75, math.random(160, 180), 0.35)
end
}
ITEM.holdData = {
vectorOffset = {
right = -4,
up = 4,
forward = 4
},
angleOffset = {
right = 180,
up = -90,
forward = 0
},
}

View File

@@ -0,0 +1,43 @@
--[[
| 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 = "Racja żywnościowa"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.skin = 0
ITEM.description = "Próżniowo zapakowana racja żywnościowa w środku której znajduje się trochę jedzenia."
ITEM.items = {"proc_paste", "drink_breen_water", "coupon_basic"}
ITEM.category = "Combine"
ITEM.functions.Open = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
for _, v in ipairs(itemTable.items) do
if (!character:GetInventory():Add(v)) then
ix.item.Spawn(v, client)
end
end
client:EmitSound("ambient/fire/mtov_flame2.wav", 75, math.random(160, 180), 0.35)
end
}
ITEM.holdData = {
vectorOffset = {
right = -3.5,
up = 0,
forward = 1.5
},
angleOffset = {
right = 180,
up = 90,
forward = -70
},
}

View File

@@ -0,0 +1,48 @@
--[[
| 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 = "Racja żywnościowa Prawdziwego Lojalisty"
ITEM.model = Model("models/willardnetworks/food/ration_box.mdl")
ITEM.skin = 1
ITEM.description = "Małe, kartonowe pudełko w którym znajduje się troche jedzenia. Oznakowane eleganckim logiem Kombinatu. Z jakiegoś powodu wydaje się być bardziej luksusowa."
ITEM.items = {"luxury_choc", "comfort_fish", "drink_premium_water", "coupon_medium"}
ITEM.category = "Combine"
ITEM.iconCam = {
pos = Vector(-113.45, -94.87, 73.82),
ang = Angle(25, 400, 0),
fov = 6.1
}
ITEM.functions.Open = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
for _, v in ipairs(itemTable.items) do
if (!character:GetInventory():Add(v)) then
ix.item.Spawn(v, client)
end
end
client:EmitSound("ambient/fire/mtov_flame2.wav", 75, math.random(160, 180), 0.35)
end
}
ITEM.holdData = {
vectorOffset = {
right = -4,
up = 4,
forward = 4
},
angleOffset = {
right = 180,
up = -90,
forward = 0
},
}

View File

@@ -0,0 +1,43 @@
--[[
| 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 = "Racja żywnościowa podklasy"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.description = "Porwane i zużyte opakowanie w którym jest trochę jedzenia... O ile można je tak nazwać."
ITEM.skin = 3
ITEM.items = {"proc_paste", "drink_breen_water"}
ITEM.category = "Combine"
ITEM.functions.Open = {
OnRun = function(itemTable)
local client = itemTable.player
local character = client:GetCharacter()
for _, v in ipairs(itemTable.items) do
if (!character:GetInventory():Add(v)) then
ix.item.Spawn(v, client)
end
end
client:EmitSound("ambient/fire/mtov_flame2.wav", 75, math.random(160, 180), 0.35)
end
}
ITEM.holdData = {
vectorOffset = {
right = -3.5,
up = 0,
forward = 1.5
},
angleOffset = {
right = 180,
up = 90,
forward = -70
},
}