tmaps - dotg - a bitreich fosdem adventure (HTM) git clone https://git.parazyd.org/dotg (DIR) Log (DIR) Files (DIR) Refs --- tmaps (35041B) --- 1 #!/bin/sh 2 3 cat <<EOM 4 5 [1|--reset game--|$path/reset.dcgi|server|port] 6 7 EOM 8 9 map_start() { 10 cat <<EOM 11 +-------------------------------------------------------------+ 12 | | | | 13 | | (R1) | (R2) | 14 |-----------------+....+------+-----------------+....+--------+ 15 | | 16 | | 17 | +---+....+---+....+------+....+--------+ 18 | |bk| | | o |x| 19 | o |bk| | | |x| 20 | o o |bk| | | <o> |x| 21 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 22 | +- +----+ |bk| | | TTTTo o |x| 23 | |o o o | |bk| | | TTTT |S| 24 | |o TTT +----------+--------+ o TTTT o |x| 25 | |o TTT | | o oTTTT o |F| 26 | +- (HIP) o +| TTTT |x| 27 | |_o______| o NX| TTTT (KIT) |-| 28 | o +| TTTT | 29 | o o | 30 | | 31 |bk| o (H) | 32 |bk| o | 33 |bk| o TTT o +-------+....+--------+ 34 |bk| TTT | | 35 |bk| (COMP) o | (BAL) o bbb | 36 |bk| YOU | o mmm | 37 |bk| ☃ ☃ <---- | | 38 +---------------+....+----------------------------------------+ 39 40 EOM 41 } 42 43 map_host() { 44 cat <<EOM 45 +-------------------------------------------------------------+ 46 | | | | 47 | | (R1) | (R2) | 48 |-----------------+....+------+-----------------+....+--------+ 49 | | 50 | | 51 | +---+....+---+....+------+....+--------+ 52 | |bk| | | o |x| 53 | o |bk| | | |x| 54 | o o |bk| | | <o> |x| 55 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 56 | +- +----+ |bk| | | TTTTo o |x| 57 | |o o o | |bk| | | TTTT |S| 58 | |o TTT +----------+--------+ o TTTT o |x| 59 | |o TTT | | o oTTTT o |F| 60 | +- (HIP) o +| TTTT |x| 61 | |_o______| o NX| TTTT (KIT) |-| 62 | o +| TTTT | 63 | o o | 64 | | 65 |bk| o | 66 |bk| o | 67 |bk| o TTT (H) o +-------+....+--------+ 68 |bk| TTT ☃ ☃ <---- | | 69 |bk| (COMP) o YOU | (BAL) o bbb | 70 |bk| | o mmm | 71 |bk| | | 72 +---------------+....+----------------------------------------+ 73 74 EOM 75 } 76 77 map_balcony() { 78 cat <<EOM 79 +-------------------------------------------------------------+ 80 | | | | 81 | | (R1) | (R2) | 82 |-----------------+....+------+-----------------+....+--------+ 83 | | 84 | | 85 | +---+....+---+....+------+....+--------+ 86 | |bk| | | o |x| 87 | o |bk| | | |x| 88 | o o |bk| | | |x| 89 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 90 | +- +----+ |bk| | | TTTTo o |x| 91 | |o o o | |bk| | | TTTT |S| 92 | |o TTT +----------+--------+ o TTTT o |x| 93 | |o TTT | | o oTTTT o |F| 94 | +- (HIP) o +| TTTT |x| 95 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 96 | o +| (H)TTTT | 97 | o o | 98 | | 99 |bk| | 100 |bk| o o | 101 |bk| o TTT o +-------+....+--------+ 102 |bk| o TTT | | 103 |bk| (COMP) | (BAL)o o bbb | 104 |bk| | ----> ☃ mmm | 105 |bk| | YOU | 106 +---------------+....+----------------------------------------+ 107 108 EOM 109 } 110 111 map_talkbalcony() { 112 cat <<EOM 113 +-------------------------------------------------------------+ 114 | | | | 115 | | (R1) | (R2) | 116 |-----------------+....+------+-----------------+....+--------+ 117 | | 118 | | 119 | +---+....+---+....+------+....+--------+ 120 | |bk| | | o |x| 121 | o |bk| | | |x| 122 | o o |bk| | | |x| 123 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 124 | +- +----+ |bk| | | TTTTo o |x| 125 | |o o o | |bk| | | TTTT |S| 126 | |o TTT +----------+--------+ o TTTT o |x| 127 | |o TTT | | o oTTTT o |F| 128 | +- (HIP) o +| TTTT |x| 129 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 130 | o +| (H)TTTT | 131 | o o | 132 | | 133 |bk| | 134 |bk| o o | 135 |bk| o TTT o +-------+....+--------+ 136 |bk| o TTT | | 137 |bk| (COMP) | (BAL)o o bbb | 138 |bk| | ----> ☃ mmm | 139 |bk| | YOU | 140 +---------------+....+----------------------------------------+ 141 142 EOM 143 } 144 145 map_bedroom1() { 146 cat <<EOM 147 +-------------------------------------------------------------+ 148 | | YOU--> ☃ | | 149 | | (R1) | (R2) | 150 |-----------------+....+------+-----------------+....+--------+ 151 | | 152 | | 153 | +---+....+---+....+------+....+--------+ 154 | |bk| | | o |x| 155 | o |bk| | | |x| 156 | o o |bk| | | |x| 157 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 158 | +- +----+ |bk| | | TTTTo o |x| 159 | |o o o | |bk| | | TTTT |S| 160 | | TTT +----------+--------+ o TTTT o |x| 161 | |o TTT | | o oTTTT o |F| 162 | +- (HIP) o +| TTTT |x| 163 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 164 | o +| (H)TTTT | 165 | o o o | 166 | | 167 |bk| | 168 |bk| o o | 169 |bk| TTT o +-------+....+--------+ 170 |bk| TTT | | 171 |bk| (COMP) | (BAL)o o bbb | 172 |bk| | mmm | 173 |bk| | | 174 +---------------+....+----------------------------------------+ 175 176 EOM 177 } 178 179 map_bedroom2_unlocked() { 180 cat <<EOM 181 +-------------------------------------------------------------+ 182 | | | YOU--> ☃ | 183 | | (R1) | (R2) | 184 |-----------------+....+------+-----------------+....+--------+ 185 | | 186 | | 187 | +---+....+---+....+------+....+--------+ 188 | |bk| | | o |x| 189 | o |bk| | | |x| 190 | o o |bk| | | |x| 191 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 192 | +- +----+ |bk| o | | TTTTo o |x| 193 | |o o | |bk| o o | | TTTT |S| 194 | |o TTT +----------+--------+ o TTTT o |x| 195 | |o TTT | | o oTTTT o |F| 196 | +- (HIP) o +| TTTT |x| 197 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 198 | o +| TTTT | 199 | o o (H) | 200 | o o | 201 |bk| | 202 |bk| o o | 203 |bk| TTT o +-------+....+--------+ 204 |bk|o TTT | | 205 |bk| o (COMP) | (BAL)o o bbb | 206 |bk| | mmm | 207 |bk| | | 208 +---------------+....+----------------------------------------+ 209 210 EOM 211 } 212 213 map_bedroom2_locked() { 214 cat <<EOM 215 +-------------------------------------------------------------+ 216 | | o | | 217 | | (R1) o | (R2) | 218 |-----------------+....+------+-----------------+....+--------+ 219 | YOU--> ☃ | 220 | | 221 | +---+....+---+....+------+....+--------+ 222 | |bk| | | o |x| 223 | |bk| | | |x| 224 | o oo |bk| | | |x| 225 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 226 | +- +----+ |bk| | | TTTTo o |x| 227 | | o o | |bk| | o | TTTT |S| 228 | |o TTT +----------+--------+ o TTTT o |x| 229 | |o TTT | | o oTTTT o |F| 230 | +- (HIP) o +| TTTT |x| 231 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 232 | o +| TTTT | 233 | o o o | 234 | | 235 |bk| | 236 |bk| o o o | 237 |bk| o TTT +-------+....+--------+ 238 |bk| oTTT | | 239 |bk| (COMP) | (BAL)o o bbb | 240 |bk| | (H) mmm | 241 |bk| | | 242 +---------------+....+----------------------------------------+ 243 244 EOM 245 } 246 247 map_workdesk() { 248 cat <<EOM 249 +-------------------------------------------------------------+ 250 | | | | 251 | | (R1) | (R2) | 252 |-----------------+....+------+-----------------+....+--------+ 253 | | 254 | | 255 | +---+....+---+....+------+....+--------+ 256 | |bk| | | |x| 257 | o |bk| o | o | |x| 258 | (H) o |bk| | | |x| 259 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 260 | +- +----+ |bk| | | TTTTo o |x| 261 | | o | |bk| | | TTTT |S| 262 | |o TTT +----------+--------+ o TTTT o |x| 263 | |o TTT | | o oTTTT o |F| 264 | +- (HIP) o +| TTTT |x| 265 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 266 | o +| TTTT | 267 | o o | 268 | | 269 |bk| YOU | 270 |bk| o ☃ <---- o | 271 |bk| o TTT o +-------+....+--------+ 272 |bk| o TTT | | 273 |bk| (COMP) | (BAL)o o bbb | 274 |bk| | mmm | 275 |bk| | | 276 +---------------+....+----------------------------------------+ 277 278 EOM 279 } 280 281 map_talkgirls() { 282 cat <<EOM 283 +-------------------------------------------------------------+ 284 | | | | 285 | | (R1) | (R2) | 286 |-----------------+....+------+-----------------+....+--------+ 287 | | 288 | | 289 | +---+....+---+....+------+....+--------+ 290 | |bk| | | |x| 291 | o |bk| o | | |x| 292 | o (H) |bk| | | |x| 293 | | DJ | |bk| (T1) | (T2) | o TTTT o |x| 294 | +- +----+ o |bk| | | TTTTo o |x| 295 | | o | |bk| | | TTTT |S| 296 | |o TTT +----------+--------+ o TTTT o |x| 297 | |o TTT | | o oTTTT o |F| 298 | +- (HIP) o +| TTTT |x| 299 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 300 | o +| TTTT | 301 | o o o o | 302 | | 303 |bk| YOU | 304 |bk| o ☃ <---- | 305 |bk| o TTT +-------+....+--------+ 306 |bk| o TTT | | 307 |bk| (COMP) | (BAL)o o bbb | 308 |bk| | mmm | 309 |bk| | | 310 +---------------+....+----------------------------------------+ 311 312 EOM 313 } 314 315 map_hipsterarea() { 316 cat <<EOM 317 +-------------------------------------------------------------+ 318 | | | | 319 | | (R1) | (R2) | 320 |-----------------+....+------+-----------------+....+--------+ 321 | | 322 | | 323 | +---+....+---+....+------+....+--------+ 324 | |bk| | | |x| 325 | |bk| | | |x| 326 | o o |bk| | | |x| 327 | | DJ | |bk| (T1) | (T2) | o TTTT (H) |x| 328 | +- +----+ |bk| | | TTTTo o |x| 329 | |o o o | |bk| | | TTTT |S| 330 | |o TTT YOU +----------+--------+ o TTTT o |x| 331 | |o TTT ☃ <---- | | o oTTTT o |F| 332 | +- (HIP) o +| TTTT |x| 333 | |_o_☃_<o>| o NX| TTTT (KIT) |-| 334 | o +| TTTT | 335 | o o o | 336 | oo | 337 |bk| | 338 |bk| | 339 |bk| o TTT +-------+....+--------+ 340 |bk| o TTT | | 341 |bk| (COMP) | (BAL)o o bbb | 342 |bk| | mmm | 343 |bk| | | 344 +---------------+....+----------------------------------------+ 345 346 EOM 347 } 348 349 map_talk20h() { 350 cat <<EOM 351 +-------------------------------------------------------------+ 352 | | | | 353 | | (R1) | (R2) | 354 |-----------------+....+------+-----------------+....+--------+ 355 | | 356 | | 357 | +---+....+---+....+------+....+--------+ 358 | |bk| | | |x| 359 | |bk| | | |x| 360 | o o |bk| | | |x| 361 | | DJ | |bk| (T1) | (T2) | oo TTTT (H) |x| 362 | +- +----+ |bk| | | TTTTo o |x| 363 | |o o o | |bk| | oo | TTTT o |S| 364 | |o TTT YOU +----------+--------+ TTTT |x| 365 | |o TTT ☃ <---- | | oo TTTT o |F| 366 | +- (HIP) o +| o TTTT |x| 367 | |_o_☃_<o>| o NX| o TTTT (KIT) |-| 368 | o +| TTTT | 369 | | 370 | o o | 371 |bk| o | 372 |bk| | 373 |bk| o TTT +-------+....+--------+ 374 |bk| o TTT | | 375 |bk| (COMP) | (BAL)o o o bbb | 376 |bk| | o mmm | 377 |bk| | | 378 +---------------+....+----------------------------------------+ 379 380 EOM 381 } 382 383 map_talkgentoo() { 384 cat <<EOM 385 +-------------------------------------------------------------+ 386 | | | | 387 | | (R1) | (R2) | 388 |-----------------+....+------+-----------------+....+--------+ 389 | o | 390 | o | 391 | +---+....+---+....+------+....+--------+ 392 | |bk| | | |x| 393 | |bk| | | |x| 394 | o o |bk| | | |x| 395 | | DJ | |bk| (T1) | (T2) | TTTT (H) |x| 396 | +- +----+ |bk| | | TTTTo o |x| 397 | |o o o | |bk| | oo | TTTT o |S| 398 | |o TTT YOU +----------+--------+ TTTT |x| 399 | |o TTT ☃ <---- | | oo TTTT o |F| 400 | +- (HIP) o +| o TTTT |x| 401 | |_o_☃_<o>| o NX| o TTTT (KIT) |-| 402 | o +| TTTT | 403 | | 404 | o o | 405 |bk| o | 406 |bk| | 407 |bk| o TTT +-------+....+--------+ 408 |bk| o TTT | | 409 |bk| (COMP) | (BAL)o o o bbb | 410 |bk| | o mmm | 411 |bk| | | 412 +---------------+....+----------------------------------------+ 413 414 EOM 415 } 416 417 map_talkhipster() { 418 cat <<EOM 419 +-------------------------------------------------------------+ 420 | | | | 421 | | (R1) | (R2) | 422 |-----------------+....+------+-----------------+....+--------+ 423 | o | 424 | o | 425 | +---+....+---+....+------+....+--------+ 426 | |bk| | | |x| 427 | o |bk| | | |x| 428 | o |bk| | | |x| 429 | | DJ | |bk| (T1) | (T2) | TTTT (H) |x| 430 | +- +----+ |bk| | | TTTTo o |x| 431 | |o o o | |bk| | oo | TTTT o |S| 432 | |o TTT YOU +----------+--------+ TTTT |x| 433 | |o TTT ☃ <---- | | oo TTTT o |F| 434 | +- (HIP) o +| o TTTT |x| 435 | |_o_☃_<o>| o NX| o TTTT (KIT) |-| 436 | o o +| TTTT | 437 | o o | 438 | | 439 |bk| | 440 |bk| | 441 |bk| o TTT +-------+....+--------+ 442 |bk| o TTT | | 443 |bk| (COMP) | (BAL)o o o bbb | 444 |bk| | o mmm | 445 |bk| | | 446 +---------------+....+----------------------------------------+ 447 448 EOM 449 } 450 451 map_talknerds() { 452 cat <<EOM 453 +-------------------------------------------------------------+ 454 | | | | 455 | | (R1) | (R2) | 456 |-----------------+....+------+-----------------+....+--------+ 457 | o | 458 | o | 459 | +---+....+---+....+------+....+--------+ 460 | |bk| | | |x| 461 | o |bk| | | |x| 462 | o |bk| | | |x| 463 | | DJ | |bk| (T1) | (T2) | TTTT (H) |x| 464 | +- +----+ |bk| | | TTTTo o |x| 465 | |o o o | |bk| | oo | TTTT o |S| 466 | |o TTT YOU +----------+--------+ TTTT |x| 467 | |o TTT ☃ <---- | | oo TTTT o |F| 468 | +- (HIP) o +| o TTTT |x| 469 | |_o_☃_<o>| o NX| o TTTT (KIT) |-| 470 | o o +| TTTT | 471 | | 472 | | 473 |bk| o | 474 |bk| o | 475 |bk| o TTT +-------+....+--------+ 476 |bk| o TTT | | 477 |bk| (COMP) | (BAL)o o o bbb | 478 |bk| | o mmm | 479 |bk| | | 480 +---------------+....+----------------------------------------+ 481 482 EOM 483 } 484 485 map_toilet2_locked() { 486 cat <<EOM 487 +-------------------------------------------------------------+ 488 | | | | 489 | | (R1) o | (R2) | 490 |-----------------+....+------+-----------------+....+--------+ 491 | YOU | 492 | ☃ <---- | 493 | +---+....+---+....+------+....+--------+ 494 | |bk| | | |x| 495 | |bk| | | |x| 496 | (H)o |bk| | | |x| 497 | | DJ | |bk| (T1) | (T2) | TTTT |x| 498 | +- +----+ |bk| | | TTTTo o |x| 499 | |o o | |bk| | oo | TTTT o |S| 500 | |o TTT +----------+--------+ TTTT |x| 501 | |o TTT | | oo TTTT o |F| 502 | +- (HIP) o +| o TTTT |x| 503 | |_o_☃_<o>| o NX| o TTTT (KIT) |-| 504 | o +| TTTT | 505 | o | 506 | o | 507 |bk| | 508 |bk| | 509 |bk| o TTT +-------+....+--------+ 510 |bk| o TTT | | 511 |bk| (COMP) | (BAL) o bbb | 512 |bk| | o mmm | 513 |bk| | | 514 +---------------+....+----------------------------------------+ 515 516 EOM 517 } 518 519 map_toilet2_unlocked() { 520 cat <<EOM 521 +-------------------------------------------------------------+ 522 | | | | 523 | | (R1) | (R2) | 524 |-----------------+....+------+-----------------+....+--------+ 525 | o | 526 | o | 527 | +---+....+---+....+------+....+--------+ 528 | |bk| | | |x| 529 | o |bk| o | | |x| 530 | (H) o |bk| | | |x| 531 | | DJ | |bk| (T1) | (T2) | TTTT o |x| 532 | +- +----+ |bk| | YOU | TTTT o |x| 533 | |o o | |bk| | ---> ☃ | TTTT o |S| 534 | |o TTT +----------+--------+ TTTT |x| 535 | |o TTT | | oo TTTT o |F| 536 | +- (HIP) o +| o TTTT o |x| 537 | |_o_☃_<o>| o NX| o TTTT (KIT) |-| 538 | o +| TTTT | 539 | o | 540 | o | 541 |bk| | 542 |bk| | 543 |bk| o TTT +-------+....+--------+ 544 |bk| o TTT | | 545 |bk| (COMP) | (BAL) o bbb | 546 |bk| | o mmm | 547 |bk| | | 548 +---------------+....+----------------------------------------+ 549 550 EOM 551 } 552 553 map_toilet1() { 554 cat <<EOM 555 +-------------------------------------------------------------+ 556 | | | o | 557 | | (R1) | o (R2) | 558 |-----------------+....+------+-----------------+....+--------+ 559 | | 560 | | 561 | +---+....+---+....+------+....+--------+ 562 | |bk| | | |x| 563 | |bk| | | |x| 564 | o o |bk| | | o |x| 565 | | DJ | |bk| (T1) | (T2) | TTTT |x| 566 | +- +----+ |bk| YOU | | o TTTT o |x| 567 | |o o o | |bk| ----> ☃ | | TTTT o |S| 568 | | TTT +----------+--------+ TTTT |x| 569 | |o TTT | | TTTT o |F| 570 | +- (HIP) o +| TTTT o o |x| 571 | |_o_☃_<o>| o NX| o TTTT (KIT) |-| 572 | o +| TTTT | 573 | o o | 574 | | 575 |bk| o | 576 |bk| o o | 577 |bk| o TTT o +-------+....+--------+ 578 |bk| o TTT | (H) | 579 |bk| (COMP) | (BAL) o bbb | 580 |bk| | o mmm | 581 |bk| | | 582 +---------------+....+----------------------------------------+ 583 584 EOM 585 } 586 587 map_kitchen() { 588 cat <<EOM 589 +-------------------------------------------------------------+ 590 | | o | | 591 | | (R1) o | (R2) | 592 |-----------------+....+------+-----------------+....+--------+ 593 | | 594 | | 595 | +---+....+---+....+------+....+--------+ 596 | |bk| | | |x| 597 | |bk| | | |x| 598 | o o |bk| | | o |x| 599 | | DJ | |bk| (T1) | (T2) | TTTT |x| 600 | +- +----+ |bk| | | o TTTT YOU |x| 601 | |o o o | |bk| | | TTTT☃ <--- |S| 602 | |o TTT +----------+--------+ TTTT o|x| 603 | |o TTT | | TTTT o|F| 604 | +- (HIP) o +| o (H) TTTT o o |x| 605 | |_o_☃_<o>| o NX| o o TTTT (KIT) |-| 606 | o +| o TTTT | 607 | o o | 608 | | 609 |bk| o | 610 |bk| o o | 611 |bk| o TTT o +-------+....+--------+ 612 |bk| o TTT | | 613 |bk| (COMP) | (BAL) bbb | 614 |bk| | mmm | 615 |bk| | | 616 +---------------+....+----------------------------------------+ 617 618 EOM 619 } 620 621 map_talkhost() { 622 cat <<EOM 623 +-------------------------------------------------------------+ 624 | | o | | 625 | | (R1) o | (R2) | 626 |-----------------+....+------+-----------------+....+--------+ 627 | | 628 | | 629 | +---+....+---+....+------+....+--------+ 630 | |bk| | | |x| 631 | |bk| | | |x| 632 | o o |bk| | | o |x| 633 | | DJ | |bk| (T1) | (T2) | TTTT |x| 634 | +- +----+ |bk| | | o TTTT |x| 635 | |o o o | |bk| | | TTTT |S| 636 | |o TTT +----------+--------+ TTTT o|x| 637 | |o TTT | YOU | TTTT o|F| 638 | +- (HIP) o +| o --->☃ (H) TTTT o o |x| 639 | |_o_☃_<o>| o NX| o o TTTT (KIT) |-| 640 | o +| o TTTT | 641 | o o | 642 | | 643 |bk| o | 644 |bk| o o | 645 |bk| o TTT o +-------+....+--------+ 646 |bk| o TTT | | 647 |bk| (COMP) | (BAL) bbb | 648 |bk| | mmm | 649 |bk| | | 650 +---------------+....+----------------------------------------+ 651 652 EOM 653 } 654 655 map_bench() { 656 cat <<EOM 657 658 659 |___☃_| <---- 660 ---------------------------- 661 (PARTY) 662 663 EOM 664 }