This commit is contained in:
lifestorm
2024-08-05 18:40:29 +03:00
parent 9f505a0646
commit c6d9b6f580
8044 changed files with 1853472 additions and 21 deletions

View File

@@ -0,0 +1,103 @@
--[[
| 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 = "Skill Book"
ITEM.model = Model("models/props_c17/BriefCase001a.mdl")
ITEM.description = "Uhh thats the skill book thing yeah."
ITEM.functions.Read = {
name = "Read",
tip = "unequipTip",
icon = "icon16/tick.png",
OnRun = function(item)
if (item.player) then
local skill = ix.skill:Find(item.skillCat)
local character = item.player:GetCharacter()
local isAddingSkills = true
if item.player:GetCharacter():GetTotalSkillLevel() >= 121 then
item.player:NotifyLocalized("You have reached the limit of skills!")
end
if (item.vol) then
if ix.books:ValidateReading(item.skillCat, item.vol, character) then
item.player:SetNetVar("staticAction", "Is currently reading something...")
item.player:Freeze(true)
item.player.isReading = true
ix.books:ProceedReading(item.skillCat, item.vol, character, item)
end
end
if not isAddingSkills then
item.player:NotifyLocalized("It seems that the information from the book is of no use to me.")
end
return false
end
end,
OnCanRun = function(item)
local client = item.player
local skill = ix.skill:Find(item.skillCat)
if not item.skillCat or not item.vol then return item.player:NotifyLocalized("Looks like there's something wrong with the book.") end
end
}
ITEM.functions.UnRead = {
name = "Stop Reading",
tip = "unequipTip",
icon = "icon16/delete.png",
OnRun = function(item)
if (item.player) then
if (item.player.isReading) then
item.player:SetNetVar("staticAction", nil)
item.player:Freeze(false)
item.player.isReading = nil
else
return false, item.player:NotifyLocalized("I don't read anything.")
end
return false
end
end
}
function ITEM:GetExtendedInfo()
local extendedInfo = {}
if (self.vol) then
if self.vol == 1 then
extendedInfo[#extendedInfo + 1] = "\nVolume: " .. self.vol .. "st"
elseif self.vol == 2 then
extendedInfo[#extendedInfo + 1] = "\nVolume: " .. self.vol .. "nd"
elseif self.vol == 3 then
extendedInfo[#extendedInfo + 1] = "\nVolume: " .. self.vol .. "rd"
else
extendedInfo[#extendedInfo + 1] = "\nVolume: " .. self.vol .. "th"
end
local reading = LocalPlayer():GetCharacter():GetReading()
local remainingPages -- With this we avoid the --190 pages left
if reading[self.skillCat][self.vol]["readed"] then
remainingPages = 0
else
remainingPages = reading[self.skillCat][self.vol]["pages"]
end
extendedInfo[#extendedInfo + 1] = "\nThis book covers the following skill: " .. self.skillCat
extendedInfo[#extendedInfo + 1] = "\nAdds FIVE skill points for each volume read in chronological order."
extendedInfo[#extendedInfo + 1] = "\nPages left: " .. remainingPages
if reading[self.skillCat][self.vol]["readed"] then
extendedInfo[#extendedInfo + 1] = "\nYOU HAVE ALREADY READ THIS BOOK."
else
extendedInfo[#extendedInfo + 1] = "\nYOU HAVE NOT READ THIS BOOK."
end
end
return table.concat(extendedInfo, "")
end
function ITEM:GetColorAppendix()
if self.vol then
return {["green"] = self:GetExtendedInfo()}
end
end

View File

@@ -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 = "Culinary and Cooking - Part 1"
ITEM.description = "Surprisingly - a more than preserved reference book telling about culinary recipes."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "cooking"
ITEM.vol = 1
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Cooking and Culinary - Part 2"
ITEM.description = "Amazing! - a truly preserved book that has countless culinary recipes."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "cooking"
ITEM.vol = 2
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Cooking and Culinary - Part 3"
ITEM.description = "Amazing! - a truly preserved book that has countless culinary recipes."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "cooking"
ITEM.vol = 3
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Cooking and Culinary - Part 4"
ITEM.description = "Amazing! - a truly preserved book that has countless culinary recipes."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "cooking"
ITEM.vol = 4
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Cooking and Culinary - Part 5"
ITEM.description = "Amazing! - a truly preserved book that has countless culinary recipes."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "cooking"
ITEM.vol = 5
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Tesla Science - Part 1"
ITEM.description = "A well preserved exoteric book that is meant for the biggest science enthusists, it's filled with formulas, gadgets and contraptions of all shapes and sizes. Truly wonderous stuff!\nThis edition in specific tells you about the basics of aerodynamics and rockets. Essential to every man, clearly."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.skin = 2
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "crafting"
ITEM.vol = 1
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Tesla Science - Part 2"
ITEM.description = "A well preserved exoteric book that is meant for the biggest science enthusists, it's filled with formulas, gadgets and contraptions of all shapes and sizes. Truly wonderous stuff!\nThis edition in specific tells you about the future of warfare, that's obviously not going to happen any time soon sadly..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 3
ITEM.skillCat = "crafting"
ITEM.vol = 2
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Tesla Science - Part 3"
ITEM.description = "A well preserved exoteric book that is meant for the biggest science enthusists, it's filled with formulas, gadgets and contraptions of all shapes and sizes. Truly wonderous stuff!\nThis edition talks about the latest military inventions used in the Old World, long and forgotten..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 4
ITEM.skillCat = "crafting"
ITEM.vol = 3
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Tesla Science - Part 4"
ITEM.description = "A well preserved exoteric book that is meant for the biggest science enthusists, it's filled with formulas, gadgets and contraptions of all shapes and sizes. Truly wonderous stuff! \nThis edition in specific talks about the powers of ionizing Gamma radiation, obviously a waste of time..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 5
ITEM.skillCat = "crafting"
ITEM.vol = 4
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Tesla Science - Part 5"
ITEM.description = "A well preserved exoteric book that is meant for the biggest science enthusists, it's filled with formulas, gadgets and contraptions of all shapes and sizes. Truly wonderous stuff! \nThis edition talks specifically about Plasma, but what exactly is Plasma anyway?"
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 1
ITEM.skillCat = "crafting"
ITEM.vol = 5
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -0,0 +1,20 @@
--[[
| 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 = "Guns & Bullets - Part 1"
ITEM.description = "A 'famous' western magazine that warms the heart of every gun-loving man. It's composed of five original editions and some spin-offs, all talking about Guns and Bullets, and how to shoot them!"
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "guns"
ITEM.skin = 3
ITEM.vol = 1
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -0,0 +1,20 @@
--[[
| 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 = "Guns & Bullets - Part 2"
ITEM.description = "A 'famous' western magazine that warms the heart of every gun-loving man. It's composed of five original editions and some spin-offs, all talking about Guns and Bullets, and how to shoot them!"
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 2
ITEM.skillCat = "guns"
ITEM.vol = 2
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Guns & Bullets - Part 3"
ITEM.description = "A 'famous' western magazine that warms the heart of every gun-loving man. It's composed of five original editions and some spin-offs, all talking about Guns and Bullets, and how to shoot them!"
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 1
ITEM.skillCat = "guns"
ITEM.vol = 3
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Guns & Bullets - Part 4"
ITEM.description = "A 'famous' western magazine that warms the heart of every gun-loving man. It's composed of five original editions and some spin-offs, all talking about Guns and Bullets, and how to shoot them!"
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 4
ITEM.skillCat = "guns"
ITEM.vol = 4
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Guns & Bullets - Part 5"
ITEM.description = "A 'famous' western magazine that warms the heart of every gun-loving man. It's composed of five original editions and some spin-offs, all talking about Guns and Bullets, and how to shoot them!"
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 6
ITEM.skillCat = "guns"
ITEM.vol = 5
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Surgical Journey - Part 1"
ITEM.description = "A long forgotten magazine that shows the wonders of modern science - or at least what they used to be... still, it's not entirely useless, maybe you could learn a thing or two..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.skin = 1
ITEM.height = 1
ITEM.skillCat = "medicine"
ITEM.vol = 1
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Surgical Journey - Part 2."
ITEM.description = "A long forgotten magazine that shows the wonders of modern science - or at least what they used to be... still, it's not entirely useless, maybe you could learn a thing or two..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 6
ITEM.skillCat = "medicine"
ITEM.vol = 2
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Surgical Journey - Part 3"
ITEM.description = "A long forgotten magazine that shows the wonders of modern science - or at least what they used to be... still, it's not entirely useless, maybe you could learn a thing or two..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 5
ITEM.skillCat = "medicine"
ITEM.vol = 3
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -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 = "Surgical Journey - Part 4"
ITEM.description = "A long forgotten magazine that shows the wonders of modern science - or at least what they used to be... still, it's not entirely useless, maybe you could learn a thing or two..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skin = 7
ITEM.skillCat = "medicine"
ITEM.vol = 4
ITEM.outlineColor = Color(255, 0, 0, 100)

View File

@@ -0,0 +1,20 @@
--[[
| 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 = "Surgical Journey - Part 5"
ITEM.description = "A long forgotten magazine that shows the wonders of modern science - or at least what they used to be... still, it's not entirely useless, maybe you could learn a thing or two..."
ITEM.category = "Skill Books"
ITEM.model = "models/willardnetworks/misc/book.mdl"
ITEM.width = 1
ITEM.height = 1
ITEM.skillCat = "medicine"
ITEM.vol = 5
ITEM.outlineColor = Color(255, 0, 0, 100)