animationsDesc = animationsDesc or {}
animationsDesc[2] = animationsDesc[2] or {}
animationsDesc[2].actors = animationsDesc[2].actors or {}
animationsDesc[2].actors[1] = "hero"
animationsDesc[2].actors[2] = "resident"
animationsDesc[2].class = "TasksAnimation"
animationsDesc[2].id = "preShift"
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 = "hero"
animationsDesc[2].list[2].class = "SetPositionTask"
animationsDesc[2].list[2].pos = animationsDesc[2].list[2].pos or {}
animationsDesc[2].list[2].pos.x = 1098
animationsDesc[2].list[2].pos.y = 324
animationsDesc[2].list[3] = animationsDesc[2].list[3] or {}
animationsDesc[2].list[3].actor = "resident"
animationsDesc[2].list[3].class = "SetPositionTask"
animationsDesc[2].list[3].pos = animationsDesc[2].list[3].pos or {}
animationsDesc[2].list[3].pos.x = 1098
animationsDesc[2].list[3].pos.y = 324
animationsDesc[2].list[4] = animationsDesc[2].list[4] or {}
animationsDesc[2].list[4].class = "FadeScreenTask"
animationsDesc[2].list[4].draw = "color"
animationsDesc[2].list[4].fadeDelay = 500
animationsDesc[2].list[4].fadeOut = 1000
animationsDesc[2].list[4].image = "ROOM5_BACKGROUND"
animationsDesc[2].list[5] = animationsDesc[2].list[5] or {}
animationsDesc[2].list[5].class = "StartStoryTask"
animationsDesc[2].list[6] = animationsDesc[2].list[6] or {}
animationsDesc[2].list[6].actor = "hero"
animationsDesc[2].list[6].class = "WalkToTask"
animationsDesc[2].list[6].target = animationsDesc[2].list[6].target or {}
animationsDesc[2].list[6].target.x = 700
animationsDesc[2].list[6].target.y = 432
animationsDesc[2].list[7] = animationsDesc[2].list[7] or {}
animationsDesc[2].list[7].actor = "hero"
animationsDesc[2].list[7].class = "SetTask"
animationsDesc[2].list[7].values = "{walkSpeed=200}"
animationsDesc[2].list[8] = animationsDesc[2].list[8] or {}
animationsDesc[2].list[8].actor = "resident"
animationsDesc[2].list[8].class = "SetTask"
animationsDesc[2].list[8].values = "{walkSpeed=200}"
animationsDesc[2].list[9] = animationsDesc[2].list[9] or {}
animationsDesc[2].list[9].actor = "hero"
animationsDesc[2].list[9].animation = "ASK_QUESTION"
animationsDesc[2].list[9].class = "PlayAnimationTask"
animationsDesc[2].list[9].cycles = 1
animationsDesc[2].list[9].frameTime = 150
animationsDesc[2].list[9].whenFinished = "stay"
animationsDesc[2].list[10] = animationsDesc[2].list[10] or {}
animationsDesc[2].list[10].actor = "resident"
animationsDesc[2].list[10].class = "WalkToTask"
animationsDesc[2].list[10].target = animationsDesc[2].list[10].target or {}
animationsDesc[2].list[10].target.x = 800
animationsDesc[2].list[10].target.y = 432
animationsDesc[2].list[11] = animationsDesc[2].list[11] or {}
animationsDesc[2].list[11].actor = "resident"
animationsDesc[2].list[11].animation = "HAPPY_LEFT"
animationsDesc[2].list[11].class = "PlayAnimationTask"
animationsDesc[2].list[11].cycles = 1
animationsDesc[2].list[11].frameTime = 150
animationsDesc[2].list[11].whenFinished = "stay"
animationsDesc[2].list[12] = animationsDesc[2].list[12] or {}
animationsDesc[2].list[12].actor = "hero"
animationsDesc[2].list[12].class = "MessageTask"
animationsDesc[2].list[12].needsClick = true
animationsDesc[2].list[12].textId = "TEXT_R5_SH3_1"
animationsDesc[2].list[12].tipSide = "right"
animationsDesc[2].list[13] = animationsDesc[2].list[13] or {}
animationsDesc[2].list[13].actor = "hero"
animationsDesc[2].list[13].class = "MessageTask"
animationsDesc[2].list[13].needsClick = true
animationsDesc[2].list[13].textId = "TEXT_R5_SH3_2"
animationsDesc[2].list[13].tipSide = "right"
animationsDesc[2].list[14] = animationsDesc[2].list[14] or {}
animationsDesc[2].list[14].actor = "resident"
animationsDesc[2].list[14].animation = "CURIOUS_LEFT"
animationsDesc[2].list[14].class = "PlayAnimationTask"
animationsDesc[2].list[14].cycles = 1
animationsDesc[2].list[14].frameTime = 150
animationsDesc[2].list[14].whenFinished = "stay"
animationsDesc[2].list[15] = animationsDesc[2].list[15] or {}
animationsDesc[2].list[15].actor = "resident"
animationsDesc[2].list[15].class = "MessageTask"
animationsDesc[2].list[15].needsClick = true
animationsDesc[2].list[15].textId = "TEXT_R5_SH3_3"
animationsDesc[2].list[16] = animationsDesc[2].list[16] or {}
animationsDesc[2].list[16].actor = "resident"
animationsDesc[2].list[16].animation = "HAPPY_LEFT"
animationsDesc[2].list[16].class = "PlayAnimationTask"
animationsDesc[2].list[16].cycles = 1
animationsDesc[2].list[16].frameTime = 150
animationsDesc[2].list[16].whenFinished = "stay"
animationsDesc[2].list[17] = animationsDesc[2].list[17] or {}
animationsDesc[2].list[17].actor = "resident"
animationsDesc[2].list[17].class = "MessageTask"
animationsDesc[2].list[17].needsClick = true
animationsDesc[2].list[17].textId = "TEXT_R5_SH3_4"
animationsDesc[2].list[18] = animationsDesc[2].list[18] or {}
animationsDesc[2].list[18].actor = "resident"
animationsDesc[2].list[18].animation = "IDLE_LEFT"
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 = "resident"
animationsDesc[2].list[19].class = "MessageTask"
animationsDesc[2].list[19].needsClick = true
animationsDesc[2].list[19].textId = "TEXT_R5_SH3_5"
animationsDesc[2].list[20] = animationsDesc[2].list[20] or {}
animationsDesc[2].list[20].actor = "hero"
animationsDesc[2].list[20].animation = "SURPRISE_HAPPY"
animationsDesc[2].list[20].class = "PlayAnimationTask"
animationsDesc[2].list[20].cycles = 1
animationsDesc[2].list[20].frameTime = 150
animationsDesc[2].list[20].whenFinished = "stay"
animationsDesc[2].list[21] = animationsDesc[2].list[21] or {}
animationsDesc[2].list[21].class = "Task"
animationsDesc[2].list[21].duration = 1000
animationsDesc[2].list[22] = animationsDesc[2].list[22] or {}
animationsDesc[2].list[22].actor = "resident"
animationsDesc[2].list[22].class = "MessageTask"
animationsDesc[2].list[22].needsClick = true
animationsDesc[2].list[22].textId = "TEXT_R5_SH3_5a"
animationsDesc[2].list[23] = animationsDesc[2].list[23] or {}
animationsDesc[2].list[23].actor = "resident"
animationsDesc[2].list[23].class = "WalkToTask"
animationsDesc[2].list[23].target = animationsDesc[2].list[23].target or {}
animationsDesc[2].list[23].target.x = 737
animationsDesc[2].list[23].target.y = 562
animationsDesc[2].list[25] = animationsDesc[2].list[25] or {}
animationsDesc[2].list[25].class = "EndStoryTask"
animationsDesc[2].list[26] = animationsDesc[2].list[26] or {}
animationsDesc[2].list[26].actor = "resident"
animationsDesc[2].list[26].class = "SetTask"
animationsDesc[2].list[26].values = "{walkSpeed=levelDesc.characterTypes.resident.walkSpeed}"
animationsDesc[2].list[27] = animationsDesc[2].list[27] or {}
animationsDesc[2].list[27].actor = "hero"
animationsDesc[2].list[27].class = "SetTask"
animationsDesc[2].list[27].values = "{walkSpeed=levelDesc.characterTypes.sarah.walkSpeed}"
animationsDesc[2].list[28] = animationsDesc[2].list[28] or {}
animationsDesc[2].list[28].actor = "resident"
animationsDesc[2].list[28].animation = "QUESTIONNAIRE"
animationsDesc[2].list[28].class = "PlayAnimationTask"
animationsDesc[2].list[28].cycles = 1
animationsDesc[2].list[28].frameTime = 150
animationsDesc[2].list[28].wait = true
animationsDesc[2].list[28].whenFinished = "stay"
animationsDesc[2].list[29] = animationsDesc[2].list[29] or {}
animationsDesc[2].list[29].actor = "resident"
animationsDesc[2].list[29].class = "MessageTask"
animationsDesc[2].list[29].needsClick = true
animationsDesc[2].list[29].textId = "TEXT_R5_SH3_5b"
animationsDesc[2].musicMoodEnd = "HAPPINESS"
animationsDesc[2].musicMoodStart = "HAPPINESS"
animationsDesc[2].name = "Intro + event start (new patient questionnaire)"
animationsDesc[2].tree = animationsDesc[2].tree or {}
animationsDesc[2].tree[1] = 2
animationsDesc[2].tree[2] = 3
animationsDesc[2].tree[3] = 7
animationsDesc[2].tree[4] = 8
animationsDesc[2].tree[5] = animationsDesc[2].tree[5] or {}
animationsDesc[2].tree[5][1] = 4
animationsDesc[2].tree[5][2] = 5
animationsDesc[2].tree[5][3] = 6
animationsDesc[2].tree[6] = 9
animationsDesc[2].tree[7] = 10
animationsDesc[2].tree[8] = 11
animationsDesc[2].tree[9] = 12
animationsDesc[2].tree[10] = 13
animationsDesc[2].tree[11] = 14
animationsDesc[2].tree[12] = 15
animationsDesc[2].tree[13] = 16
animationsDesc[2].tree[14] = 17
animationsDesc[2].tree[15] = 18
animationsDesc[2].tree[16] = 19
animationsDesc[2].tree[17] = 22
animationsDesc[2].tree[18] = animationsDesc[2].tree[18] or {}
animationsDesc[2].tree[18][1] = 29
animationsDesc[2].tree[18][2] = 28
animationsDesc[2].tree[19] = 20
animationsDesc[2].tree[20] = 21
animationsDesc[2].tree[21] = 26
animationsDesc[2].tree[22] = 27
animationsDesc[2].tree[23] = animationsDesc[2].tree[23] or {}
animationsDesc[2].tree[23][1] = 23
animationsDesc[2].tree[23][3] = 25
animationsDesc[3] = animationsDesc[3] or {}
animationsDesc[3].actors = animationsDesc[3].actors or {}
animationsDesc[3].actors[1] = "resident"
animationsDesc[3].actors[2] = "hero"
animationsDesc[3].class = "TasksAnimation"
animationsDesc[3].id = "postShift"
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 = "hero"
animationsDesc[3].list[2].class = "SetTask"
animationsDesc[3].list[2].values = "{walkSpeed=200}"
animationsDesc[3].list[3] = animationsDesc[3].list[3] or {}
animationsDesc[3].list[3].actor = "resident"
animationsDesc[3].list[3].class = "SetTask"
animationsDesc[3].list[3].values = "{walkSpeed=200}"
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].class = "Task"
animationsDesc[3].list[5].duration = 1000
animationsDesc[3].list[6] = animationsDesc[3].list[6] or {}
animationsDesc[3].list[6].actor = "hero"
animationsDesc[3].list[6].class = "WalkToTask"
animationsDesc[3].list[6].target = animationsDesc[3].list[6].target or {}
animationsDesc[3].list[6].target.x = 902
animationsDesc[3].list[6].target.y = 677
animationsDesc[3].list[7] = animationsDesc[3].list[7] or {}
animationsDesc[3].list[7].actor = "hero"
animationsDesc[3].list[7].animation = "SMILING_LEFT"
animationsDesc[3].list[7].class = "PlayAnimationTask"
animationsDesc[3].list[7].cycles = 1
animationsDesc[3].list[7].frameTime = 150
animationsDesc[3].list[7].whenFinished = "stay"
animationsDesc[3].list[8] = animationsDesc[3].list[8] or {}
animationsDesc[3].list[8].actor = "resident"
animationsDesc[3].list[8].class = "WalkToTask"
animationsDesc[3].list[8].target = animationsDesc[3].list[8].target or {}
animationsDesc[3].list[8].target.x = 800
animationsDesc[3].list[8].target.y = 677
animationsDesc[3].list[9] = animationsDesc[3].list[9] or {}
animationsDesc[3].list[9].actor = "resident"
animationsDesc[3].list[9].animation = "HAPPY"
animationsDesc[3].list[9].class = "PlayAnimationTask"
animationsDesc[3].list[9].cycles = 1
animationsDesc[3].list[9].frameTime = 150
animationsDesc[3].list[9].whenFinished = "stay"
animationsDesc[3].list[10] = animationsDesc[3].list[10] or {}
animationsDesc[3].list[10].actor = "hero"
animationsDesc[3].list[10].class = "MessageTask"
animationsDesc[3].list[10].needsClick = true
animationsDesc[3].list[10].offset = animationsDesc[3].list[10].offset or {}
animationsDesc[3].list[10].offset.x = 0
animationsDesc[3].list[10].offset.y = -16
animationsDesc[3].list[10].textId = "TEXT_R5_SH3_8"
animationsDesc[3].list[11] = animationsDesc[3].list[11] or {}
animationsDesc[3].list[11].actor = "hero"
animationsDesc[3].list[11].class = "MessageTask"
animationsDesc[3].list[11].needsClick = true
animationsDesc[3].list[11].offset = animationsDesc[3].list[11].offset or {}
animationsDesc[3].list[11].offset.x = 0
animationsDesc[3].list[11].offset.y = -16
animationsDesc[3].list[11].textId = "TEXT_R5_SH3_9"
animationsDesc[3].list[12] = animationsDesc[3].list[12] or {}
animationsDesc[3].list[12].actor = "resident"
animationsDesc[3].list[12].animation = "CURIOUS"
animationsDesc[3].list[12].class = "PlayAnimationTask"
animationsDesc[3].list[12].cycles = 1
animationsDesc[3].list[12].frameTime = 150
animationsDesc[3].list[12].whenFinished = "stay"
animationsDesc[3].list[13] = animationsDesc[3].list[13] or {}
animationsDesc[3].list[13].class = "Task"
animationsDesc[3].list[13].duration = 500
animationsDesc[3].list[14] = animationsDesc[3].list[14] or {}
animationsDesc[3].list[14].actor = "resident"
animationsDesc[3].list[14].class = "MessageTask"
animationsDesc[3].list[14].needsClick = true
animationsDesc[3].list[14].textId = "TEXT_R5_SH3_10"
animationsDesc[3].list[15] = animationsDesc[3].list[15] or {}
animationsDesc[3].list[15].actor = "hero"
animationsDesc[3].list[15].animation = "RELEAVED_LEFT"
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].class = "Task"
animationsDesc[3].list[16].duration = 1000
animationsDesc[3].list[17] = animationsDesc[3].list[17] or {}
animationsDesc[3].list[17].actor = "hero"
animationsDesc[3].list[17].class = "WalkToTask"
animationsDesc[3].list[17].target = animationsDesc[3].list[17].target or {}
animationsDesc[3].list[17].target.x = 1177
animationsDesc[3].list[17].target.y = 677
animationsDesc[3].list[18] = animationsDesc[3].list[18] or {}
animationsDesc[3].list[18].actor = "resident"
animationsDesc[3].list[18].class = "WalkToTask"
animationsDesc[3].list[18].target = animationsDesc[3].list[18].target or {}
animationsDesc[3].list[18].target.x = 1177
animationsDesc[3].list[18].target.y = 677
animationsDesc[3].list[19] = animationsDesc[3].list[19] or {}
animationsDesc[3].list[19].class = "FadeScreenTask"
animationsDesc[3].list[19].draw = "color"
animationsDesc[3].list[19].fadeDelay = 1000
animationsDesc[3].list[19].fadeIn = 1000
animationsDesc[3].list[19].image = "ROOM5_BACKGROUND"
animationsDesc[3].list[20] = animationsDesc[3].list[20] or {}
animationsDesc[3].list[20].class = "EndStoryTask"
animationsDesc[3].list[23] = animationsDesc[3].list[23] or {}
animationsDesc[3].list[23].actor = "hero"
animationsDesc[3].list[23].class = "MessageTask"
animationsDesc[3].list[23].needsClick = true
animationsDesc[3].list[23].offset = animationsDesc[3].list[23].offset or {}
animationsDesc[3].list[23].offset.x = 0
animationsDesc[3].list[23].offset.y = -16
animationsDesc[3].list[23].textId = "TEXT_R5_SH3_6"
animationsDesc[3].list[24] = animationsDesc[3].list[24] or {}
animationsDesc[3].list[24].actor = "resident"
animationsDesc[3].list[24].class = "MessageTask"
animationsDesc[3].list[24].needsClick = true
animationsDesc[3].list[24].textId = "TEXT_R5_SH3_7"
animationsDesc[3].list[25] = animationsDesc[3].list[25] or {}
animationsDesc[3].list[25].actor = "hero"
animationsDesc[3].list[25].animation = "APOLOGIZE_LEFT"
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].name = "Outro (post shift)"
animationsDesc[3].tree = animationsDesc[3].tree or {}
animationsDesc[3].tree[1] = 2
animationsDesc[3].tree[2] = 3
animationsDesc[3].tree[3] = animationsDesc[3].tree[3] or {}
animationsDesc[3].tree[3][1] = 4
animationsDesc[3].tree[3][2] = animationsDesc[3].tree[3][2] or {}
animationsDesc[3].tree[3][2][1] = 6
animationsDesc[3].tree[3][2][2] = 7
animationsDesc[3].tree[3][3] = animationsDesc[3].tree[3][3] or {}
animationsDesc[3].tree[3][3][1] = 5
animationsDesc[3].tree[3][3][2] = 8
animationsDesc[3].tree[3][3][3] = 9
animationsDesc[3].tree[4] = 23
animationsDesc[3].tree[5] = 24
animationsDesc[3].tree[6] = 25
animationsDesc[3].tree[7] = 10
animationsDesc[3].tree[8] = 11
animationsDesc[3].tree[9] = 12
animationsDesc[3].tree[10] = 13
animationsDesc[3].tree[11] = 14
animationsDesc[3].tree[12] = 15
animationsDesc[3].tree[13] = 16
animationsDesc[3].tree[14] = animationsDesc[3].tree[14] or {}
animationsDesc[3].tree[14][1] = 17
animationsDesc[3].tree[14][2] = 18
animationsDesc[3].tree[14][3] = 19
animationsDesc[3].tree[15] = 20
