mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-18 06:03:47 +03:00
Upload
This commit is contained in:
@@ -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 = "Raw Antlion Meat"
|
||||
ITEM.description = "Somewhat slimy alien meat chopped off an antlion. It smells and looks strange."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.model = "models/willardnetworks/food/raw_alienmeat.mdl"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(125.61, 104.91, 78.59),
|
||||
ang = Angle(25.01, 219.94, 0),
|
||||
fov = 4
|
||||
}
|
||||
ITEM.colorAppendix = {["blue"] = "You can butcher Antlions and acquire their meat by whacking a melee weapon at their carcass."}
|
||||
ITEM.hunger = 15
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
character:SetHunger(math.Clamp(character:GetHunger() - (client:Team() == FACTION_BIRD and item.hunger * 2 or item.hunger), 0, 100))
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return ix.faction.Get(item.player:Team()).canEatRaw
|
||||
end
|
||||
}
|
||||
@@ -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 = "Raw Artificial Meat"
|
||||
ITEM.description = "Meat substances compressed into a protein block. It's raw and unrefined."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/steak1.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire Artificial Meat with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(509.64, 427.61, 310.24),
|
||||
ang = Angle(24.99, 220.01, 0),
|
||||
fov = 0.62
|
||||
}
|
||||
ITEM.hunger = 15
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
character:SetHunger(math.Clamp(character:GetHunger() - (client:Team() == FACTION_BIRD and item.hunger * 2 or item.hunger), 0, 100))
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return ix.faction.Get(item.player:Team()).canEatRaw == true
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Raw Sea Bass"
|
||||
ITEM.description = "A quite rare sight these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/foodnhouseholditems/fishbass.mdl"
|
||||
@@ -0,0 +1,36 @@
|
||||
--[[
|
||||
| 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 = "Raw Beef"
|
||||
ITEM.description = "A raw slab of beef, a rather rare commodity these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/meat3.mdl"
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(509.64, 427.61, 310.24),
|
||||
ang = Angle(24.95, 220.02, 0),
|
||||
fov = 0.86
|
||||
}
|
||||
ITEM.hunger = 32
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
character:SetHunger(math.Clamp(character:GetHunger() - (client:Team() == FACTION_BIRD and item.hunger * 2 or item.hunger), 0, 100))
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return ix.faction.Get(item.player:Team()).canEatRaw
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,57 @@
|
||||
--[[
|
||||
| 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 = "Enriched Beef Reserve"
|
||||
ITEM.description = "Contains two raw beef slabs. Needs a knife to open."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food4.mdl"
|
||||
|
||||
ITEM.useSound = "npc/barnacle/barnacle_crunch3.wav"
|
||||
ITEM.openedItem = "ing_beef" -- the uniqueID e.g what comes after 'sh_' in the file name unless ITEM.uniqueID is specified
|
||||
ITEM.openRequirementAmount = 2
|
||||
ITEM.openRequirement = "tool_knife" -- same desc as above
|
||||
|
||||
ITEM.functions.Open = {
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
local inventory = character:GetInventory()
|
||||
local requirementTable = ix.item.list[item.openRequirement]
|
||||
local requirementName = requirementTable.name or item.openRequirement
|
||||
|
||||
if (item.openRequirement) then
|
||||
local openerItem = inventory:HasItem(item.openRequirement)
|
||||
if !openerItem then
|
||||
client:NotifyLocalized("You do not have a "..requirementName.." to assemble this item")
|
||||
return false
|
||||
else
|
||||
if (openerItem.isTool) then
|
||||
openerItem:DamageDurability(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
client:EmitSound(item.useSound)
|
||||
|
||||
-- Spawn the opened item if it exists
|
||||
local requirementAmount = item.openRequirementAmount or 1
|
||||
if (item.openedItem) then
|
||||
local openedItemName = ix.item.list[item.openedItem].name or item.openedItem
|
||||
if (!inventory:Add(item.openedItem, requirementAmount)) then
|
||||
client:NotifyLocalized("You need "..requirementAmount.." inventory spaces to open this item.")
|
||||
return
|
||||
end
|
||||
|
||||
client:NotifyLocalized("You have opened a "..item.name.." and been given a "..openedItemName)
|
||||
end
|
||||
end
|
||||
}
|
||||
@@ -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 = "Raw Bird Meat"
|
||||
ITEM.description = "Meat and flesh from a once soaring avian. It's raw."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/meat5.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "You can butcher Birds and acquire their meat by whacking a melee weapon at their carcass."}
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(509.64, 427.61, 310.24),
|
||||
ang = Angle(24.97, 220.02, 0),
|
||||
fov = 0.87
|
||||
}
|
||||
ITEM.hunger = 7
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
character:SetHunger(math.Clamp(character:GetHunger() - (client:Team() == FACTION_BIRD and item.hunger * 2 or item.hunger), 0, 100))
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return ix.faction.Get(item.player:Team()).canEatRaw
|
||||
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.name = "Bone"
|
||||
ITEM.description = "An untasty bone with some remains of flesh, it is untasty but can serve to make bonemeal."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/gibs/hgibs_spine.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "You can butcher animals to obtain their bones."}
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Raw Carp"
|
||||
ITEM.description = "A quite rare sight these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/foodnhouseholditems/piranha.mdl"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Raw Catfish"
|
||||
ITEM.description = "A quite rare sight these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/foodnhouseholditems/fishcatfish.mdl"
|
||||
@@ -0,0 +1,32 @@
|
||||
--[[
|
||||
| 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 = "Raw Chicken"
|
||||
ITEM.description = "An industry collectivized in distant lands, set in foul conditions and factories to produce meat."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/meat3.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire Raw Chicken with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
ITEM.hunger = 20
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
character:SetHunger(math.Clamp(character:GetHunger() - (client:Team() == FACTION_BIRD and item.hunger * 2 or item.hunger), 0, 100))
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return ix.faction.Get(item.player:Team()).canEatRaw
|
||||
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.name = "Coffee Powder"
|
||||
ITEM.description = "A slightly worn can of coffee powder."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/wn_food_can.mdl"
|
||||
ITEM.skin = 5
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Bread Dough"
|
||||
ITEM.description = "The first ingredient to attaining delicious bread."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/dough.mdl"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Egg"
|
||||
ITEM.description = "Usually replaced with the Egg Protein Package these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/egg1.mdl"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Raw Salmon"
|
||||
ITEM.description = "A quite rare sight these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/fishgolden.mdl"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Raw Herring"
|
||||
ITEM.description = "A quite rare sight these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/fishgolden.mdl"
|
||||
@@ -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.name = "Saturated Flour"
|
||||
ITEM.description = "The paper bag is somewhat padded making it look as if it contains more flour than it actually does. Appears and smells like ordinary flour with a few odd black spots here and there."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food6.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
|
||||
ITEM.maxStackSize = 24
|
||||
@@ -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 = "Raw Headcrab Meat"
|
||||
ITEM.description = "Meat and flesh from a once festering parasite. It's raw."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/meat5.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "You can butcher Headcrabs and acquire their meat by whacking a melee weapon at their carcass."}
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(509.64, 427.61, 310.24),
|
||||
ang = Angle(24.97, 220.02, 0),
|
||||
fov = 0.87
|
||||
}
|
||||
ITEM.hunger = 12
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
character:SetHunger(math.Clamp(character:GetHunger() - (client:Team() == FACTION_BIRD and item.hunger * 2 or item.hunger), 0, 100))
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return ix.faction.Get(item.player:Team()).canEatRaw
|
||||
end
|
||||
}
|
||||
@@ -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 = "Dried Cooking Herbs"
|
||||
ITEM.description = "Various dried herbs for cooking."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food7.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
@@ -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 = "Margarine Product"
|
||||
ITEM.description = "A tinned can of factory produced margarine. Melts under heat."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food5.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
@@ -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 = "Dried Noodles"
|
||||
ITEM.description = "Noodles that are dry and unappettizing."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/props_junk/garbage_takeoutcarton001a.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
@@ -0,0 +1,21 @@
|
||||
--[[
|
||||
| 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 = "Pastry Dough"
|
||||
ITEM.description = "A dough more suitable for pastry products."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/props/dough.mdl"
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(-509.64, -427.61, 310.24),
|
||||
ang = Angle(24.86, 400, 0),
|
||||
fov = 0.51
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
--[[
|
||||
| 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 = "veg_potato"
|
||||
ITEM.name = "Raw Potato"
|
||||
ITEM.description = "A rounded potato, there's not enough of this around."
|
||||
ITEM.category = "Food"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/props_phx/misc/potato.mdl"
|
||||
ITEM.cost = 5
|
||||
ITEM.maxStock = 8
|
||||
ITEM.hunger = 15
|
||||
ITEM.thirst = -15
|
||||
ITEM.spoil = true
|
||||
ITEM.useSound = "npc/barnacle/barnacle_crunch3.wav"
|
||||
ITEM.holdData = {
|
||||
vectorOffset = {
|
||||
right = 0.5,
|
||||
up = 0,
|
||||
forward = 1
|
||||
},
|
||||
angleOffset = {
|
||||
right = 0,
|
||||
up = 0,
|
||||
forward = -0
|
||||
},
|
||||
}
|
||||
@@ -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 = "Egg Protein Package"
|
||||
ITEM.description = "A package of powdered protein. Has a somewhat revolting smell to it."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food1.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Raw Rainbow Trout"
|
||||
ITEM.description = "A very rare sight these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/foodnhouseholditems/fishrainbow.mdl"
|
||||
@@ -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 = "Raw Leech Carcass"
|
||||
ITEM.description = "Alien creature swarming the oceans, somewhat nutritious if cooked."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/leech.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire Raw Leeches with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(509.64, 427.61, 310.24),
|
||||
ang = Angle(24.92, 219.99, 0),
|
||||
fov = 0.48
|
||||
}
|
||||
ITEM.maxStackSize = 15
|
||||
ITEM.hunger = 15
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
|
||||
character:SetHunger(math.Clamp(character:GetHunger() - (client:Team() == FACTION_BIRD and item.hunger * 2 or item.hunger), 0, 100))
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return ix.faction.Get(item.player:Team()).canEatRaw
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Raw Lobster"
|
||||
ITEM.description = "A quite rare sight these days."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/foodnhouseholditems/lobster.mdl"
|
||||
@@ -0,0 +1,22 @@
|
||||
--[[
|
||||
| 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 = "Salt Pot"
|
||||
ITEM.description = "Seemingly a pot of salt with a somewhat odd acidic smell to it…"
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/foods/salt.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(509.64, 427.61, 310.24),
|
||||
ang = Angle(24.85, 219.98, 0),
|
||||
fov = 0.48
|
||||
}
|
||||
@@ -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 = "Sauce Base"
|
||||
ITEM.description = "A mixture of ingredients mixed together to shape the foundations of a sauce."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/props_junk/garbage_metalcan001a.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "You can make this item with the Cooking skill."}
|
||||
@@ -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 = "Dried Spice Flavouring"
|
||||
ITEM.description = "Strange smells emit from the packaging."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food8.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
@@ -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 = "Granulated Sweet-Bar"
|
||||
ITEM.description = "A crunchy chocolate-like bar made from sweetened substances."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food3.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
@@ -0,0 +1,21 @@
|
||||
--[[
|
||||
| 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 = "Sweetened Pastry Dough"
|
||||
ITEM.description = "Pastry sweetened up with berries suitable for dessert pastries."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/props/sweetdough.mdl"
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(-509.64, -427.61, 310.24),
|
||||
ang = Angle(24.86, 400, 0),
|
||||
fov = 0.51
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
--[[
|
||||
| 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 = "Tinned Leeches"
|
||||
ITEM.description = "Tinned leech. Used for cooking and is certainly not ready for consumption, yet."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food2.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
ITEM.junk = "junk_tincan"
|
||||
|
||||
ITEM.useSound = "npc/barnacle/barnacle_crunch3.wav"
|
||||
ITEM.openedItem = "ing_raw_leech" -- the uniqueID e.g what comes after 'sh_' in the file name unless ITEM.uniqueID is specified
|
||||
ITEM.openRequirementAmount = 3
|
||||
ITEM.openRequirement = "tool_knife" -- same desc as above
|
||||
|
||||
ITEM.functions.Open = {
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
local inventory = character:GetInventory()
|
||||
local requirementTable = ix.item.list[item.openRequirement]
|
||||
local requirementName = requirementTable.name or item.openRequirement
|
||||
|
||||
if (item.openRequirement) then
|
||||
local openerItem = inventory:HasItem(item.openRequirement)
|
||||
if !openerItem then
|
||||
client:NotifyLocalized("You do not have a "..requirementName.." to assemble this item")
|
||||
return false
|
||||
else
|
||||
if (openerItem.isTool) then
|
||||
openerItem:DamageDurability(1)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
client:EmitSound(item.useSound)
|
||||
|
||||
-- Spawn the opened item if it exists
|
||||
local requirementAmount = item.openRequirementAmount or 1
|
||||
if (item.openedItem) then
|
||||
local openedItemName = ix.item.list[item.openedItem].name or item.openedItem
|
||||
if (!inventory:Add(item.openedItem, requirementAmount)) then
|
||||
client:NotifyLocalized("You need "..requirementAmount.." inventory spaces to open this item.")
|
||||
return
|
||||
end
|
||||
|
||||
client:NotifyLocalized("You have opened a "..item.name.." and been given a "..openedItemName)
|
||||
end
|
||||
end
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
--[[
|
||||
| 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 = "veg_tomato"
|
||||
ITEM.name = "Raw Tomato"
|
||||
ITEM.description = "A freshly picked Tomato not yet cleaned off and covered in dirt."
|
||||
ITEM.category = "Food"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/props_phx/misc/potato.mdl"
|
||||
ITEM.cost = 5
|
||||
ITEM.maxStock = 8
|
||||
ITEM.hunger = 10
|
||||
ITEM.thirst = -15
|
||||
ITEM.spoil = true
|
||||
ITEM.useSound = "npc/barnacle/barnacle_crunch3.wav"
|
||||
ITEM.holdData = {
|
||||
vectorOffset = {
|
||||
right = 0.5,
|
||||
up = 0,
|
||||
forward = 1
|
||||
},
|
||||
angleOffset = {
|
||||
right = 0,
|
||||
up = 0,
|
||||
forward = -0
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
--[[
|
||||
| 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 = "Vegetable Package"
|
||||
ITEM.description = "The label reads this package contains a set of vegetables ready to be used for cooking purposes."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/foods/vege.mdl"
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(147.56, 124.19, 87.57),
|
||||
ang = Angle(23.52, 220.08, 0),
|
||||
fov = 4.7
|
||||
}
|
||||
@@ -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.name = "Vinegar"
|
||||
ITEM.description = "An aqueous bottle of acidic liquid, smells like a chip shop. Sniffing makes your mouth and eyes water."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/prop_bar_bottle_i.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquire this ingredient with the Bartering skill (requires a food ingredient permit) or from a shop."}
|
||||
|
||||
ITEM.maxStackSize = 24
|
||||
@@ -0,0 +1,35 @@
|
||||
--[[
|
||||
| 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 = "Antlion Extract"
|
||||
ITEM.description = "Your body feels at ease in its presence. It's glowing."
|
||||
ITEM.category = "Xen"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/n7/larval_essence01.mdl"
|
||||
ITEM.colorAppendix = {["red"] = "You need permission from CT Coordinators or Vort Leads to spawn or use this item, do not drop or hand it to other players."}
|
||||
ITEM.outlineColor = Color(255, 0, 0, 100)
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
icon = "icon16/user.png",
|
||||
OnRun = function(item)
|
||||
local client = item.player
|
||||
local character = item.player:GetCharacter()
|
||||
item:OnConsume(client, character)
|
||||
end,
|
||||
OnCanRun = function(item)
|
||||
return item.player:IsVortigaunt()
|
||||
end
|
||||
}
|
||||
|
||||
function ITEM:OnConsume(client, character)
|
||||
if !character:IsVortigaunt() then return end
|
||||
ix.plugin.Get("vortigaunts"):ExtractConsume(client, character)
|
||||
end
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Xen Herb"
|
||||
ITEM.description = "A strange xenian plant that can be used for cooking."
|
||||
ITEM.category = "Xen"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/xenflora.mdl"
|
||||
@@ -0,0 +1,16 @@
|
||||
--[[
|
||||
| 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 = "Xen Berries"
|
||||
ITEM.description = "A couple of strange Xen berries, seemingly edible if cooked."
|
||||
ITEM.category = "Xen"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/berries02.mdl"
|
||||
Reference in New Issue
Block a user