about summary refs log tree commit diff stats
path: root/data/maps/the_entry/rooms/Flipped Second Room.txtpb
blob: 5841ca16bce8f0b3a9c95c00f710b53ebefbbeee (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
name: "Flipped Second Room"
panel_display_name: "Flip Area"
panels {
  name: "CLUE"
  path: "Panels/Entry/second_right_top"
  clue: "clue"
  answer: "hint"
  symbols: SUN
}
panels {
  name: "SLENDER"
  path: "Panels/Entry/second_left_top"
  clue: "slender"
  answer: "thin"
  symbols: SUN
}
paintings {
  name: "EYE"
  path: "Components/Paintings/eyes"
  orientation: "north"
  gravity: Y_PLUS
  display_name: "Eye Painting"
}
ports {
  name: "FOUR"
  path: "Components/Warps/worldport9"
  orientation: "south"
  gravity: Y_PLUS
  required_door { name: "Flipped Second Room Right Door" }
}
an> (!defined('S_INCLUDE_FILE')) {define('S_INCLUDE_FILE',1);} require('headerproc.php'); $title = 'A Gift for our Robot Friends'; $template = new FITemplate('addresses'); $acceptable = array( 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'); $numAcceptable = count($acceptable) - 1; $longerTopDomains = array( 'com', 'net', 'gov', 'org', 'info', 'biz', 'edu', 'pro', 'name','co'); $numTops = count($longerTopDomains) - 1; $maxLettersBefore = 20; $maxDomainLength = 20; for ($i = 0; $i < 1000; $i++) { $addy = ''; $numLetters = mt_rand(1, $maxLettersBefore); for ($b = 0; $b < $numLetters; $b++) { $addy .= $acceptable[mt_rand(0, $numAcceptable)]; } $addy .= '@'; $numLetters = mt_rand(1, $maxDomainLength); for ($b = 0; $b < $numLetters; $b++) { $addy .= $acceptable[mt_rand(0, $numAcceptable)]; } $addy .= '.'; if (mt_rand(1, 2) == 1) { $addy .= $longerTopDomains[mt_rand(0, $numTops)] . '.' . $acceptable[mt_rand(0, $numAcceptable)] . $acceptable[mt_rand(0, $numAcceptable)]; } else { $addy .= $longerTopDomains[mt_rand(0, $numTops)]; } $template->adds_block('ADDRESS', array('ADDY' => $addy)); } $template->display(); ?>