animationsDesc = animationsDesc or {}
animationsDesc[2] = animationsDesc[2] or {}
animationsDesc[2].actors = animationsDesc[2].actors or {}
animationsDesc[2].actors[1] = "resident"
animationsDesc[2].actors[2] = "hero"
animationsDesc[2].actors[3] = "{base=\"chance\", name=\"chance\"}"
animationsDesc[2].class = "TasksAnimation"
animationsDesc[2].id = "eventStart"
animationsDesc[2].idx = 2
animationsDesc[2].list = animationsDesc[2].list or {}
animationsDesc[2].list[2] = animationsDesc[2].list[2] or {}
animationsDesc[2].list[2].actor = "chance"
animationsDesc[2].list[2].class = "SetPositionTask"
animationsDesc[2].list[2].pos = animationsDesc[2].list[2].pos or {}
animationsDesc[2].list[2].pos.x = -95
animationsDesc[2].list[2].pos.y = 371
animationsDesc[2].list[3] = animationsDesc[2].list[3] or {}
animationsDesc[2].list[3].actor = "hero"
animationsDesc[2].list[3].animation = "SURPRISE_HAPPY"
animationsDesc[2].list[3].class = "PlayAnimationTask"
animationsDesc[2].list[3].cycles = 1
animationsDesc[2].list[3].frameTime = 150
animationsDesc[2].list[3].whenFinished = "stay"
animationsDesc[2].list[4] = animationsDesc[2].list[4] or {}
animationsDesc[2].list[4].actor = "hero"
animationsDesc[2].list[4].class = "SetTask"
animationsDesc[2].list[4].values = "{walkSpeed=200}"
animationsDesc[2].list[5] = animationsDesc[2].list[5] or {}
animationsDesc[2].list[5].actor = "chance"
animationsDesc[2].list[5].class = "SetTask"
animationsDesc[2].list[5].values = "{walkSpeed=200}"
animationsDesc[2].list[6] = animationsDesc[2].list[6] or {}
animationsDesc[2].list[6].actor = "chance"
animationsDesc[2].list[6].class = "WalkToTask"
animationsDesc[2].list[6].target = animationsDesc[2].list[6].target or {}
animationsDesc[2].list[6].target.x = 449
animationsDesc[2].list[6].target.y = 375
animationsDesc[2].list[7] = animationsDesc[2].list[7] or {}
animationsDesc[2].list[7].class = "Task"
animationsDesc[2].list[7].duration = 1000
animationsDesc[2].list[8] = animationsDesc[2].list[8] or {}
animationsDesc[2].list[8].actor = "hero"
animationsDesc[2].list[8].class = "WalkToTask"
animationsDesc[2].list[8].target = animationsDesc[2].list[8].target or {}
animationsDesc[2].list[8].target.x = 582
animationsDesc[2].list[8].target.y = 375
animationsDesc[2].list[9] = animationsDesc[2].list[9] or {}
animationsDesc[2].list[9].actor = "hero"
animationsDesc[2].list[9].class = "SetTask"
animationsDesc[2].list[9].values = "{direction=\"left\"}"
animationsDesc[2].list[10] = animationsDesc[2].list[10] or {}
animationsDesc[2].list[10].actor = "chance"
animationsDesc[2].list[10].animation = "TOTEMRUB"
animationsDesc[2].list[10].class = "PlayAnimationTask"
animationsDesc[2].list[10].cycles = 3
animationsDesc[2].list[10].frameTime = 150
animationsDesc[2].list[10].whenFinished = "rewind"
animationsDesc[2].list[11] = animationsDesc[2].list[11] or {}
animationsDesc[2].list[11].class = "StartStoryTask"
animationsDesc[2].list[12] = animationsDesc[2].list[12] or {}
animationsDesc[2].list[12].actor = "chance"
animationsDesc[2].list[12].class = "SetTask"
animationsDesc[2].list[12].values = "{direction=\"left\"}"
animationsDesc[2].list[13] = animationsDesc[2].list[13] or {}
animationsDesc[2].list[13].actor = "chance"
animationsDesc[2].list[13].class = "MessageTask"
animationsDesc[2].list[13].needsClick = true
animationsDesc[2].list[13].textId = "TEXT_R2_SH2_1"
animationsDesc[2].list[14] = animationsDesc[2].list[14] or {}
animationsDesc[2].list[14].actor = "chance"
animationsDesc[2].list[14].class = "MessageTask"
animationsDesc[2].list[14].needsClick = true
animationsDesc[2].list[14].textId = "TEXT_R2_SH2_2"
animationsDesc[2].list[15] = animationsDesc[2].list[15] or {}
animationsDesc[2].list[15].actor = "hero"
animationsDesc[2].list[15].animation = "SMILING"
animationsDesc[2].list[15].class = "PlayAnimationTask"
animationsDesc[2].list[15].cycles = 1
animationsDesc[2].list[15].duration = 500
animationsDesc[2].list[15].frameTime = 150
animationsDesc[2].list[15].wait = true
animationsDesc[2].list[15].whenFinished = "stay"
animationsDesc[2].list[16] = animationsDesc[2].list[16] or {}
animationsDesc[2].list[16].actor = "chance"
animationsDesc[2].list[16].animation = "TOTEMRUB"
animationsDesc[2].list[16].class = "PlayAnimationTask"
animationsDesc[2].list[16].cycles = 1
animationsDesc[2].list[16].frameTime = 150
animationsDesc[2].list[16].whenFinished = "rewind"
animationsDesc[2].list[17] = animationsDesc[2].list[17] or {}
animationsDesc[2].list[17].actor = "chance"
animationsDesc[2].list[17].class = "MessageTask"
animationsDesc[2].list[17].needsClick = true
animationsDesc[2].list[17].textId = "TEXT_R2_SH2_3"
animationsDesc[2].list[18] = animationsDesc[2].list[18] or {}
animationsDesc[2].list[18].actor = "chance"
animationsDesc[2].list[18].animation = "TOTEMBREAK"
animationsDesc[2].list[18].class = "PlayAnimationTask"
animationsDesc[2].list[18].cycles = 1
animationsDesc[2].list[18].frameTime = 150
animationsDesc[2].list[18].whenFinished = "stay"
animationsDesc[2].list[19] = animationsDesc[2].list[19] or {}
animationsDesc[2].list[19].actor = "chance"
animationsDesc[2].list[19].animation = "TOTEMBREAK"
animationsDesc[2].list[19].class = "PlayAnimationTask"
animationsDesc[2].list[19].cycles = 1
animationsDesc[2].list[19].frameTime = 150
animationsDesc[2].list[19].whenFinished = "stay"
animationsDesc[2].list[20] = animationsDesc[2].list[20] or {}
animationsDesc[2].list[20].class = "Task"
animationsDesc[2].list[20].duration = 1000
animationsDesc[2].list[21] = animationsDesc[2].list[21] or {}
animationsDesc[2].list[21].actor = "chance"
animationsDesc[2].list[21].animation = "SHOCKED"
animationsDesc[2].list[21].class = "PlayAnimationTask"
animationsDesc[2].list[21].cycles = 1
animationsDesc[2].list[21].frameTime = 150
animationsDesc[2].list[21].whenFinished = "stay"
animationsDesc[2].list[22] = animationsDesc[2].list[22] or {}
animationsDesc[2].list[22].actor = "hero"
animationsDesc[2].list[22].animation = "QUESTIONING"
animationsDesc[2].list[22].class = "PlayAnimationTask"
animationsDesc[2].list[22].cycles = 1
animationsDesc[2].list[22].frameTime = 150
animationsDesc[2].list[22].whenFinished = "stay"
animationsDesc[2].list[23] = animationsDesc[2].list[23] or {}
animationsDesc[2].list[23].actor = "resident"
animationsDesc[2].list[23].animation = "SMILING_STARTS_RUNNING"
animationsDesc[2].list[23].class = "PlayAnimationTask"
animationsDesc[2].list[23].cycles = 1
animationsDesc[2].list[23].frameTime = 150
animationsDesc[2].list[23].whenFinished = "stay"
animationsDesc[2].list[24] = animationsDesc[2].list[24] or {}
animationsDesc[2].list[24].class = "Task"
animationsDesc[2].list[24].duration = 1500
animationsDesc[2].list[25] = animationsDesc[2].list[25] or {}
animationsDesc[2].list[25].actor = "chance"
animationsDesc[2].list[25].class = "MessageTask"
animationsDesc[2].list[25].needsClick = true
animationsDesc[2].list[25].textId = "TEXT_R2_SH2_4"
animationsDesc[2].list[26] = animationsDesc[2].list[26] or {}
animationsDesc[2].list[26].actor = "chance"
animationsDesc[2].list[26].animation = "SURPRISED"
animationsDesc[2].list[26].class = "PlayAnimationTask"
animationsDesc[2].list[26].cycles = 1
animationsDesc[2].list[26].frameTime = 150
animationsDesc[2].list[26].whenFinished = "stay"
animationsDesc[2].list[27] = animationsDesc[2].list[27] or {}
animationsDesc[2].list[27].actor = "hero"
animationsDesc[2].list[27].animation = "LAUGHING"
animationsDesc[2].list[27].class = "PlayAnimationTask"
animationsDesc[2].list[27].cycles = 1
animationsDesc[2].list[27].frameTime = 150
animationsDesc[2].list[27].whenFinished = "stay"
animationsDesc[2].list[28] = animationsDesc[2].list[28] or {}
animationsDesc[2].list[28].actor = "resident"
animationsDesc[2].list[28].animation = "SMILING_TALKING_CLOSED"
animationsDesc[2].list[28].class = "PlayAnimationTask"
animationsDesc[2].list[28].cycles = 1
animationsDesc[2].list[28].frameTime = 150
animationsDesc[2].list[28].whenFinished = "stay"
animationsDesc[2].list[29] = animationsDesc[2].list[29] or {}
animationsDesc[2].list[29].actor = "hero"
animationsDesc[2].list[29].class = "MessageTask"
animationsDesc[2].list[29].needsClick = true
animationsDesc[2].list[29].textId = "TEXT_R2_SH2_5"
animationsDesc[2].list[30] = animationsDesc[2].list[30] or {}
animationsDesc[2].list[30].class = "EndStoryTask"
animationsDesc[2].list[31] = animationsDesc[2].list[31] or {}
animationsDesc[2].list[31].actor = "chance"
animationsDesc[2].list[31].class = "WalkToTask"
animationsDesc[2].list[31].target = animationsDesc[2].list[31].target or {}
animationsDesc[2].list[31].target.x = 588
animationsDesc[2].list[31].target.y = 276
animationsDesc[2].list[32] = animationsDesc[2].list[32] or {}
animationsDesc[2].list[32].actor = "hero"
animationsDesc[2].list[32].class = "SetTask"
animationsDesc[2].list[32].values = "{walkSpeed=levelDesc.characterTypes.sarah.walkSpeed}"
animationsDesc[2].list[33] = animationsDesc[2].list[33] or {}
animationsDesc[2].list[33].class = "Task"
animationsDesc[2].list[33].duration = 500
animationsDesc[2].list[34] = animationsDesc[2].list[34] or {}
animationsDesc[2].list[34].class = "TriggerTask"
animationsDesc[2].list[34].trigger = "showHiddenItems"
animationsDesc[2].musicMoodStart = "HAPPINESS"
animationsDesc[2].name = "Start event: Chance enters and drops beads"
animationsDesc[2].tree = animationsDesc[2].tree or {}
animationsDesc[2].tree[1] = 2
animationsDesc[2].tree[2] = 4
animationsDesc[2].tree[3] = 5
animationsDesc[2].tree[4] = animationsDesc[2].tree[4] or {}
animationsDesc[2].tree[4][1] = 11
animationsDesc[2].tree[4][2] = 6
animationsDesc[2].tree[4][3] = animationsDesc[2].tree[4][3] or {}
animationsDesc[2].tree[4][3][1] = 7
animationsDesc[2].tree[4][3][2] = 8
animationsDesc[2].tree[4][3][3] = 9
animationsDesc[2].tree[5] = 12
animationsDesc[2].tree[6] = 10
animationsDesc[2].tree[7] = 3
animationsDesc[2].tree[8] = 13
animationsDesc[2].tree[9] = 14
animationsDesc[2].tree[10] = 15
animationsDesc[2].tree[11] = 16
animationsDesc[2].tree[12] = 17
animationsDesc[2].tree[13] = 18
animationsDesc[2].tree[14] = animationsDesc[2].tree[14] or {}
animationsDesc[2].tree[14][1] = 19
animationsDesc[2].tree[14][2] = animationsDesc[2].tree[14][2] or {}
animationsDesc[2].tree[14][2][1] = 33
animationsDesc[2].tree[14][2][2] = 34
animationsDesc[2].tree[14][2][3] = 20
animationsDesc[2].tree[14][2][4] = animationsDesc[2].tree[14][2][4] or {}
animationsDesc[2].tree[14][2][4][1] = 21
animationsDesc[2].tree[14][2][4][2] = 22
animationsDesc[2].tree[14][2][4][3] = 23
animationsDesc[2].tree[15] = 24
animationsDesc[2].tree[16] = 26
animationsDesc[2].tree[17] = 25
animationsDesc[2].tree[18] = 27
animationsDesc[2].tree[19] = 28
animationsDesc[2].tree[20] = 29
animationsDesc[2].tree[21] = animationsDesc[2].tree[21] or {}
animationsDesc[2].tree[21][1] = 30
animationsDesc[2].tree[21][2] = 32
animationsDesc[2].tree[21][3] = 31
animationsDesc[3] = animationsDesc[3] or {}
animationsDesc[3].actors = animationsDesc[3].actors or {}
animationsDesc[3].actors[1] = "hero"
animationsDesc[3].actors[2] = "chance"
animationsDesc[3].actors[3] = "{base=\"janitor\", name=\"janitor\"}"
animationsDesc[3].class = "TasksAnimation"
animationsDesc[3].id = "eventLost"
animationsDesc[3].idx = 3
animationsDesc[3].list = animationsDesc[3].list or {}
animationsDesc[3].list[2] = animationsDesc[3].list[2] or {}
animationsDesc[3].list[2].actor = "janitor"
animationsDesc[3].list[2].class = "SetPositionTask"
animationsDesc[3].list[2].pos = animationsDesc[3].list[2].pos or {}
animationsDesc[3].list[2].pos.x = 1117
animationsDesc[3].list[2].pos.y = 463
animationsDesc[3].list[3] = animationsDesc[3].list[3] or {}
animationsDesc[3].list[3].actor = "hero"
animationsDesc[3].list[3].class = "WalkToTask"
animationsDesc[3].list[3].target = animationsDesc[3].list[3].target or {}
animationsDesc[3].list[3].target.x = 431
animationsDesc[3].list[3].target.y = 349
animationsDesc[3].list[4] = animationsDesc[3].list[4] or {}
animationsDesc[3].list[4].class = "StartStoryTask"
animationsDesc[3].list[5] = animationsDesc[3].list[5] or {}
animationsDesc[3].list[5].actor = "hero"
animationsDesc[3].list[5].animation = "RELEAVED"
animationsDesc[3].list[5].class = "PlayAnimationTask"
animationsDesc[3].list[5].cycles = 1
animationsDesc[3].list[5].frameTime = 150
animationsDesc[3].list[5].whenFinished = "stay"
animationsDesc[3].list[6] = animationsDesc[3].list[6] or {}
animationsDesc[3].list[6].actor = "hero"
animationsDesc[3].list[6].class = "SetTask"
animationsDesc[3].list[6].values = "{direction=\"right\"}"
animationsDesc[3].list[7] = animationsDesc[3].list[7] or {}
animationsDesc[3].list[7].actor = "janitor"
animationsDesc[3].list[7].class = "SetTask"
animationsDesc[3].list[7].values = "{direction=\"left\"}"
animationsDesc[3].list[8] = animationsDesc[3].list[8] or {}
animationsDesc[3].list[8].actor = "janitor"
animationsDesc[3].list[8].class = "WalkToTask"
animationsDesc[3].list[8].target = animationsDesc[3].list[8].target or {}
animationsDesc[3].list[8].target.x = 833
animationsDesc[3].list[8].target.y = 477
animationsDesc[3].list[9] = animationsDesc[3].list[9] or {}
animationsDesc[3].list[9].actor = "janitor"
animationsDesc[3].list[9].class = "SetTask"
animationsDesc[3].list[9].values = "{direction=\"left\"}"
animationsDesc[3].list[10] = animationsDesc[3].list[10] or {}
animationsDesc[3].list[10].actor = "chance"
animationsDesc[3].list[10].class = "SetTask"
animationsDesc[3].list[10].values = "{direction=\"left\"}"
animationsDesc[3].list[11] = animationsDesc[3].list[11] or {}
animationsDesc[3].list[11].class = "Task"
animationsDesc[3].list[11].duration = 1000
animationsDesc[3].list[12] = animationsDesc[3].list[12] or {}
animationsDesc[3].list[12].actor = "chance"
animationsDesc[3].list[12].class = "WalkToTask"
animationsDesc[3].list[12].target = animationsDesc[3].list[12].target or {}
animationsDesc[3].list[12].target.x = 582
animationsDesc[3].list[12].target.y = 349
animationsDesc[3].list[13] = animationsDesc[3].list[13] or {}
animationsDesc[3].list[13].actor = "chance"
animationsDesc[3].list[13].class = "WalkToTask"
animationsDesc[3].list[13].target = animationsDesc[3].list[13].target or {}
animationsDesc[3].list[13].target.x = 726
animationsDesc[3].list[13].target.y = 477
animationsDesc[3].list[14] = animationsDesc[3].list[14] or {}
animationsDesc[3].list[14].actor = "chance"
animationsDesc[3].list[14].class = "MessageTask"
animationsDesc[3].list[14].needsClick = true
animationsDesc[3].list[14].textId = "TEXT_R2_SH2_10"
animationsDesc[3].list[15] = animationsDesc[3].list[15] or {}
animationsDesc[3].list[15].actor = "janitor"
animationsDesc[3].list[15].animation = "HAPPY"
animationsDesc[3].list[15].class = "PlayAnimationTask"
animationsDesc[3].list[15].cycles = 1
animationsDesc[3].list[15].frameTime = 150
animationsDesc[3].list[15].whenFinished = "stay"
animationsDesc[3].list[16] = animationsDesc[3].list[16] or {}
animationsDesc[3].list[16].actor = "janitor"
animationsDesc[3].list[16].class = "MessageTask"
animationsDesc[3].list[16].needsClick = true
animationsDesc[3].list[16].textId = "TEXT_R2_SH2_11"
animationsDesc[3].list[17] = animationsDesc[3].list[17] or {}
animationsDesc[3].list[17].actor = "chance"
animationsDesc[3].list[17].animation = "CURIOUS"
animationsDesc[3].list[17].class = "PlayAnimationTask"
animationsDesc[3].list[17].cycles = 1
animationsDesc[3].list[17].frameTime = 150
animationsDesc[3].list[17].whenFinished = "stay"
animationsDesc[3].list[18] = animationsDesc[3].list[18] or {}
animationsDesc[3].list[18].actor = "chance"
animationsDesc[3].list[18].class = "MessageTask"
animationsDesc[3].list[18].needsClick = true
animationsDesc[3].list[18].textId = "TEXT_R2_SH2_12"
animationsDesc[3].list[19] = animationsDesc[3].list[19] or {}
animationsDesc[3].list[19].actor = "chance"
animationsDesc[3].list[19].class = "WalkToTask"
animationsDesc[3].list[19].target = animationsDesc[3].list[19].target or {}
animationsDesc[3].list[19].target.x = 726
animationsDesc[3].list[19].target.y = 495
animationsDesc[3].list[20] = animationsDesc[3].list[20] or {}
animationsDesc[3].list[20].actor = "chance"
animationsDesc[3].list[20].class = "WalkToTask"
animationsDesc[3].list[20].target = animationsDesc[3].list[20].target or {}
animationsDesc[3].list[20].target.x = 1107
animationsDesc[3].list[20].target.y = 495
animationsDesc[3].list[21] = animationsDesc[3].list[21] or {}
animationsDesc[3].list[21].actor = "janitor"
animationsDesc[3].list[21].class = "WalkToTask"
animationsDesc[3].list[21].target = animationsDesc[3].list[21].target or {}
animationsDesc[3].list[21].target.x = -88
animationsDesc[3].list[21].target.y = 345
animationsDesc[3].list[22] = animationsDesc[3].list[22] or {}
animationsDesc[3].list[22].class = "EndStoryTask"
animationsDesc[3].list[23] = animationsDesc[3].list[23] or {}
animationsDesc[3].list[23].actor = "hero"
animationsDesc[3].list[23].animation = "APOLOGIZE"
animationsDesc[3].list[23].class = "PlayAnimationTask"
animationsDesc[3].list[23].cycles = 1
animationsDesc[3].list[23].frameTime = 150
animationsDesc[3].list[23].whenFinished = "stay"
animationsDesc[3].list[24] = animationsDesc[3].list[24] or {}
animationsDesc[3].list[24].actor = "hero"
animationsDesc[3].list[24].class = "MessageTask"
animationsDesc[3].list[24].needsClick = true
animationsDesc[3].list[24].textId = "TEXT_R2_SH2_6"
animationsDesc[3].list[25] = animationsDesc[3].list[25] or {}
animationsDesc[3].list[25].actor = "chance"
animationsDesc[3].list[25].animation = "HAPPY"
animationsDesc[3].list[25].class = "PlayAnimationTask"
animationsDesc[3].list[25].cycles = 1
animationsDesc[3].list[25].frameTime = 150
animationsDesc[3].list[25].whenFinished = "stay"
animationsDesc[3].list[26] = animationsDesc[3].list[26] or {}
animationsDesc[3].list[26].actor = "chance"
animationsDesc[3].list[26].class = "MessageTask"
animationsDesc[3].list[26].needsClick = true
animationsDesc[3].list[26].textId = "TEXT_R2_SH2_7"
animationsDesc[3].list[27] = animationsDesc[3].list[27] or {}
animationsDesc[3].list[27].actor = "chance"
animationsDesc[3].list[27].class = "SetTask"
animationsDesc[3].list[27].values = "{direction=\"left\"}"
animationsDesc[3].list[28] = animationsDesc[3].list[28] or {}
animationsDesc[3].list[28].actor = "janitor"
animationsDesc[3].list[28].class = "RemoveTask"
animationsDesc[3].musicMoodStart = "HAPPINESS"
animationsDesc[3].name = "Event lost"
animationsDesc[3].tree = animationsDesc[3].tree or {}
animationsDesc[3].tree[1] = 2
animationsDesc[3].tree[2] = animationsDesc[3].tree[2] or {}
animationsDesc[3].tree[2][1] = 3
animationsDesc[3].tree[2][2] = 4
animationsDesc[3].tree[3] = 6
animationsDesc[3].tree[4] = 10
animationsDesc[3].tree[5] = 23
animationsDesc[3].tree[6] = 24
animationsDesc[3].tree[7] = 12
animationsDesc[3].tree[8] = 27
animationsDesc[3].tree[9] = 25
animationsDesc[3].tree[10] = 26
animationsDesc[3].tree[11] = 5
animationsDesc[3].tree[12] = 11
animationsDesc[3].tree[13] = animationsDesc[3].tree[13] or {}
animationsDesc[3].tree[13][1] = animationsDesc[3].tree[13][1] or {}
animationsDesc[3].tree[13][1][1] = 8
animationsDesc[3].tree[13][1][2] = 9
animationsDesc[3].tree[13][2] = 13
animationsDesc[3].tree[14] = 7
animationsDesc[3].tree[15] = 14
animationsDesc[3].tree[16] = 15
animationsDesc[3].tree[17] = 16
animationsDesc[3].tree[18] = 17
animationsDesc[3].tree[19] = 18
animationsDesc[3].tree[20] = 19
animationsDesc[3].tree[21] = animationsDesc[3].tree[21] or {}
animationsDesc[3].tree[21][1] = 20
animationsDesc[3].tree[21][2] = 21
animationsDesc[3].tree[21][3] = 22
animationsDesc[3].tree[22] = 28
animationsDesc[4] = animationsDesc[4] or {}
animationsDesc[4].actors = animationsDesc[4].actors or {}
animationsDesc[4].actors[1] = "resident"
animationsDesc[4].actors[2] = "hero"
animationsDesc[4].class = "TasksAnimation"
animationsDesc[4].id = "postShift"
animationsDesc[4].idx = 4
animationsDesc[4].list = animationsDesc[4].list or {}
animationsDesc[4].list[2] = animationsDesc[4].list[2] or {}
animationsDesc[4].list[2].actor = "hero"
animationsDesc[4].list[2].class = "SetTask"
animationsDesc[4].list[2].values = "{direction=\"right\"}"
animationsDesc[4].list[3] = animationsDesc[4].list[3] or {}
animationsDesc[4].list[3].actor = "resident"
animationsDesc[4].list[3].class = "SetTask"
animationsDesc[4].list[3].values = "{direction=\"left\"}"
animationsDesc[4].list[4] = animationsDesc[4].list[4] or {}
animationsDesc[4].list[4].actor = "resident"
animationsDesc[4].list[4].class = "MessageTask"
animationsDesc[4].list[4].needsClick = true
animationsDesc[4].list[4].textId = "TEXT_R2_SH2_13"
animationsDesc[4].list[5] = animationsDesc[4].list[5] or {}
animationsDesc[4].list[5].actor = "hero"
animationsDesc[4].list[5].class = "WalkToTask"
animationsDesc[4].list[5].target = animationsDesc[4].list[5].target or {}
animationsDesc[4].list[5].target.x = 470
animationsDesc[4].list[5].target.y = 370
animationsDesc[4].list[6] = animationsDesc[4].list[6] or {}
animationsDesc[4].list[6].actor = "resident"
animationsDesc[4].list[6].class = "WalkToTask"
animationsDesc[4].list[6].target = animationsDesc[4].list[6].target or {}
animationsDesc[4].list[6].target.x = 597
animationsDesc[4].list[6].target.y = 352
animationsDesc[4].list[7] = animationsDesc[4].list[7] or {}
animationsDesc[4].list[7].actor = "hero"
animationsDesc[4].list[7].animation = "TALK"
animationsDesc[4].list[7].class = "PlayAnimationTask"
animationsDesc[4].list[7].cycles = 1
animationsDesc[4].list[7].frameTime = 150
animationsDesc[4].list[7].whenFinished = "stay"
animationsDesc[4].list[8] = animationsDesc[4].list[8] or {}
animationsDesc[4].list[8].actor = "resident"
animationsDesc[4].list[8].animation = "QUESTION_SMILING"
animationsDesc[4].list[8].class = "PlayAnimationTask"
animationsDesc[4].list[8].cycles = 1
animationsDesc[4].list[8].frameTime = 150
animationsDesc[4].list[8].whenFinished = "stay"
animationsDesc[4].list[9] = animationsDesc[4].list[9] or {}
animationsDesc[4].list[9].actor = "hero"
animationsDesc[4].list[9].animation = "BLUSH"
animationsDesc[4].list[9].class = "PlayAnimationTask"
animationsDesc[4].list[9].cycles = 1
animationsDesc[4].list[9].frameTime = 150
animationsDesc[4].list[9].whenFinished = "stay"
animationsDesc[4].list[10] = animationsDesc[4].list[10] or {}
animationsDesc[4].list[10].actor = "hero"
animationsDesc[4].list[10].class = "MessageTask"
animationsDesc[4].list[10].needsClick = true
animationsDesc[4].list[10].textId = "TEXT_R2_SH2_14"
animationsDesc[4].list[11] = animationsDesc[4].list[11] or {}
animationsDesc[4].list[11].actor = "resident"
animationsDesc[4].list[11].class = "MessageTask"
animationsDesc[4].list[11].needsClick = true
animationsDesc[4].list[11].textId = "TEXT_R2_SH2_15"
animationsDesc[4].list[12] = animationsDesc[4].list[12] or {}
animationsDesc[4].list[12].actor = "hero"
animationsDesc[4].list[12].animation = "BLUSH2"
animationsDesc[4].list[12].class = "PlayAnimationTask"
animationsDesc[4].list[12].cycles = 1
animationsDesc[4].list[12].frameTime = 150
animationsDesc[4].list[12].whenFinished = "stay"
animationsDesc[4].list[13] = animationsDesc[4].list[13] or {}
animationsDesc[4].list[13].actor = "hero"
animationsDesc[4].list[13].class = "MessageTask"
animationsDesc[4].list[13].needsClick = true
animationsDesc[4].list[13].textId = "TEXT_R2_SH2_16"
animationsDesc[4].list[14] = animationsDesc[4].list[14] or {}
animationsDesc[4].list[14].actor = "hero"
animationsDesc[4].list[14].class = "WalkToTask"
animationsDesc[4].list[14].target = animationsDesc[4].list[14].target or {}
animationsDesc[4].list[14].target.x = -95
animationsDesc[4].list[14].target.y = 361
animationsDesc[4].list[15] = animationsDesc[4].list[15] or {}
animationsDesc[4].list[15].actor = "resident"
animationsDesc[4].list[15].class = "WalkToTask"
animationsDesc[4].list[15].target = animationsDesc[4].list[15].target or {}
animationsDesc[4].list[15].target.x = -70
animationsDesc[4].list[15].target.y = 364
animationsDesc[4].list[16] = animationsDesc[4].list[16] or {}
animationsDesc[4].list[16].class = "StartStoryTask"
animationsDesc[4].list[17] = animationsDesc[4].list[17] or {}
animationsDesc[4].list[17].class = "EndStoryTask"
animationsDesc[4].list[18] = animationsDesc[4].list[18] or {}
animationsDesc[4].list[18].actor = "hero"
animationsDesc[4].list[18].class = "SetTask"
animationsDesc[4].list[18].values = "{walkSpeed=200}"
animationsDesc[4].list[19] = animationsDesc[4].list[19] or {}
animationsDesc[4].list[19].actor = "resident"
animationsDesc[4].list[19].class = "SetTask"
animationsDesc[4].list[19].values = "{walkSpeed=200}"
animationsDesc[4].list[21] = animationsDesc[4].list[21] or {}
animationsDesc[4].list[21].actor = "hero"
animationsDesc[4].list[21].class = "SetTask"
animationsDesc[4].list[21].values = "{walkSpeed=levelDesc.characterTypes.sarah.walkSpeed}"
animationsDesc[4].musicMoodStart = "HAPPINESS"
animationsDesc[4].name = "Shift end"
animationsDesc[4].tree = animationsDesc[4].tree or {}
animationsDesc[4].tree[1] = 18
animationsDesc[4].tree[2] = 19
animationsDesc[4].tree[3] = animationsDesc[4].tree[3] or {}
animationsDesc[4].tree[3][1] = animationsDesc[4].tree[3][1] or {}
animationsDesc[4].tree[3][1][1] = 5
animationsDesc[4].tree[3][1][2] = 2
animationsDesc[4].tree[3][1][3] = 7
animationsDesc[4].tree[3][2] = animationsDesc[4].tree[3][2] or {}
animationsDesc[4].tree[3][2][1] = 6
animationsDesc[4].tree[3][2][2] = 3
animationsDesc[4].tree[3][2][3] = 8
animationsDesc[4].tree[4] = 16
animationsDesc[4].tree[5] = 4
animationsDesc[4].tree[6] = 9
animationsDesc[4].tree[7] = 10
animationsDesc[4].tree[8] = 11
animationsDesc[4].tree[9] = 12
animationsDesc[4].tree[10] = 13
animationsDesc[4].tree[11] = animationsDesc[4].tree[11] or {}
animationsDesc[4].tree[11][1] = 14
animationsDesc[4].tree[11][2] = 15
animationsDesc[4].tree[12] = 21
animationsDesc[4].tree[13] = 17
animationsDesc[5] = animationsDesc[5] or {}
animationsDesc[5].actors = animationsDesc[5].actors or {}
animationsDesc[5].actors[1] = "hero"
animationsDesc[5].actors[2] = "chance"
animationsDesc[5].actors[3] = "{base=\"janitor\", name=\"janitor\"}"
animationsDesc[5].class = "TasksAnimation"
animationsDesc[5].id = "eventWon"
animationsDesc[5].idx = 5
animationsDesc[5].list = animationsDesc[5].list or {}
animationsDesc[5].list[2] = animationsDesc[5].list[2] or {}
animationsDesc[5].list[2].actor = "janitor"
animationsDesc[5].list[2].class = "SetPositionTask"
animationsDesc[5].list[2].pos = animationsDesc[5].list[2].pos or {}
animationsDesc[5].list[2].pos.x = 1117
animationsDesc[5].list[2].pos.y = 463
animationsDesc[5].list[3] = animationsDesc[5].list[3] or {}
animationsDesc[5].list[3].actor = "hero"
animationsDesc[5].list[3].class = "WalkToTask"
animationsDesc[5].list[3].target = animationsDesc[5].list[3].target or {}
animationsDesc[5].list[3].target.x = 431
animationsDesc[5].list[3].target.y = 349
animationsDesc[5].list[4] = animationsDesc[5].list[4] or {}
animationsDesc[5].list[4].class = "StartStoryTask"
animationsDesc[5].list[5] = animationsDesc[5].list[5] or {}
animationsDesc[5].list[5].actor = "hero"
animationsDesc[5].list[5].animation = "RELEAVED"
animationsDesc[5].list[5].class = "PlayAnimationTask"
animationsDesc[5].list[5].cycles = 1
animationsDesc[5].list[5].frameTime = 150
animationsDesc[5].list[5].whenFinished = "stay"
animationsDesc[5].list[6] = animationsDesc[5].list[6] or {}
animationsDesc[5].list[6].actor = "hero"
animationsDesc[5].list[6].class = "SetTask"
animationsDesc[5].list[6].values = "{direction=\"right\"}"
animationsDesc[5].list[7] = animationsDesc[5].list[7] or {}
animationsDesc[5].list[7].actor = "hero"
animationsDesc[5].list[7].class = "MessageTask"
animationsDesc[5].list[7].needsClick = true
animationsDesc[5].list[7].textId = "TEXT_R2_SH2_8"
animationsDesc[5].list[8] = animationsDesc[5].list[8] or {}
animationsDesc[5].list[8].actor = "chance"
animationsDesc[5].list[8].animation = "DELIGHTED"
animationsDesc[5].list[8].class = "PlayAnimationTask"
animationsDesc[5].list[8].cycles = 1
animationsDesc[5].list[8].frameTime = 150
animationsDesc[5].list[8].whenFinished = "stay"
animationsDesc[5].list[9] = animationsDesc[5].list[9] or {}
animationsDesc[5].list[9].actor = "chance"
animationsDesc[5].list[9].class = "MessageTask"
animationsDesc[5].list[9].needsClick = true
animationsDesc[5].list[9].textId = "TEXT_R2_SH2_9"
animationsDesc[5].list[10] = animationsDesc[5].list[10] or {}
animationsDesc[5].list[10].actor = "hero"
animationsDesc[5].list[10].animation = "BLUSH"
animationsDesc[5].list[10].class = "PlayAnimationTask"
animationsDesc[5].list[10].cycles = 1
animationsDesc[5].list[10].frameTime = 150
animationsDesc[5].list[10].whenFinished = "stay"
animationsDesc[5].list[11] = animationsDesc[5].list[11] or {}
animationsDesc[5].list[11].class = "Task"
animationsDesc[5].list[11].duration = 1000
animationsDesc[5].list[12] = animationsDesc[5].list[12] or {}
animationsDesc[5].list[12].actor = "chance"
animationsDesc[5].list[12].class = "WalkToTask"
animationsDesc[5].list[12].target = animationsDesc[5].list[12].target or {}
animationsDesc[5].list[12].target.x = 582
animationsDesc[5].list[12].target.y = 349
animationsDesc[5].list[13] = animationsDesc[5].list[13] or {}
animationsDesc[5].list[13].actor = "chance"
animationsDesc[5].list[13].class = "WalkToTask"
animationsDesc[5].list[13].target = animationsDesc[5].list[13].target or {}
animationsDesc[5].list[13].target.x = 726
animationsDesc[5].list[13].target.y = 477
animationsDesc[5].list[14] = animationsDesc[5].list[14] or {}
animationsDesc[5].list[14].actor = "chance"
animationsDesc[5].list[14].class = "MessageTask"
animationsDesc[5].list[14].needsClick = true
animationsDesc[5].list[14].textId = "TEXT_R2_SH2_10"
animationsDesc[5].list[15] = animationsDesc[5].list[15] or {}
animationsDesc[5].list[15].actor = "janitor"
animationsDesc[5].list[15].animation = "HAPPY"
animationsDesc[5].list[15].class = "PlayAnimationTask"
animationsDesc[5].list[15].cycles = 1
animationsDesc[5].list[15].frameTime = 150
animationsDesc[5].list[15].whenFinished = "stay"
animationsDesc[5].list[16] = animationsDesc[5].list[16] or {}
animationsDesc[5].list[16].actor = "janitor"
animationsDesc[5].list[16].class = "MessageTask"
animationsDesc[5].list[16].needsClick = true
animationsDesc[5].list[16].textId = "TEXT_R2_SH2_11"
animationsDesc[5].list[17] = animationsDesc[5].list[17] or {}
animationsDesc[5].list[17].actor = "chance"
animationsDesc[5].list[17].animation = "CURIOUS"
animationsDesc[5].list[17].class = "PlayAnimationTask"
animationsDesc[5].list[17].cycles = 1
animationsDesc[5].list[17].frameTime = 150
animationsDesc[5].list[17].whenFinished = "stay"
animationsDesc[5].list[18] = animationsDesc[5].list[18] or {}
animationsDesc[5].list[18].actor = "chance"
animationsDesc[5].list[18].class = "MessageTask"
animationsDesc[5].list[18].needsClick = true
animationsDesc[5].list[18].textId = "TEXT_R2_SH2_12"
animationsDesc[5].list[19] = animationsDesc[5].list[19] or {}
animationsDesc[5].list[19].actor = "chance"
animationsDesc[5].list[19].class = "WalkToTask"
animationsDesc[5].list[19].target = animationsDesc[5].list[19].target or {}
animationsDesc[5].list[19].target.x = 726
animationsDesc[5].list[19].target.y = 495
animationsDesc[5].list[20] = animationsDesc[5].list[20] or {}
animationsDesc[5].list[20].actor = "chance"
animationsDesc[5].list[20].class = "WalkToTask"
animationsDesc[5].list[20].target = animationsDesc[5].list[20].target or {}
animationsDesc[5].list[20].target.x = 1107
animationsDesc[5].list[20].target.y = 495
animationsDesc[5].list[21] = animationsDesc[5].list[21] or {}
animationsDesc[5].list[21].actor = "janitor"
animationsDesc[5].list[21].class = "WalkToTask"
animationsDesc[5].list[21].target = animationsDesc[5].list[21].target or {}
animationsDesc[5].list[21].target.x = -88
animationsDesc[5].list[21].target.y = 345
animationsDesc[5].list[22] = animationsDesc[5].list[22] or {}
animationsDesc[5].list[22].class = "EndStoryTask"
animationsDesc[5].list[23] = animationsDesc[5].list[23] or {}
animationsDesc[5].list[23].actor = "hero"
animationsDesc[5].list[23].class = "SetTask"
animationsDesc[5].list[23].values = "{walkSpeed=200}"
animationsDesc[5].list[24] = animationsDesc[5].list[24] or {}
animationsDesc[5].list[24].actor = "hero"
animationsDesc[5].list[24].class = "SetTask"
animationsDesc[5].list[24].values = "{walkSpeed=levelDesc.characterTypes.sarah.walkSpeed}"
animationsDesc[5].list[25] = animationsDesc[5].list[25] or {}
animationsDesc[5].list[25].actor = "janitor"
animationsDesc[5].list[25].class = "SetTask"
animationsDesc[5].list[25].values = "{direction=\"left\"}"
animationsDesc[5].list[26] = animationsDesc[5].list[26] or {}
animationsDesc[5].list[26].actor = "janitor"
animationsDesc[5].list[26].class = "WalkToTask"
animationsDesc[5].list[26].target = animationsDesc[5].list[26].target or {}
animationsDesc[5].list[26].target.x = 833
animationsDesc[5].list[26].target.y = 477
animationsDesc[5].list[27] = animationsDesc[5].list[27] or {}
animationsDesc[5].list[27].actor = "janitor"
animationsDesc[5].list[27].class = "SetTask"
animationsDesc[5].list[27].values = "{direction=\"left\"}"
animationsDesc[5].list[28] = animationsDesc[5].list[28] or {}
animationsDesc[5].list[28].actor = "chance"
animationsDesc[5].list[28].class = "SetTask"
animationsDesc[5].list[28].values = "{direction=\"left\"}"
animationsDesc[5].list[29] = animationsDesc[5].list[29] or {}
animationsDesc[5].list[29].actor = "janitor"
animationsDesc[5].list[29].class = "RemoveTask"
animationsDesc[5].musicMoodStart = "HAPPINESS"
animationsDesc[5].name = "Event won"
animationsDesc[5].tree = animationsDesc[5].tree or {}
animationsDesc[5].tree[1] = 2
animationsDesc[5].tree[2] = 23
animationsDesc[5].tree[3] = animationsDesc[5].tree[3] or {}
animationsDesc[5].tree[3][1] = 3
animationsDesc[5].tree[3][2] = 4
animationsDesc[5].tree[4] = 6
animationsDesc[5].tree[5] = 5
animationsDesc[5].tree[6] = 7
animationsDesc[5].tree[7] = 12
animationsDesc[5].tree[8] = 28
animationsDesc[5].tree[9] = 8
animationsDesc[5].tree[10] = 9
animationsDesc[5].tree[11] = 10
animationsDesc[5].tree[12] = 11
animationsDesc[5].tree[13] = animationsDesc[5].tree[13] or {}
animationsDesc[5].tree[13][1] = animationsDesc[5].tree[13][1] or {}
animationsDesc[5].tree[13][1][1] = 26
animationsDesc[5].tree[13][1][2] = 27
animationsDesc[5].tree[13][2] = 13
animationsDesc[5].tree[14] = 25
animationsDesc[5].tree[15] = 14
animationsDesc[5].tree[16] = 15
animationsDesc[5].tree[17] = 16
animationsDesc[5].tree[18] = 17
animationsDesc[5].tree[19] = 18
animationsDesc[5].tree[20] = 19
animationsDesc[5].tree[21] = animationsDesc[5].tree[21] or {}
animationsDesc[5].tree[21][1] = 20
animationsDesc[5].tree[21][2] = 21
animationsDesc[5].tree[21][3] = 24
animationsDesc[5].tree[21][4] = 22
animationsDesc[5].tree[22] = 29
