#this is all a one-time value set kinda thing





#set start and current page, I'm lazy atm but just make sure Current is +4 from Start
scoreboard players set #ProgBookCurrentPage KyuDummy 17
scoreboard players set #ProgBookStartPage KyuDummy 13

##Also, make sure the mob prog section goes to that page by default. remember to add 1 to the value.
data modify block 999996 124 999977 Items[0].tag.pages[0] set value "[{\"text\":\"INDEX\\n\"},\
{\"text\":\"-------------------\\n\"},\
{\"text\":\"1. General Info    \\n\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"}},\
{\"text\":\"2. Current Mob Progression    \\n\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"13\"}}\
]"




#put the current and starting page into the storage. also put a page +1 variable into storage
execute store result storage minecraft:kyuprogressionbookcalendar StartPage int 1 run scoreboard players get #ProgBookStartPage KyuDummy
execute store result storage minecraft:kyuprogressionbookcalendar CurrentPage int 1 run scoreboard players get #ProgBookCurrentPage KyuDummy
scoreboard players add #ProgBookCurrentPage KyuDummy 1
execute store result storage minecraft:kyuprogressionbookcalendar CurrentPagePlusOne int 1 run scoreboard players get #ProgBookCurrentPage KyuDummy
scoreboard players remove #ProgBookCurrentPage KyuDummy 1


#make the 4 calendar page values, then put the start page value back to normal
execute store result storage minecraft:kyuprogressionbookcalendar CalendarPage1 int 1 run scoreboard players get #ProgBookStartPage KyuDummy
scoreboard players add #ProgBookStartPage KyuDummy 1
execute store result storage minecraft:kyuprogressionbookcalendar CalendarPage2 int 1 run scoreboard players get #ProgBookStartPage KyuDummy
scoreboard players add #ProgBookStartPage KyuDummy 1
execute store result storage minecraft:kyuprogressionbookcalendar CalendarPage3 int 1 run scoreboard players get #ProgBookStartPage KyuDummy
scoreboard players add #ProgBookStartPage KyuDummy 1
execute store result storage minecraft:kyuprogressionbookcalendar CalendarPage4 int 1 run scoreboard players get #ProgBookStartPage KyuDummy
scoreboard players remove #ProgBookStartPage KyuDummy 3



#set default values

data modify storage kyuprogressionbookcalendar HardModeBuff set value ""
data modify storage kyuprogressionbookcalendar Day1 set value ""
data modify storage kyuprogressionbookcalendar Day2 set value ""
data modify storage kyuprogressionbookcalendar Day3 set value ""
data modify storage kyuprogressionbookcalendar Day4 set value ""
data modify storage kyuprogressionbookcalendar Day5 set value ""
data modify storage kyuprogressionbookcalendar Day6 set value ""
data modify storage kyuprogressionbookcalendar Day7 set value ""
data modify storage kyuprogressionbookcalendar Day8 set value ""
data modify storage kyuprogressionbookcalendar Day9 set value ""
data modify storage kyuprogressionbookcalendar Day10 set value ""
data modify storage kyuprogressionbookcalendar Day11 set value ""
data modify storage kyuprogressionbookcalendar Day12 set value ""
data modify storage kyuprogressionbookcalendar Day13 set value ""
data modify storage kyuprogressionbookcalendar Day14 set value ""
data modify storage kyuprogressionbookcalendar Day15 set value ""
data modify storage kyuprogressionbookcalendar Day16 set value ""
data modify storage kyuprogressionbookcalendar Day17 set value ""
data modify storage kyuprogressionbookcalendar Day18 set value ""
data modify storage kyuprogressionbookcalendar Day19 set value ""
data modify storage kyuprogressionbookcalendar Day20 set value ""
data modify storage kyuprogressionbookcalendar Day21 set value ""
data modify storage kyuprogressionbookcalendar Day22 set value ""
data modify storage kyuprogressionbookcalendar Day23 set value ""
data modify storage kyuprogressionbookcalendar Day24 set value ""
data modify storage kyuprogressionbookcalendar Day25 set value ""
data modify storage kyuprogressionbookcalendar Day26 set value ""
data modify storage kyuprogressionbookcalendar Day27 set value ""
data modify storage kyuprogressionbookcalendar Day28 set value ""
data modify storage kyuprogressionbookcalendar Day29 set value ""
data modify storage kyuprogressionbookcalendar Day30 set value ""
data modify storage kyuprogressionbookcalendar Day31 set value ""
data modify storage kyuprogressionbookcalendar Day32 set value ""
data modify storage kyuprogressionbookcalendar Day33 set value ""
data modify storage kyuprogressionbookcalendar Day34 set value ""
data modify storage kyuprogressionbookcalendar Day35 set value ""
data modify storage kyuprogressionbookcalendar Day36 set value ""
data modify storage kyuprogressionbookcalendar Day37 set value ""
data modify storage kyuprogressionbookcalendar Day38 set value ""
data modify storage kyuprogressionbookcalendar Day39 set value ""
data modify storage kyuprogressionbookcalendar Day40 set value ""
data modify storage kyuprogressionbookcalendar Day41 set value ""
data modify storage kyuprogressionbookcalendar Day42 set value ""
data modify storage kyuprogressionbookcalendar Day43 set value ""
data modify storage kyuprogressionbookcalendar Day44 set value ""
data modify storage kyuprogressionbookcalendar Day45 set value ""
data modify storage kyuprogressionbookcalendar Day46 set value ""
data modify storage kyuprogressionbookcalendar Day47 set value ""
data modify storage kyuprogressionbookcalendar Day48 set value ""
data modify storage kyuprogressionbookcalendar Day49 set value ""
data modify storage kyuprogressionbookcalendar Day50 set value ""
data modify storage kyuprogressionbookcalendar Day51 set value ""
data modify storage kyuprogressionbookcalendar Day52 set value ""
data modify storage kyuprogressionbookcalendar Day53 set value ""
data modify storage kyuprogressionbookcalendar Day54 set value ""
data modify storage kyuprogressionbookcalendar Day55 set value ""
data modify storage kyuprogressionbookcalendar Day56 set value ""
data modify storage kyuprogressionbookcalendar Day57 set value ""
data modify storage kyuprogressionbookcalendar Day58 set value ""
data modify storage kyuprogressionbookcalendar Day59 set value ""
data modify storage kyuprogressionbookcalendar Day60 set value ""
data modify storage kyuprogressionbookcalendar Day61 set value ""
data modify storage kyuprogressionbookcalendar Day62 set value ""
data modify storage kyuprogressionbookcalendar Day63 set value ""
data modify storage kyuprogressionbookcalendar Day64 set value ""
data modify storage kyuprogressionbookcalendar Day65 set value ""
data modify storage kyuprogressionbookcalendar Day66 set value ""
data modify storage kyuprogressionbookcalendar Day67 set value ""
data modify storage kyuprogressionbookcalendar Day68 set value ""
data modify storage kyuprogressionbookcalendar Day69 set value ""
data modify storage kyuprogressionbookcalendar Day70 set value ""
data modify storage kyuprogressionbookcalendar Day71 set value ""
data modify storage kyuprogressionbookcalendar Day72 set value ""
data modify storage kyuprogressionbookcalendar Day73 set value ""
data modify storage kyuprogressionbookcalendar Day74 set value ""
data modify storage kyuprogressionbookcalendar Day75 set value ""
data modify storage kyuprogressionbookcalendar Day76 set value ""
data modify storage kyuprogressionbookcalendar Day77 set value ""
data modify storage kyuprogressionbookcalendar Day78 set value ""
data modify storage kyuprogressionbookcalendar Day79 set value ""
data modify storage kyuprogressionbookcalendar Day80 set value ""
data modify storage kyuprogressionbookcalendar Day81 set value ""
data modify storage kyuprogressionbookcalendar Day82 set value ""
data modify storage kyuprogressionbookcalendar Day83 set value ""
data modify storage kyuprogressionbookcalendar Day84 set value ""
data modify storage kyuprogressionbookcalendar Day85 set value ""
data modify storage kyuprogressionbookcalendar Day86 set value ""
data modify storage kyuprogressionbookcalendar Day87 set value ""
data modify storage kyuprogressionbookcalendar Day88 set value ""
data modify storage kyuprogressionbookcalendar Day89 set value ""
data modify storage kyuprogressionbookcalendar Day90 set value ""
data modify storage kyuprogressionbookcalendar Day91 set value ""
data modify storage kyuprogressionbookcalendar Day92 set value ""
data modify storage kyuprogressionbookcalendar Day93 set value ""
data modify storage kyuprogressionbookcalendar Day94 set value ""
data modify storage kyuprogressionbookcalendar Day95 set value ""
data modify storage kyuprogressionbookcalendar Day96 set value ""
data modify storage kyuprogressionbookcalendar Day97 set value ""
data modify storage kyuprogressionbookcalendar Day98 set value ""
data modify storage kyuprogressionbookcalendar Day99 set value ""
data modify storage kyuprogressionbookcalendar Day100 set value ""
data modify storage kyuprogressionbookcalendar Day101 set value ""
data modify storage kyuprogressionbookcalendar Day102 set value ""
data modify storage kyuprogressionbookcalendar Day103 set value ""
data modify storage kyuprogressionbookcalendar Day104 set value ""
data modify storage kyuprogressionbookcalendar Day105 set value ""
data modify storage kyuprogressionbookcalendar Day106 set value ""
data modify storage kyuprogressionbookcalendar Day107 set value ""
data modify storage kyuprogressionbookcalendar Day108 set value ""
data modify storage kyuprogressionbookcalendar Day109 set value ""
data modify storage kyuprogressionbookcalendar Day110 set value ""
data modify storage kyuprogressionbookcalendar Day111 set value ""
data modify storage kyuprogressionbookcalendar Day112 set value ""
data modify storage kyuprogressionbookcalendar Day113 set value ""
data modify storage kyuprogressionbookcalendar Day114 set value ""
data modify storage kyuprogressionbookcalendar Day115 set value ""
data modify storage kyuprogressionbookcalendar Day116 set value ""
data modify storage kyuprogressionbookcalendar Day117 set value ""
data modify storage kyuprogressionbookcalendar Day118 set value ""
data modify storage kyuprogressionbookcalendar Day119 set value ""
data modify storage kyuprogressionbookcalendar Day120 set value ""
data modify storage kyuprogressionbookcalendar Day1Click set value 999
data modify storage kyuprogressionbookcalendar Day2Click set value 999
data modify storage kyuprogressionbookcalendar Day3Click set value 999
data modify storage kyuprogressionbookcalendar Day4Click set value 999
data modify storage kyuprogressionbookcalendar Day5Click set value 999
data modify storage kyuprogressionbookcalendar Day6Click set value 999
data modify storage kyuprogressionbookcalendar Day7Click set value 999
data modify storage kyuprogressionbookcalendar Day8Click set value 999
data modify storage kyuprogressionbookcalendar Day9Click set value 999
data modify storage kyuprogressionbookcalendar Day10Click set value 999
data modify storage kyuprogressionbookcalendar Day11Click set value 999
data modify storage kyuprogressionbookcalendar Day12Click set value 999
data modify storage kyuprogressionbookcalendar Day13Click set value 999
data modify storage kyuprogressionbookcalendar Day14Click set value 999
data modify storage kyuprogressionbookcalendar Day15Click set value 999
data modify storage kyuprogressionbookcalendar Day16Click set value 999
data modify storage kyuprogressionbookcalendar Day17Click set value 999
data modify storage kyuprogressionbookcalendar Day18Click set value 999
data modify storage kyuprogressionbookcalendar Day19Click set value 999
data modify storage kyuprogressionbookcalendar Day20Click set value 999
data modify storage kyuprogressionbookcalendar Day21Click set value 999
data modify storage kyuprogressionbookcalendar Day22Click set value 999
data modify storage kyuprogressionbookcalendar Day23Click set value 999
data modify storage kyuprogressionbookcalendar Day24Click set value 999
data modify storage kyuprogressionbookcalendar Day25Click set value 999
data modify storage kyuprogressionbookcalendar Day26Click set value 999
data modify storage kyuprogressionbookcalendar Day27Click set value 999
data modify storage kyuprogressionbookcalendar Day28Click set value 999
data modify storage kyuprogressionbookcalendar Day29Click set value 999
data modify storage kyuprogressionbookcalendar Day30Click set value 999
data modify storage kyuprogressionbookcalendar Day31Click set value 999
data modify storage kyuprogressionbookcalendar Day32Click set value 999
data modify storage kyuprogressionbookcalendar Day33Click set value 999
data modify storage kyuprogressionbookcalendar Day34Click set value 999
data modify storage kyuprogressionbookcalendar Day35Click set value 999
data modify storage kyuprogressionbookcalendar Day36Click set value 999
data modify storage kyuprogressionbookcalendar Day37Click set value 999
data modify storage kyuprogressionbookcalendar Day38Click set value 999
data modify storage kyuprogressionbookcalendar Day39Click set value 999
data modify storage kyuprogressionbookcalendar Day40Click set value 999
data modify storage kyuprogressionbookcalendar Day41Click set value 999
data modify storage kyuprogressionbookcalendar Day42Click set value 999
data modify storage kyuprogressionbookcalendar Day43Click set value 999
data modify storage kyuprogressionbookcalendar Day44Click set value 999
data modify storage kyuprogressionbookcalendar Day45Click set value 999
data modify storage kyuprogressionbookcalendar Day46Click set value 999
data modify storage kyuprogressionbookcalendar Day47Click set value 999
data modify storage kyuprogressionbookcalendar Day48Click set value 999
data modify storage kyuprogressionbookcalendar Day49Click set value 999
data modify storage kyuprogressionbookcalendar Day50Click set value 999
data modify storage kyuprogressionbookcalendar Day51Click set value 999
data modify storage kyuprogressionbookcalendar Day52Click set value 999
data modify storage kyuprogressionbookcalendar Day53Click set value 999
data modify storage kyuprogressionbookcalendar Day54Click set value 999
data modify storage kyuprogressionbookcalendar Day55Click set value 999
data modify storage kyuprogressionbookcalendar Day56Click set value 999
data modify storage kyuprogressionbookcalendar Day57Click set value 999
data modify storage kyuprogressionbookcalendar Day58Click set value 999
data modify storage kyuprogressionbookcalendar Day59Click set value 999
data modify storage kyuprogressionbookcalendar Day60Click set value 999
data modify storage kyuprogressionbookcalendar Day61Click set value 999
data modify storage kyuprogressionbookcalendar Day62Click set value 999
data modify storage kyuprogressionbookcalendar Day63Click set value 999
data modify storage kyuprogressionbookcalendar Day64Click set value 999
data modify storage kyuprogressionbookcalendar Day65Click set value 999
data modify storage kyuprogressionbookcalendar Day66Click set value 999
data modify storage kyuprogressionbookcalendar Day67Click set value 999
data modify storage kyuprogressionbookcalendar Day68Click set value 999
data modify storage kyuprogressionbookcalendar Day69Click set value 999
data modify storage kyuprogressionbookcalendar Day70Click set value 999
data modify storage kyuprogressionbookcalendar Day71Click set value 999
data modify storage kyuprogressionbookcalendar Day72Click set value 999
data modify storage kyuprogressionbookcalendar Day73Click set value 999
data modify storage kyuprogressionbookcalendar Day74Click set value 999
data modify storage kyuprogressionbookcalendar Day75Click set value 999
data modify storage kyuprogressionbookcalendar Day76Click set value 999
data modify storage kyuprogressionbookcalendar Day77Click set value 999
data modify storage kyuprogressionbookcalendar Day78Click set value 999
data modify storage kyuprogressionbookcalendar Day79Click set value 999
data modify storage kyuprogressionbookcalendar Day80Click set value 999
data modify storage kyuprogressionbookcalendar Day81Click set value 999
data modify storage kyuprogressionbookcalendar Day82Click set value 999
data modify storage kyuprogressionbookcalendar Day83Click set value 999
data modify storage kyuprogressionbookcalendar Day84Click set value 999
data modify storage kyuprogressionbookcalendar Day85Click set value 999
data modify storage kyuprogressionbookcalendar Day86Click set value 999
data modify storage kyuprogressionbookcalendar Day87Click set value 999
data modify storage kyuprogressionbookcalendar Day88Click set value 999
data modify storage kyuprogressionbookcalendar Day89Click set value 999
data modify storage kyuprogressionbookcalendar Day90Click set value 999
data modify storage kyuprogressionbookcalendar Day91Click set value 999
data modify storage kyuprogressionbookcalendar Day92Click set value 999
data modify storage kyuprogressionbookcalendar Day93Click set value 999
data modify storage kyuprogressionbookcalendar Day94Click set value 999
data modify storage kyuprogressionbookcalendar Day95Click set value 999
data modify storage kyuprogressionbookcalendar Day96Click set value 999
data modify storage kyuprogressionbookcalendar Day97Click set value 999
data modify storage kyuprogressionbookcalendar Day98Click set value 999
data modify storage kyuprogressionbookcalendar Day99Click set value 999
data modify storage kyuprogressionbookcalendar Day100Click set value 999
data modify storage kyuprogressionbookcalendar Day101Click set value 999
data modify storage kyuprogressionbookcalendar Day102Click set value 999
data modify storage kyuprogressionbookcalendar Day103Click set value 999
data modify storage kyuprogressionbookcalendar Day104Click set value 999
data modify storage kyuprogressionbookcalendar Day105Click set value 999
data modify storage kyuprogressionbookcalendar Day106Click set value 999
data modify storage kyuprogressionbookcalendar Day107Click set value 999
data modify storage kyuprogressionbookcalendar Day108Click set value 999
data modify storage kyuprogressionbookcalendar Day109Click set value 999
data modify storage kyuprogressionbookcalendar Day110Click set value 999
data modify storage kyuprogressionbookcalendar Day111Click set value 999
data modify storage kyuprogressionbookcalendar Day112Click set value 999
data modify storage kyuprogressionbookcalendar Day113Click set value 999
data modify storage kyuprogressionbookcalendar Day114Click set value 999
data modify storage kyuprogressionbookcalendar Day115Click set value 999
data modify storage kyuprogressionbookcalendar Day116Click set value 999
data modify storage kyuprogressionbookcalendar Day117Click set value 999
data modify storage kyuprogressionbookcalendar Day118Click set value 999
data modify storage kyuprogressionbookcalendar Day119Click set value 999
data modify storage kyuprogressionbookcalendar Day120Click set value 999



###below sets the pages for the general info section


data modify block 999996 124 999977 Items[0].tag.pages[1] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1a. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"This section contains info about SUHC that you will find useful. If you are new to SUHC, we advise that you at least skim the contents.\\n\\n\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


data modify block 999996 124 999977 Items[0].tag.pages[2] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1b. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"If you prefer, you can have the contents of this section slowly output to your chatbox, so you may read as you go about your way. \\n\\nTo do so,\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\" Click Here\",\"italic\":false,\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger KyuSpells set 1200\"}},\
{\"text\":\".\\n\\nAnyways...\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"




data modify block 999996 124 999977 Items[0].tag.pages[3] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1c. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"Welcome to SUHC!\\n\",\"color\":\"red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"To start you off:\",\"italic\":false,\"color\":\"#F2B11F\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- You\\'ve been tele\\'d to a random location.\",\"italic\":false,\"color\":\"#FFAC00\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- Your inventory has been cleared.\",\"italic\":false,\"color\":\"#FFAF05\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- Your health has been restored.\",\"italic\":false,\"color\":\"#FFB50A\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- You\\'ve been given a carrot. For good luck.\",\"italic\":false,\"color\":\"#FFBB0F\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"



data modify block 999996 124 999977 Items[0].tag.pages[4] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1d. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"SUHC changes many game mechanics:\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- You have ONE life.\",\"italic\":false,\"color\":\"red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- You have no health regen. You may only restore health through golden apples and potions.\",\"italic\":false,\"color\":\"light_purple\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"

data modify block 999996 124 999977 Items[0].tag.pages[5] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1e. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"- Mobs progress as time passes, gaining buffs or armor at the start of every new day. When a new day starts, you will be told what changes occur.\",\"italic\":false,\"color\":\"blue\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


data modify block 999996 124 999977 Items[0].tag.pages[6] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1f. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"- Random events may occur at any time; these range from simple mob buffs to minor natural disasters. Once one occurs, you\\'ll receive a bit of hint text.\",\"italic\":false,\"color\":\"#60A5FF\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


data modify block 999996 124 999977 Items[0].tag.pages[7] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1g. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"- Exiting the nether will cause corruption to seep into the overworld, turning the area around your portal into the nether. Mobs receive buffs while in the affected area, and villagers gain special trades.\",\"italic\":false,\"color\":\"#F96D57\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


data modify block 999996 124 999977 Items[0].tag.pages[8] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1h. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"Changes to potions:\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- Blazes no longer drop blaze rods, only blaze powder, and at a reduced rate.\",\"italic\":false,\"color\":\"#F28B0E\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- A handful of mobs and loot chests also have a rare chance to drop blaze powder.\",\"italic\":false,\"color\":\"#EF8717\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


data modify block 999996 124 999977 Items[0].tag.pages[9] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1i. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"Changes to potions(cont):\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- Brewing stands are now obtained primarily through Witches.\",\"italic\":false,\"color\":\"#ED8321\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- Some custom villagers may also sell brewing stands.\",\"italic\":false,\"color\":\"#EF8717\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


data modify block 999996 124 999977 Items[0].tag.pages[10] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1j. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"- Strip mining excessively may attract unwanted attention.\",\"italic\":false,\"color\":\"#3599C6\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n- Some mobs gain \\'Mob Mentality\\' when they group up, gaining special effects.\",\"italic\":false,\"color\":\"#F2375D\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


data modify block 999996 124 999977 Items[0].tag.pages[11] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"1k. GENERAL INFO    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"- Luck has been reworked. It now greatly affects all loot chests, custom loot tables, some random events, and many custom items grant luck.\",\"italic\":false,\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"





execute as @s[tag=!HardMode] run data modify block 999996 124 999977 Items[0].tag.pages[12] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"2a. MOB PROGRESSION    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"- This section keeps track of current and past mob progression.\",\"italic\":false,\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"



$execute as @s[tag=HardMode] run data modify block 999996 124 999977 Items[0].tag.pages[12] set value "[{\"text\":\"-^RETURN TO INDEX^-\\n\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"1\"}},\
{\"text\":\"-------------------\\n\",\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"2a. MOB PROGRESSION    \\n\",\"italic\":true,\"color\":\"black\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"- This section keeps track of current and past mob progression.\",\"italic\":false,\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}},\
{\"text\":\"\\n\\n- Current Daily Hard mode buff: $(HardModeBuff).\",\"italic\":false,\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"change_page\",\"value\":\"\"}}\
]"


function zzzzdonotuse:misc/progressionbook/setcalendar with storage minecraft:kyuprogressionbookcalendar



