mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-18 14:13:46 +03:00
Upload
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
--[[
|
||||
| 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.uniqueID = "comp_adhesive"
|
||||
ITEM.name = "Güçlü Yapıştırıcı Şişesi"
|
||||
ITEM.description = "Çok yapışkan bir malzeme içeren turuncu bir şişe. Bir kez yerleştirildikten ve yerleşmesi için zaman verildikten sonra çıkarılması çok zordur."
|
||||
ITEM.category = "Crafting"
|
||||
ITEM.model = "models/willardnetworks/props/spicyglue.mdl"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(98.4, 229.73, 85.26),
|
||||
ang = Angle(17.97, 246.81, 0),
|
||||
fov = 2.21
|
||||
}
|
||||
ITEM.colorAppendix = {["blue"] = "Bu eşya Tıp becerisi ile yapılabilir."}
|
||||
ITEM.maxStackSize = 24
|
||||
@@ -0,0 +1,19 @@
|
||||
--[[
|
||||
| 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.uniqueID = "comp_alcohol"
|
||||
ITEM.name = "Alkol"
|
||||
ITEM.description = "Çeşitli alkollü içeceklerden elde edilen alkol maddesi."
|
||||
ITEM.category = "Medicine Components"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/prop_bar_bottle_e.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Bu öğeyi Tıp becerisi aracılığıyla edinebilirsiniz."}
|
||||
ITEM.maxStackSize = 24
|
||||
@@ -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.uniqueID = "antidote"
|
||||
ITEM.name = "Antidote"
|
||||
ITEM.description = "A strange syringe filled with purple liquid can reduce toxin levels in your body.."
|
||||
ITEM.category = "Medical"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/skills/medx.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "This item can be made through the Medical skill.", ["red"] = "This item can lower the amount of 'Gas' your character has."}
|
||||
ITEM.useSound = "medicina/nmrih_syringe.ogg"
|
||||
|
||||
ITEM.functions.Use = {
|
||||
name = "Apply",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
client:EmitSound(item.useSound)
|
||||
|
||||
if character:GetGasPoints() >= 120 then
|
||||
client:ChatNotifyLocalized("You inject the antidote in your body... but don't feel any different. *There's nothing else to be done, this is it for me...*")
|
||||
elseif (character:GetGasPoints() - 45 <= 0) then
|
||||
character:SetGasPoints(0)
|
||||
client:ChatNotifyLocalized("You feel a lot better now!")
|
||||
else
|
||||
character:SetGasPoints(character:GetGasPoints() - 45)
|
||||
end
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
--[[
|
||||
| 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.uniqueID = "comp_bloodsyringe"
|
||||
ITEM.name = "Kan Şırıngası"
|
||||
ITEM.description = "İnsan kanıyla dolu bir şırınga."
|
||||
ITEM.category = "Medicine Components"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/skills/syringeammo.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Bu eşya Tıp becerisi ile yapılabilir."}
|
||||
@@ -0,0 +1,19 @@
|
||||
--[[
|
||||
| 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.uniqueID = "comp_chemcomp"
|
||||
ITEM.name = "Güçlü Kimyasal Bileşik"
|
||||
ITEM.description = "Bir şişe rafine kimyasal madde. Ayrı kimyasal bileşiklere ayrılabilir."
|
||||
ITEM.category = "Medicine Components"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/skills/medjar.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Bu eşya Tıp becerisi ile yapılabilir."}
|
||||
ITEM.maxStackSize = 16
|
||||
@@ -0,0 +1,19 @@
|
||||
--[[
|
||||
| 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.uniqueID = "comp_chemicals"
|
||||
ITEM.name = "Kimyasal Dolu Şişe"
|
||||
ITEM.description = "Bir şişe rafine edilmemiş kimyasal madde. Daha kullanışlı bir şeye dönüştürülebilir."
|
||||
ITEM.category = "Medicine Components"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/props/glue.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Bu öğeyi Tıp becerisi ile elde edebilirsiniz."}
|
||||
ITEM.maxStackSize = 24
|
||||
@@ -0,0 +1,19 @@
|
||||
--[[
|
||||
| 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.uniqueID = "comp_purifier"
|
||||
ITEM.name = "Arıtıcı"
|
||||
ITEM.description = "Maddelerdeki toksik bileşikleri azaltmak için kullanılan garip toz."
|
||||
ITEM.category = "Medicine Components"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/skills/pill_bottle.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Bu eşya Tıp becerisi ile yapılabilir."}
|
||||
ITEM.maxStackSize = 16
|
||||
@@ -0,0 +1,144 @@
|
||||
--[[
|
||||
| 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.uniqueID = "comp_syringe"
|
||||
ITEM.name = "Şırınga"
|
||||
ITEM.description = "Tıbbi amaçlar için yararlı, sıvı benzeri maddeler içerebilen bir şırınga."
|
||||
ITEM.category = "Medicine Components"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/skills/syringeammo.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Bu eşya Zanaatkarlık becerisi ile yapılabilir."}
|
||||
ITEM.useSound = "items/medshot4.wav"
|
||||
ITEM.openedItem = "comp_bloodsyringe"
|
||||
ITEM.openRequirementAmount = 1
|
||||
|
||||
ITEM.functions.DrawBlood = {
|
||||
name = "Kan Al",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
|
||||
ix.chat.Send(client, "me", "kendinden kan çekmeye başlar!")
|
||||
client:Freeze(true)
|
||||
client:SetAction("Kan Alınıyor", 5, function()
|
||||
client:Freeze(false)
|
||||
|
||||
if client:Health() <= 10 then
|
||||
client:NotifyLocalized("Güvenli bir şekilde kan almak için yeterli sağlığınız yok.")
|
||||
return false
|
||||
end
|
||||
|
||||
local inventory = client:GetCharacter():GetInventory()
|
||||
local requirementAmount = item.openRequirementAmount or 1
|
||||
|
||||
if item.openedItem then
|
||||
local openedItemName = ix.item.list[item.openedItem] and ix.item.list[item.openedItem].name or item.openedItem
|
||||
if not inventory:Add(item.openedItem, requirementAmount) then
|
||||
client:NotifyLocalized("Şırınga için "..requirementAmount.." adet envanter slotuna ihtiyacınız var")
|
||||
return false
|
||||
end
|
||||
|
||||
client:NotifyLocalized(item.name.." ile kan aldınız ve "..openedItemName.." kazandınız.")
|
||||
|
||||
client:SetHealth(client:Health() - 10)
|
||||
client:EmitSound(item.useSound)
|
||||
|
||||
item:Remove()
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end)
|
||||
|
||||
return false
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
local client = item.player
|
||||
return client:Health() > 10
|
||||
end
|
||||
}
|
||||
|
||||
ITEM.functions.DrawBloodTarget = {
|
||||
name = "Birinden Kan Al",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local target = client:GetEyeTrace().Entity
|
||||
local startPos = target:GetPos()
|
||||
|
||||
if not target:IsPlayer() then
|
||||
client:NotifyLocalized("Kanını almak için geçerli bir hedefe bakmanız gerekir.")
|
||||
return false
|
||||
end
|
||||
|
||||
ix.chat.Send(client, "me", target:GetName().." adlı kişiden kan almaya başlıyor!")
|
||||
client:Freeze(true)
|
||||
client:SetAction("Kan Alınıyor", 5, function()
|
||||
client:Freeze(false)
|
||||
|
||||
if target:Health() <= 10 then
|
||||
client:NotifyLocalized("Hedef, güvenli bir şekilde kan almak için yeterli sağlığa sahip değil.")
|
||||
return false
|
||||
end
|
||||
|
||||
if client:GetPos():Distance(target:GetPos()) > 150 then
|
||||
client:NotifyLocalized("Hedeften çok uzaktasınız.")
|
||||
return false
|
||||
end
|
||||
|
||||
local inventory = client:GetCharacter():GetInventory()
|
||||
local requirementAmount = item.openRequirementAmount or 1
|
||||
|
||||
if item.openedItem then
|
||||
local openedItemName = ix.item.list[item.openedItem] and ix.item.list[item.openedItem].name or item.openedItem
|
||||
if not inventory:Add(item.openedItem, requirementAmount) then
|
||||
client:NotifyLocalized("Şırınga için "..requirementAmount.." adet envanter slotuna ihtiyacınız var")
|
||||
return false
|
||||
end
|
||||
|
||||
client:NotifyLocalized(item.name.." ile kan aldınız ve "..openedItemName.." kazandınız.")
|
||||
|
||||
target:SetHealth(target:Health() - 10)
|
||||
client:EmitSound(item.useSound)
|
||||
|
||||
item:Remove()
|
||||
return true
|
||||
end
|
||||
|
||||
return false
|
||||
end)
|
||||
|
||||
return false
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
local client = item.player
|
||||
local target = client:GetEyeTrace().Entity
|
||||
|
||||
if not target:IsPlayer() or target:Health() <= 10 then
|
||||
return false
|
||||
end
|
||||
|
||||
if client:GetPos():Distance(target:GetPos()) > 150 then
|
||||
client:NotifyLocalized("Hedeften çok uzaktasınız.")
|
||||
return false
|
||||
end
|
||||
|
||||
return true
|
||||
end
|
||||
}
|
||||
|
||||
-- am doing this cuz im not sure if the item instances this function or not!! and am too lazy to check!
|
||||
ITEM.functions.Use = {
|
||||
OnRun = function(item)
|
||||
return false
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return false
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user