about summary refs log tree commit diff stats
path: root/data/maps/the_talented/rooms/Main Area.txtpb
blob: f99be486213d8d495a1fd2c47dfc0b205b51bef6 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
name: "Main Area"
panels {
  name: "DEER (Black)"
  path: "Panels/Saturns/panel_1"
  clue: "deer"
  answer: "deer"
  symbols: PLANET
}
panels {
  name: "GOOSE (Black)"
  path: "Panels/Saturns/panel_2"
  clue: "goose"
  answer: "geese"
  symbols: PLANET
}
panels {
  name: "SWINE (Black)"
  path: "Panels/Saturns/panel_3"
  clue: "swine"
  answer: "swine"
  symbols: PLANET
}
panels {
  name: "WIFE (Black)"
  path: "Panels/Saturns/panel_4"
  clue: "wife"
  answer: "wives"
  symbols: PLANET
}
panels {
  name: "CHILD (Black)"
  path: "Panels/Saturns/panel_5"
  clue: "child"
  answer: "children"
  symbols: PLANET
}
panels {
  name: "ELEPHANT (Black)"
  path: "Panels/Saturns/panel_6"
  clue: "elephant"
  answer: "elephants"
  symbols: PLANET
}
panels {
  name: "ANT (Black)"
  path: "Panels/Saturns/panel_7"
  clue: "ant"
  answer: "ants"
  symbols: PLANET
}
panels {
  name: "DEER (Brown)"
  path: "Panels/Jail Eyes/panel_1"
  clue: "deer"
  answer: "buck"
  symbols: GENDER
}
panels {
  name: "GOOSE (Brown)"
  path: "Panels/Jail Eyes/panel_2"
  clue: "goose"
  answer: "gander"
  symbols: GENDER
}
panels {
  name: "SWINE (Brown)"
  path: "Panels/Jail Eyes/panel_3"
  clue: "swine"
  answer: "sow"
  symbols: GENDER
}
panels {
  name: "WIFE (Brown)"
  path: "Panels/Jail Eyes/panel_4"
  clue: "wife"
  answer: "husband"
  symbols: GENDER
}
panels {
  name: "CHILD (Brown)"
  path: "Panels/Jail Eyes/panel_5"
  clue: "child"
  answer: "girl"
  symbols: GENDER
}
panels {
  name: "ELEPHANT (Brown)"
  path: "Panels/Jail Eyes/panel_6"
  clue: "elephant"
  answer: "cow"
  symbols: GENDER
}
panels {
  name: "ANT (Brown)"
  path: "Panels/Jail Eyes/panel_7"
  clue: "ant"
  answer: "drone"
  symbols: GENDER
}
panels {
  name: "EARL"
  path: "Panels/Extra/panel_8"
  clue: "earl"
  answer: "yearly"
  symbols: SPARKLES
}
keyholders {
  name: "Y"
  path: "Components/KeyHolders/keyHolderY"
  key: "y"
}
ports {
  name: "GREAT"
  path: "Components/Warps/worldport"
}
4 The PHP Group | // +----------------------------------------------------------------------+ // | This source file is subject to version 3.0 of the PHP license, | // | that is bundled with this package in the file LICENSE, and is | // | available at through the world-wide-web at | // | http://www.php.net/license/3_0.txt. | // | If you did not receive a copy of the PHP license and are unable to | // | obtain it through the world-wide-web, please send a note to | // | license@php.net so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // | Authors: Philippe Jausions <Philippe.Jausions@11abacus.com> | // | Aidan Lister <aidan@php.net> | // +----------------------------------------------------------------------+ // // $Id: version_compare.php,v 1.1 2005/07/11 16:34:36 ggiunta Exp $ /** * Replace version_compare() * * @category PHP * @package PHP_Compat * @link http://php.net/function.version_compare * @author Philippe Jausions <Philippe.Jausions@11abacus.com> * @author Aidan Lister <aidan@php.net> * @version $Revision: 1.1 $ * @since PHP 4.1.0 * @require PHP 4.0.0 (user_error) */ if (!function_exists('version_compare')) { function version_compare($version1, $version2, $operator = '<') { // Check input if (!is_scalar($version1)) { user_error('version_compare() expects parameter 1 to be string, ' . gettype($version1) . ' given', E_USER_WARNING); return; } if (!is_scalar($version2)) { user_error('version_compare() expects parameter 2 to be string, ' . gettype($version2) . ' given', E_USER_WARNING); return; } if (!is_scalar($operator)) { user_error('version_compare() expects parameter 3 to be string, ' . gettype($operator) . ' given', E_USER_WARNING); return; } // Standardise versions $v1 = explode('.', str_replace('..', '.', preg_replace('/([^0-9\.]+)/', '.$1.', str_replace(array('-', '_', '+'), '.', trim($version1))))); $v2 = explode('.', str_replace('..', '.', preg_replace('/([^0-9\.]+)/', '.$1.', str_replace(array('-', '_', '+'), '.', trim($version2))))); // Replace empty entries at the start of the array while (empty($v1[0]) && array_shift($v1)) {} while (empty($v2[0]) && array_shift($v2)) {} // Release state order // '#' stands for any number $versions = array( 'dev' => 0, 'alpha' => 1, 'a' => 1, 'beta' => 2, 'b' => 2, 'RC' => 3, '#' => 4, 'p' => 5, 'pl' => 5); // Loop through each segment in the version string $compare = 0; for ($i = 0, $x = min(count($v1), count($v2)); $i < $x; $i++) { if ($v1[$i] == $v2[$i]) { continue; } $i1 = $v1[$i]; $i2 = $v2[$i]; if (is_numeric($i1) && is_numeric($i2)) { $compare = ($i1 < $i2) ? -1 : 1; break; } // We use the position of '#' in the versions list // for numbers... (so take care of # in original string) if ($i1 == '#') { $i1 = ''; } elseif (is_numeric($i1)) { $i1 = '#'; } if ($i2 == '#') { $i2 = ''; } elseif (is_numeric($i2)) { $i2 = '#'; } if (isset($versions[$i1]) && isset($versions[$i2])) { $compare = ($versions[$i1] < $versions[$i2]) ? -1 : 1; } elseif (isset($versions[$i1])) { $compare = 1; } elseif (isset($versions[$i2])) { $compare = -1; } else { $compare = 0; } break; } // If previous loop didn't find anything, compare the "extra" segments if ($compare == 0) { if (count($v2) > count($v1)) { if (isset($versions[$v2[$i]])) { $compare = ($versions[$v2[$i]] < 4) ? 1 : -1; } else { $compare = -1; } } elseif (count($v2) < count($v1)) { if (isset($versions[$v1[$i]])) { $compare = ($versions[$v1[$i]] < 4) ? -1 : 1; } else { $compare = 1; } } } // Compare the versions if (func_num_args() > 2) { switch ($operator) { case '>': case 'gt': return (bool) ($compare > 0); break; case '>=': case 'ge': return (bool) ($compare >= 0); break; case '<=': case 'le': return (bool) ($compare <= 0); break; case '==': case '=': case 'eq': return (bool) ($compare == 0); break; case '<>': case '!=': case 'ne': return (bool) ($compare != 0); break; case '': case '<': case 'lt': return (bool) ($compare < 0); break; default: return; } } return $compare; } } ?>