<commit_before>--[[
Illarion Server

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
-- UPDATE items SET itm_script='item.id_266_bookshelf' WHERE itm_id IN (266, 267);

local common = require("base.common")
local lookat = require("base.lookat")
local learnMagic = require("magic.learnMagic")
local elesil_dalewon_223 = require("quest.elesil_daelwon_223_runewick")

local M = {}

local maximumBooksPerShelf = 10

local bookBlackHeavy = 2620
local bookBlackLong = 110
local bookBlackOrdinary = 2621
local bookBlackRedRune = 2619
local bookBlackRedRuneHeavy = 130
local bookBlackSilverLong = 2605
local bookBlackSilverSquare = 2604
local bookBlackSmallHeavy = 117
local bookBlackSmallLong = 128
local bookBlackValuable = 109
local bookBlueOrnament = 105
local bookBlueRedLandscape = 2608
local bookBlueRedLong = 2606
local bookBlueSilverLandscape = 2609
local bookBlueSilverLong = 2610
local bookBrown = 107
local bookBrownSmall = 127
local bookCyanBooklet = 2598
local bookCyanBottle = 106
local bookGreenLight = 114
local bookGreenLong = 115
local bookGreyLandscape = 2617
local bookGreyLargeHeavy = 116
local bookletBlue = 129
local bookletBlueRed = 2607
local bookletPink = 112
local bookletYellow = 2616
local bookRedBooklet = 2602
local bookRedHeavy = 111
local bookRedHigh = 108
local bookRedLight = 113
local bookTreasureMap = 505
local bookWhiteRune = 2622
local bookYellow = 2615
local bookYellowVeryHeavy = 131
local pell = 3110
local pellOpen = 3109

M.bookList = {}
M.bookList["cadomyr_on_cadomyr"] = {english = "Cadomyr, Most Faithful",german =  "Cadomyr, unsere treueste", bookId = 1, bookGraphic = bookBrown}
M.bookList["cadomyr_on_galmair"] = {english = "Galmair, the Others from the North",german =  "Galmair, die Anderen vom Norden", bookId = 2, bookGraphic = bookBrown}
M.bookList["cadomyr_on_runewick"] = {english = "Runewick, the Others from the East",german =  "Runewick, die Anderen vom Osten", bookId = 3, bookGraphic = bookBrown}
M.bookList["galmair_on_cadomyr"] = {english = "Cadomyr, by <NAME>ak",german =  "Cadomyr, von Torbus Nonak", bookId = 4, bookGraphic = bookBlackLong}<commit_msg>Remove unused variable<commit_after>--[[
Illarion Server

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
-- UPDATE items SET itm_script='item.id_266_bookshelf' WHERE itm_id IN (266, 267);

local common = require("base.common")
local lookat = require("base.lookat")
local learnMagic = require("magic.learnMagic")
local elesil_dalewon_223 = require("quest.elesil_daelwon_223_runewick")

local M = {}

local maximumBooksPerShelf = 10

local bookBlackHeavy = 2620
local bookBlackLong = 110
local bookBlackOrdinary = 2621
local bookBlackRedRune = 2619
local bookBlackRedRuneHeavy = 130
local bookBlackSilverLong = 2605
local bookBlackSilverSquare = 2604
local bookBlackSmallHeavy = 117
local bookBlackSmallLong = 128
local bookBlackValuable = 109
local bookBlueOrnament = 105
local bookBlueRedLandscape = 2608
local bookBlueRedLong = 2606
local bookBlueSilverLandscape = 2609
local bookBlueSilverLong = 2610
local bookBrown = 107
local bookBrownSmall = 127
local bookCyanBooklet = 2598
local bookCyanBottle = 106
local bookGreenLight = 114
local bookGreenLong = 115
local bookGreyLandscape = 2617
local bookGreyLargeHeavy = 116
local bookletBlue = 129
local bookletBlueRed = 2607
local bookletPink = 112
local bookletYellow = 2616
local bookRedBooklet = 2602
local bookRedHeavy = 111
local bookRedHigh = 108
local bookRedLight = 113
local bookWhiteRune = 2622
local bookYellow = 2615
local bookYellowVeryHeavy = 131
local pell = 3110
local pellOpen = 3109

M.bookList = {}
M.bookList["cadomyr_on_cadomyr"] = {english = "Cadomyr, Most Faithful",german =  "Cadomyr, unsere treueste", bookId = 1, bookGraphic = bookBrown}
M.bookList["cadomyr_on_galmair"] = {english = "Galmair, the Others from the North",german =  "Galmair, die Anderen vom Norden", bookId = 2, bookGraphic = bookBrown}
M.bookList["cadomyr_on_runewick"] = {english = "Runewick, the Others from the East",german =  "Runewick, die Anderen vom Osten", bookId = 3, bookGraphic = bookBrown}
M.bookList["galmair_on_cadomyr"] = {english = "Cadomyr, by <NAME>",german =  "Cadomyr, von Torbus Nonak", bookId = 4, bookGraphic = bookBlackLong}
{'fraction_non_alphanumeric': 0.0730347519048504, 'fraction_numerical': 0.05556587994796506, 'mean_word_length': 5.587515299877601, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4407777', 'n_tokens_mistral': 1985, 'n_tokens_neox': 1679, 'n_words': 602}