mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-18 22:23:46 +03:00
Upload
This commit is contained in:
@@ -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 = "Base de Crême Glacée"
|
||||
ITEM.description = "Une base pour faire de la glace - bien que vous puissiez la manger, quelque chose vous dit que vous préféreriez en faire quelque chose d'autre en premier."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/props_junk/garbage_takeoutcarton001a.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "You can acquire this ingredient by making it yourself, buying it from a shop or having a ingredient permit."}
|
||||
@@ -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 = "Viande crue de fourmillion"
|
||||
ITEM.description = "Viande crue de fourmilion pour la préparation culinaire."
|
||||
ITEM.category = "Ingrédients"
|
||||
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"] = "Vous pouvez massacrer des Fourmilions et acquérir leur viande en frappant une arme de mêlée sur leur carcasse."}
|
||||
ITEM.hunger = 15
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
name = "Consommer",
|
||||
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,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 = "Viande artificielle crue"
|
||||
ITEM.description = "Viande artificielle crue à cuisiner."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/steak1.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Obtenez de la viande artificielle avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
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 = {
|
||||
name = "Consommer",
|
||||
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,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 = "Boeuf cru"
|
||||
ITEM.description = "De la viande crue de boeuf."
|
||||
ITEM.category = "Ingrédients"
|
||||
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 = {
|
||||
name = "Consommer",
|
||||
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,58 @@
|
||||
--[[
|
||||
| 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 = "Réserve de boeuf enrichie"
|
||||
ITEM.description = "Viande de boeuf crue à cuisiner."
|
||||
ITEM.category = "Ingrédients"
|
||||
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 = {
|
||||
name = "Diviser",
|
||||
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("Vous n'avez pas de "..requirementName.." pour assembler cet article")
|
||||
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("Vous avez besoin de "..requirementAmount.." d'espaces d'inventaire pour ouvrir cet article.")
|
||||
return
|
||||
end
|
||||
|
||||
client:NotifyLocalized("Vous avez ouvert un "..item.name.." et reçu un "..openedItemName)
|
||||
end
|
||||
end
|
||||
}
|
||||
@@ -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 = "Viande d'oiseau crue"
|
||||
ITEM.description = "Viande crue d'oiseaux à cuisiner."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/meat5.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Vous pouvez massacrer des oiseaux et acquérir leur viande en frappant une arme de mêlée sur leur carcasse."}
|
||||
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 = {
|
||||
name = "Consommer",
|
||||
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,33 @@
|
||||
--[[
|
||||
| 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 = "Poulet cru"
|
||||
ITEM.description = "Viande de poulet crue à cuisiner."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/meat3.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Obtenez du poulet cru avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
ITEM.hunger = 20
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
name = "Consommer",
|
||||
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 = "Poudre de café"
|
||||
ITEM.description = "Poudre fine obtenue à partir de grains de café torréfiés."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/coffee_nescafe.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 = "Pâte à pain"
|
||||
ITEM.description = "Une boule de pâte levée, prête à être pétrie et cuite."
|
||||
ITEM.category = "Ingrédients"
|
||||
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 = "Oeuf"
|
||||
ITEM.description = "Oeuf de poule à utiliser en cuisine."
|
||||
ITEM.category = "Ingrédients"
|
||||
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 = "Poisson cru"
|
||||
ITEM.description = "Poisson frais cru pour la préparation culinaire."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/fishgolden.mdl"
|
||||
@@ -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.name = "Farine saturée"
|
||||
ITEM.description = "De la poudre de céréales utilisée pour la cuisine."
|
||||
|
||||
ITEM.name = "Farine"
|
||||
ITEM.description = "De la farine utilisée pour la cuisine."
|
||||
|
||||
ITEM.category = "Ingrédients"
|
||||
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 = 8
|
||||
@@ -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 = "Chair de crabe crue"
|
||||
ITEM.description = "De la chair crue de crabe."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/meat5.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Vous pouvez massacrer des Headcrabs et acquérir leur viande en frappant une arme de mêlée sur leur carcasse."}
|
||||
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 = {
|
||||
name = "Consommer",
|
||||
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 = "Herbes de cuisine séchées"
|
||||
ITEM.description = "Mélange d'herbes séchées pour la cuisine."
|
||||
ITEM.category = "Ingrédients"
|
||||
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,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 = "Margarine Produit"
|
||||
|
||||
ITEM.name = "Margarine"
|
||||
|
||||
ITEM.description = "Graisse végétale à utiliser dans la cuisine."
|
||||
ITEM.category = "Ingrédients"
|
||||
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 = "Nouilles séchées"
|
||||
ITEM.description = "Pâtes alimentaires séchées à base de farine."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/props_junk/garbage_takeoutcarton001a.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Procurez-vous cet ingrédient avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
@@ -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 = "Pâte à Pâtisserie"
|
||||
ITEM.description = "Une boule de pâte brisée, prête à être étalée et garnir selon vos envies."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/props/dough.mdl"
|
||||
@@ -0,0 +1,23 @@
|
||||
--[[
|
||||
| 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 = 25
|
||||
ITEM.thirst = -15
|
||||
ITEM.spoil = true
|
||||
ITEM.useSound = "npc/barnacle/barnacle_crunch3.wav"
|
||||
@@ -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 = "Paquet de protéines d'oeuf"
|
||||
ITEM.description = "Poudre à base d'œufs utilisée pour augmenter la teneur en protéines des plats."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food1.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Procurez-vous cet ingrédient avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
@@ -0,0 +1,39 @@
|
||||
--[[
|
||||
| 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 = "Carcasse de sangsue crue"
|
||||
ITEM.description = "La carcasse crue d'une sangsue."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/leech.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Obtenez des sangsues crues avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
ITEM.iconCam = {
|
||||
pos = Vector(509.64, 427.61, 310.24),
|
||||
ang = Angle(24.92, 219.99, 0),
|
||||
fov = 0.48
|
||||
}
|
||||
ITEM.maxStackSize = 5
|
||||
ITEM.hunger = 15
|
||||
|
||||
ITEM.functions.Consume = {
|
||||
name = "Consommer",
|
||||
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,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 = "Pôt de sel"
|
||||
ITEM.description = "Cristaux blancs utilisés pour assaisonner les aliments."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/foods/salt.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Procurez-vous cet ingrédient avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
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 = "Fond de sauce"
|
||||
ITEM.description = "Une base liquide pour donner du goût aux plats."
|
||||
ITEM.category = "Ingrédients"
|
||||
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 = "Arôme d'épices séchées"
|
||||
ITEM.description = "Un mélange d'épices séchées pour assaisonner les plats."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food8.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Procurez-vous cet ingrédient avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
@@ -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 = "Barre sucrée granulée"
|
||||
ITEM.description = "Une barre énergétique faite de céréales et de fruits secs."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food3.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Procurez-vous cet ingrédient avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
@@ -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 = "Pâte à Pâtisserie Sucrée"
|
||||
ITEM.description = "Une boule de pâte sucrée, prête à être étalée et transformée en délicieux desserts."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/props/sweetdough.mdl"
|
||||
@@ -0,0 +1,60 @@
|
||||
--[[
|
||||
| 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 = "Sangsues en conserve"
|
||||
ITEM.description = "Conserve de sangsue pour la cuisine."
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/cmb_food2.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Procurez-vous cet ingrédient avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
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 = {
|
||||
name = "Diviser",
|
||||
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("Vous n'avez pas de "..requirementName.." pour assembler cet article")
|
||||
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("Vous avez besoin de"..requirementAmount.." d'espaces d'inventaire pour ouvrir cet article.")
|
||||
return
|
||||
end
|
||||
|
||||
client:NotifyLocalized("Vous avez ouvert un "..item.name.." et reçu un "..openedItemName)
|
||||
end
|
||||
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 = "Extrait de Vanille"
|
||||
ITEM.description = "Une recréation artificielle d'un extrait de vanille... ça a un goût un peu acide."
|
||||
ITEM.category = "Ingredient"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/labware/bottle1.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "You can acquire this ingredient by making it yourself, buying it from a shop or having a ingredient permit."}
|
||||
@@ -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 = "Assortiment de légumes"
|
||||
ITEM.description = "Un mélange de légumes frais coupés."
|
||||
ITEM.category = "Ingrédients"
|
||||
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,23 @@
|
||||
--[[
|
||||
| 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 = "Vinaigre"
|
||||
|
||||
ITEM.description = "Liquide acide utilisé comme assaisonnement ou agent conservateur."
|
||||
|
||||
ITEM.description = "Liquide utilisé comme assaisonnement ou agent conservateur."
|
||||
|
||||
ITEM.category = "Ingrédients"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/prop_bar_bottle_i.mdl"
|
||||
ITEM.colorAppendix = {["blue"] = "Acquérir cet ingrédient avec la compétence Troc (nécessite un permis d'ingrédient alimentaire) ou dans un magasin."}
|
||||
|
||||
ITEM.maxStackSize = 8
|
||||
@@ -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 = "Extrait d'antlion"
|
||||
ITEM.description = "Votre corps se sent à l'aise en sa présence. C'est brillant."
|
||||
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 = "Une plante xénienne étrange qui peut être utilisée pour la cuisine."
|
||||
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 = "Quelques étranges baies de Xen, apparemment comestibles si elles sont cuites."
|
||||
ITEM.category = "Xen"
|
||||
ITEM.width = 1
|
||||
ITEM.height = 1
|
||||
ITEM.model = "models/willardnetworks/food/berries02.mdl"
|
||||
Reference in New Issue
Block a user