More WML Work in THoT - Underlevels

This commit is contained in:
Taurus 2007-12-16 08:31:41 +00:00
parent 5455bcdd01
commit e8cd74ff06
2 changed files with 459 additions and 65 deletions

View file

@ -1,67 +1,5 @@
#textdomain wesnoth-thot
#define GIANT_SPIDER X Y
[unit]
type=Giant Spider
x={X}
y={Y}
side=2
ai_special=guardian
description=Giant Spider
[/unit]
#enddef
#define MASKED_GUARD X Y
[unit]
type=Dwarvish Steelclad
x={X}
y={Y}
side=2
ai_special=guardian
random_traits=yes
generate_description=yes
user_description= _ "Masked Dwarf"
[/unit]
#enddef
#define MASKED_SNIPER X Y
[unit]
type=Dwarvish Thunderguard
x={X}
y={Y}
side=2
ai_special=guardian
random_traits=yes
generate_description=yes
user_description= _ "Masked Dwarf"
[/unit]
#enddef
#define MASKED_STALWART X Y
[unit]
type=Dwarvish Stalwart
x={X}
y={Y}
side=2
ai_special=guardian
random_traits=yes
generate_description=yes
user_description= _ "Masked Dwarf"
[/unit]
#enddef
#define DRAUG_GUARD X Y
[unit]
type=Draug
x={X}
y={Y}
side=2
ai_special=guardian
[/unit]
#enddef
[scenario]
name=_"The Underlevels"
id="12_The_Underlevels"
@ -223,7 +161,7 @@
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 21 55}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 21 54}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 45 34}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 25 4}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 23 4}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 39 13}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 26 5}
{PLACE_IMAGE "scenery/dwarven-doors-closed.png" 25 8}
@ -234,6 +172,10 @@
{PLACE_IMAGE "items/book2.png" 41 6}
{PLACE_IMAGE items/chest.png 15 22}
{PLACE_IMAGE items/chest.png 15 38}
{PLACE_IMAGE "scenery/rune4.png" 12 1}
{PLACE_IMAGE "scenery/rune4.png" 20 1}
{PLACE_IMAGE "scenery/rune4.png" 41 43}
{PLACE_IMAGE "scenery/rune4.png" 37 43}
{MASKED_GUARD 10 25}
{MASKED_GUARD 14 25}
@ -464,8 +406,6 @@
message= _ "There we go... faugh, what is that smell!"
[/message]
recruit="Blood Bat,Ghost,Wrath,Shadow,Skeleton,Skeleton Archer,Ghoul,Necrophage,Revenant,Deathblade,Bone Shooter"
[allow_recruit]
side=2
type="Blood Bat,Ghost,Wrath,Shadow,Skeleton,Skeleton Archer,Ghoul,Necrophage,Revenant,Deathblade,Bone Shooter"
@ -624,4 +564,361 @@
y=38
[/removeitem]
[/event]
[event]
name=moveto
[filter]
side=1
x=39
y=12
[/filter]
[message]
speaker=unit
message= _ "An old caved in passage way. Perhaps if we clear away some of this rubble we may be able to get through..."
[/message]
[terrain]
x=39,39
y=13,14
letter=Uu
[/terrain]
[/event]
[event]
name=moveto
[filter]
side=1
x=45
y=34
[/filter]
[message]
speaker=unit
message= _ "Another old caved in passage way..."
[/message]
[terrain]
x=44
y=34
letter=Uu
[/terrain]
[/event]
[event]
name=moveto
[filter]
side=1
x=11
y=2
[/filter]
[terrain]
x=10
y=2
letter=Uu
[/terrain]
[unit]
side=1
type=Dwarvish Steelclad
x=8
y=2
random_traits=yes
generate_user_description=yes
description=Trisi
[/unit]
[unit]
side=1
type=Dwarvish Thunderer
x=8
y=1
random_traits=yes
generate_description=yes
[/unit]
[if]
[variable]
name=saga_told
numerical_equals=0
[/variable]
[then]
{JAIL_SAGA (Tristi)}
[/then]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=19
y=2
[/filter]
[terrain]
x=18
y=1
letter=Uu
[/terrain]
[unit]
side=1
type=Dwarvish Steelclad
x=16
y=1
random_traits=yes
generate_user_description=yes
description=Malifen
[/unit]
[unit]
side=1
type=Dwarvish Fighter
x=15
y=2
random_traits=yes
generate_description=yes
[/unit]
[if]
[variable]
name=saga_told
numerical_equals=0
[/variable]
[then]
{JAIL_SAGA (Malifen)}
[/then]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=23
y=5
[/filter]
[terrain]
x=23
y=4
letter=Uu
[/terrain]
[unit]
side=1
type=Dwarvish Thunderguard
x=23
y=3
random_traits=yes
generate_user_description=yes
description=Borras
[/unit]
[unit]
side=1
type=Dwarvish Fighter
x=24
y=2
random_traits=yes
generate_description=yes
[/unit]
[if]
[variable]
name=saga_told
numerical_equals=0
[/variable]
[then]
{JAIL_SAGA (Borras)}
[/then]
[/if]
[/event]
[event]
name=moveto
[filter]
side=1
x=25
y=7
[/filter]
[terrain]
x=25
y=8
letter=Uu
[/terrain]
[unit]
side=1
type=Dwarvish Steelclad
x=24
y=8
random_traits=yes
generate_user_description=yes
description=Zamak
[/unit]
[unit]
side=1
type=Dwarvish Thunderguard
x=24
y=9
random_traits=yes
generate_description=yes
[/unit]
[if]
[variable]
name=saga_told
numerical_equals=0
[/variable]
[then]
{JAIL_SAGA (Zamak)}
[/then]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
side=1
x=12
y=1
[/filter]
[if]
[variable]
name=key_read
numerical_equals=0
[/variable]
[then]
[message]
speaker=unit
message= _ "When I step on this rune, I feel strange indeed. I feel like I am being pulled somewhere else, but at the same time being pulled held back by an equally powerful force."
[/message]
[message]
description= _ "Angarthing"
message= _ "It seems to be some sort of a teleportation device. What's more, the bindings that are preventing it from working seem to be the same ones that bar those sealed gates."
[/message]
[/then]
[/if]
[if]
[variable]
name=key_read
numerical_equals=1
[/variable]
[then]
[teleport]
[filter]
x,y=$x1,$y1
[/filter]
x,y=37,43
[/teleport]
[/then]
[/if]
[/event]
[event]
name=moveto
first_time_only=no
[filter]
side=1
x=20
y=1
[/filter]
[if]
[variable]
name=key_read
numerical_equals=0
[/variable]
[then]
[message]
speaker=unit
message= _ "When I step on this rune I feel strange indeed. I feel like I am being pulled somewhere else, but at the same time being pulled held back by an equally powerful force."
[/message]
[message]
description= _ "Angarthing"
message= _ "It seems to be some sort of a teleportation device. What's more, the bindings that are preventing it from working seem to be the same ones that bar those sealed gates."
[/message]
[/then]
[/if]
[if]
[variable]
name=key_read
numerical_equals=1
[/variable]
[then]
[teleport]
[filter]
x,y=$x1,$y1
[/filter]
x,y=41,43
[/teleport]
[/then]
[/if]
[/event]
[/scenario]

