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,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 = "A ration coupon to be used on the ration dispenser in return for credits."
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 = "You need to be near and looking at a ration dispenser or a civil terminal to do this!"
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("This terminal is offline or in use.")
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 = "100 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon3.mdl")
ITEM.amount = 100
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 100 Kredi kazandırır."}

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 = "10 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon.mdl")
ITEM.amount = 10
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 10 Kredi kazandırır."}

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 = "25 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon2.mdl")
ITEM.amount = 25
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 25 Kredi kazandırır."}

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 = "50 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon3.mdl")
ITEM.amount = 50
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 50 Kredi kazandırır."}

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 = "5 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon.mdl")
ITEM.amount = 5
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 5 Kredi kazandırır."}

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 = "15 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon.mdl")
ITEM.amount = 15
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 15 Kredi kazandırır."}

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 = "20 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon2.mdl")
ITEM.amount = 20
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 20 Kredi kazandırır."}

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 = "30 Kredi Kuponu"
ITEM.model = Model("models/willardnetworks/props/rationcoupon3.mdl")
ITEM.amount = 30
ITEM.category = "Combine"
ITEM.maxStackSize = 5
ITEM.colorAppendix = {["blue"] = "Bu kupon bir Rasyon Dağıtıcısında veya Sivil Terminalde kullanıldığında 30 Kredi kazandırır."}

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 = "Sivil Koruma Rasyonu"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.skin = 4
ITEM.description = "İçinde biraz yiyecek olan küçük bir karton kutu. Üzerinde süslü bir Combine logosu var."
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 = "İyileştirilmiş Rasyon"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.skin = 6
ITEM.description = "Standart istihkakınızdan daha hantal hissettiren bazı yiyecekler içeren küçültülmüş bir paket."
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 = "Loyalist Rasyonu"
ITEM.model = Model("models/willardnetworks/food/ration_box.mdl")
ITEM.skin = 0
ITEM.description = "İçinde biraz yiyecek olan küçük bir karton kutu. Üzerinde süslü bir Combine logosu var."
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 = "Öncelikli Loyalist Rasyonu"
ITEM.model = Model("models/willardnetworks/food/ration_box.mdl")
ITEM.skin = 2
ITEM.description = "Doğası gereği oldukça rafine görünen ve birkaç suppilies taşıyan bir karton kutu. Yan tarafında küçük ilham verici alıntılarla Logo'yu birleştirin."
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 = "Rasyon"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.skin = 0
ITEM.description = "İçinde bir miktar yiyecek bulunan ambalajlı bir paket."
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 = "Gerçek Loyalist Rasyonu"
ITEM.model = Model("models/willardnetworks/food/ration_box.mdl")
ITEM.skin = 1
ITEM.description = "İçinde biraz yiyecek olan küçük bir karton kutu. Üzerinde süslü bir Combine logosu var. Nedense daha lüks hissettiriyor."
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 = "Düşük Sınıf Rasyonu"
ITEM.model = Model("models/willardnetworks/rations/wn_new_ration.mdl")
ITEM.description = "İçinde yiyecek olan yırtık ve yıpranmış bir paket... tabii buna yiyecek denebilirse."
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
},
}