File: lesson5.des

package info (click to toggle)
crawl 2%3A0.34.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 100,188 kB
  • sloc: cpp: 363,709; ansic: 27,765; javascript: 9,516; python: 8,463; perl: 3,293; java: 3,132; xml: 2,380; makefile: 1,835; sh: 611; objc: 250; cs: 15; sed: 9; lisp: 3
file content (97 lines) | stat: -rw-r--r-- 3,739 bytes parent folder | download | duplicates (3)
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
##############################################
# Tutorial map 5: Gods and divine abilities  #
##############################################

{{
crawl_require("dlua/tutorial.lua")

tutorial5 = {}

function tutorial5.msg(text)
    return tutorial_msg("tutorial5 " .. text)
end

function tutorial5.exit()
    crawl.tutorial_msg("tutorial5 exit", true)
end

function tutorial5.win()
    crawl.mark_game_won()
    tutorial5.exit()
end
}}

NAME:    tutorial_lesson5
TAGS:    no_rotate no_monster_gen no_item_gen no_hmirror no_vmirror no_trap_gen no_pool_fixup tutorial
DESC:    Lesson 5: Gods and Divine Abilities
ORDER:   5
ORIENT:  encompass
KFEAT:   bABCDEHI = .
COLOUR:  ABCDEHI = lightblue
FTILE:   ABCDEHI = tutorial_pad
KPROP:   b_ = bloody / nothing
KFEAT:   _ = altar_trog
ITEM:    mace mundane
MONS:    rat
MONS:    hobgoblin ; short sword ego:none | w:5 mace ego:none
MONS:    gnoll ; mace ego:none
MONS:    orc wizard spells:magic_dart.35.wizard;blink.18.wizard
MARKER:  A = lua:tutorial5.msg("dungeon_overview")
MARKER:  _ = lua:tutorial5.msg("altar")
MARKER:  B = lua:tutorial5.msg("religion")
MARKER:  C = lua:tutorial5.msg("piety_on_kill")
MARKER:  D = lua:tutorial5.msg("berserk")
MARKER:  E = lua:tutorial5.msg("exhaustion")
# TODO Pad F was a hunger reminder, can something else go here?
MARKER:  H = lua:tutorial5.msg("berserk2")
MARKER:  { = lua:one_way_stair { dst  = "tutorial_lesson5", \
                                 onclimb = "tutorial5.exit" }
MARKER:  ( = lua:one_way_stair { dst  = "tutorial_lesson5", \
                                 onclimb = "tutorial5.exit" }
MARKER:  [ = lua:one_way_stair { dst  = "tutorial_lesson5", \
                                 onclimb = "tutorial5.exit" }
MARKER:  } = lua:tutorial5.msg("tutorial_end")
MARKER:  ) = lua:tutorial5.msg("tutorial_end")
MARKER:  ] = lua:tutorial5.msg("tutorial_end")
MARKER:  } = lua:one_way_stair { dst  = "tutorial_lesson5", \
                                 desc = "exit from the tutorial", \
                                 onclimb = "tutorial5.win" }
MARKER:  ) = lua:one_way_stair { dst  = "tutorial_lesson5", \
                                 desc = "exit from the tutorial", \
                                 onclimb = "tutorial5.win" }
MARKER:  ] = lua:one_way_stair { dst  = "tutorial_lesson5", \
                                 desc = "exit from the tutorial", \
                                 onclimb = "tutorial5.win" }
epilogue{{
  if crawl.game_started() then
    crawl.clear_messages(true)
    crawl.tutorial_msg("tutorial5 start")
    tutorial_intro()
  end
}}
MAP
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx..1..xxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxx.....1.xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx....C......1.....xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx.xxxxxxxxx...1...xxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx.xxxxxxxxxx.....xxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxx.xxxxxxxxxxxx.xxxxxxxxxxxxx)xxxxxxxxxxxxx
xxxxxxBxxxxxxxxxxxx.xxxxxxxxx}........]xxxxxxxx
xtt..G.G..ttxxxxxxx.xxxxxxxxx.....1...xxxxxxxxx
xt........txxxxxxxx.xxxxxxxxx........4xxxxxxxxx
x..mmm.mmm..xxxxxxx.xxxxxxxxxx.1......xxxxxxxxx
x..mYbbbYm..xxxxxxx.xxxxxxxxxxx....2.xxxxxxxxxx
x...bb_bb...xxxxxxxDxxxxxxxxxxxx2....xxxxxxxxxx
x..mVbbbVm..xxxxxxx+xxxxxxxxxxxx....xxxxxxxxxxx
x..mmm.mmm..xxxxxx...xxxxxxxxxxx..1.xxxxxxxxxxx
xt.........txxxxxx...xxxxxxxxxxxx..xxxxxxxxxxxx
xtt..G.G..ttxxxxxx...xxxxxxxxxxxxx.xxxxxxxxxxxx
xxxxxxAxxxxxxxxxxx...xxxxxxxxxxxxx.xxxxxxxxxxxx
xxxxxx.xxxxxxxxxxx...xxxxxxxxxxxxx.xxxxxxxxxxxx
xxxxxx.xxxxxxxxxxx.3.xxxxxxxxxxxxxHxxxxxxxxxxxx
xxxxxx+xxxxxxxxxxxxExxxxxxxxxxx...xxxxxxxxxxxxx
xxx...d...xxxxxxxxx............xxxxxxxxxxxxxxxx
xxx.[.{.(.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ENDMAP