about summary refs log tree commit diff stats
path: root/data/maps/the_charismatic/rooms/Main Area.txtpb
blob: 2d84000983ffa3ff77f2e8d8b417a627cc19fe50 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.hi
name: "Main Area"
panels {
  name: "ARC"
  path: "Panels/Room_1/panel_1"
  clue: "arc"
  answer: "arctic"
  symbols: QUESTION
}
panels {
  name: "KING"
  path: "Panels/Room_1/panel_2"
  clue: "king"
  answer: "tacking"
  symbols: QUESTION
}
panels {
  name: "TIP"
  path: "Panels/Room_1/panel_3"
  clue: "tip"
  answer: "tiptoe"
  symbols: QUESTION
}
panels {
  name: "AQUA"
  path: "Panels/Room_1/panel_4"
  clue: "aqua"
  answer: "aquatic"
  symbols: QUESTION
}
panels {
  name: "TILE"
  path: "Panels/Room_1/panel_5"
  clue: "tile"
  answer: "tactile"
  symbols: QUESTION
}
panels {
  name: "NAIL"
  path: "Panels/Room_1/panel_6"
  clue: "nail"
  answer: "toenail"
  symbols: QUESTION
}
panels {
  name: "HERE"
  path: "Panels/Room_1/panel_7"
  clue: "here"
  answer: "heretic"
  symbols: QUESTION
}
panels {
  name: "IT"
  path: "Panels/Room_1/panel_8"
  clue: "it"
  answer: "tacit"
  symbols: QUESTION
}
panels {
  name: "PINS"
  path: "Panels/Room_1/panel_9"
  clue: "pins"
  answer: "pintoes"
  symbols: QUESTION
}
panels {
  name: "Blank"
  path: "Panels/Room 3/panel_10"
  clue: ""
  answer: "tactic"
  symbols: QUESTION
}
ports {
  name: "WORLDPORT"
  display_name: "Entrance"
  path: "Components/Warps/worldport"
  destination { x: 0 y: 0 z: 9.5 }
  rotation: 0
}
0 - 20.0 label.margin_top = 20.0 label.align = Label.ALIGN_RIGHT label.valign = Label.VALIGN_TOP var dynamic_font = DynamicFont.new() dynamic_font.font_data = load("res://fonts/Lingo.ttf") dynamic_font.size = 36 dynamic_font.outline_color = Color(0, 0, 0, 1) dynamic_font.outline_size = 2 label.add_font_override("font", dynamic_font) add_child(label) func trigger_slowness_trap(): if slowness_remaining == 0: var player = get_tree().get_root().get_node("Spatial/player") player.walk_speed = orig_walk / 2.0 player.run_speed = orig_run / 2.0 slowness_remaining += 30 if not effect_running: _process_effects() func trigger_iceland_trap(): if iceland_remaining == 0: get_tree().get_root().get_node("Spatial/player/pivot/camera").set_environment( load("res://environments/level_iceland.tres") ) iceland_remaining += 30 if not effect_running: _process_effects() func _process_effects(): effect_running = true while slowness_remaining > 0 or iceland_remaining > 0: var text = "" if slowness_remaining > 0: text += "Slowness: %d seconds" % slowness_remaining if iceland_remaining > 0: if not text.empty(): text += "\n" text += "Iceland: %d seconds" % iceland_remaining self.get_node("label").text = text yield(get_tree().create_timer(1.0), "timeout") if slowness_remaining > 0: slowness_remaining -= 1 if slowness_remaining == 0: var player = get_tree().get_root().get_node("Spatial/player") player.walk_speed = orig_walk player.run_speed = orig_run if iceland_remaining > 0: iceland_remaining -= 1 if iceland_remaining == 0: get_tree().get_root().get_node("Spatial/player/pivot/camera").set_environment( orig_env ) self.get_node("label").text = "" effect_running = false