View file

@ -310,3 +310,100 @@
x,y={X},{Y}
[/recall]
#enddef
#define GIANT_SPIDER X Y
[unit]
type=Giant Spider
x={X}
y={Y}
side=2
ai_special=guardian
description=Giant Spider
[/unit]
#enddef
#define MASKED_GUARD X Y
[unit]
type=Dwarvish Steelclad
x={X}
y={Y}
side=2
ai_special=guardian
random_traits=yes
generate_description=yes
user_description= _ "Masked Dwarf"
[/unit]
#enddef
#define MASKED_SNIPER X Y
[unit]
type=Dwarvish Thunderguard
x={X}
y={Y}
side=2
ai_special=guardian
random_traits=yes
generate_description=yes
user_description= _ "Masked Dwarf"
[/unit]
#enddef
#define MASKED_STALWART X Y
[unit]
type=Dwarvish Stalwart
x={X}
y={Y}
side=2
ai_special=guardian
random_traits=yes
generate_description=yes
user_description= _ "Masked Dwarf"
[/unit]
#enddef
#define DRAUG_GUARD X Y
[unit]
type=Draug
x={X}
y={Y}
side=2
ai_special=guardian
[/unit]
#enddef
#define JAIL_SAGA ORATOR
[set_variable]
name=saga_told
value=1
[/set_variable]
[message]
description={ORATOR}
message= _ "Finally! I see someone managed to see through the web of deception thrown up by that vile Karrag!"
[/message]
[message]
description=Aiglondur
message= _ "I thought Karrag's fight was the so called 'dirtgrubbers'. Why would he keep you, a dwarf captive?"
[/message]
[message]
description={ORATOR}
message= _ "I guess Karrag thought I knew too much. When his masked henchmen started raiding, plundering and taking all sorts of prisoners - which were sent to these underlevels and never seen again - I began to inquire. I discovered many unsettling things indeed, but before I could capitalize on them I was arrested and thrown down here."
[/message]
[message]
description={ORATOR}
message= _ "I gather that he is involved in some sick ritual which requires the blood of living creatures. These cells seem to be the holding place where he keeps his victims. The 'dirtgrubbers' he seems to prefer sacrificing have long since been taken away. Now it is just us few dwarves that remain..."
[/message]
[message]
description= _ "Angarthing"
message= _ "Freeing these prisoners is more of a blow to Karrag then we thought, for now he is unable to continue in his dirty sorcery."
[/message]
#enddef