Darcap's Manor, brown zone, with hopefully a nice challenge.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14005 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2010-10-17 11:23:37 +00:00
parent cd3a0d8589
commit 8e59f89c8b
4 changed files with 4906 additions and 5 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@ width 20
height 20
msg
Created: 2010-10-10 Nicolas Weeger
Modified: 2010-10-10 Nicolas Weeger
Modified: 2010-10-17 Nicolas Weeger
endmsg
end
arch grass_only
@ -1026,7 +1026,7 @@ name Politos
msg
@match *
***************************
Note: this is a work in progress. Only one reward for now, but only one key required.
Note: this is a work in progress. Only one reward for now, and two keys required.
***************************
@ -1856,6 +1856,10 @@ x 17
y 2
end
arch stair_3_up
name Darcap's Manor - brown zone
slaying manor.brown
hp 1
sp 1
x 17
y 2
end

View File

@ -5,7 +5,7 @@ width 20
height 22
msg
Created: 2010-10-10 Nicolas Weeger
Modified: 2010-10-10 Nicolas Weeger
Modified: 2010-10-17 Nicolas Weeger
endmsg
end
arch tile_shop
@ -1695,7 +1695,7 @@ arch tile_shop
x 12
y 8
end
arch cwall_1_3
arch cwall_2_1_2
x 12
y 8
end
@ -1813,6 +1813,10 @@ arch tile_shop
x 13
y 8
end
arch cwall_2_1_2
x 13
y 8
end
arch tile_shop
x 13
y 9
@ -1927,7 +1931,7 @@ arch tile_shop
x 14
y 8
end
arch cwall_0
arch cwall_1_3
x 14
y 8
end

View File

@ -75,7 +75,29 @@ def potion_check():
env.Map.Print('The wall explodes!')
def kaptel_death():
'''
Handle Kaptel's death event. Depending on whether the player triggered the lever,
either prevent death or trigger the opening of the exit.
'''
who = Crossfire.WhoAmI()
floor = who.Map.ObjectAt(24, 1)
while floor != None and floor.Above != None:
floor = floor.Above
if floor.Name == 'boulder':
who.Say('AAAAAAAAAaaaaahhhhhhhhhhhhhh!!!!!!!!!')
who.Map.TriggerConnected(11, 1)
return
who.Map.Print("%s roars and seems to regenerate!"%(Crossfire.WhoAmI().Name))
who.HP = who.MaxHP / 2
Crossfire.SetReturnValue(1)
if Crossfire.ScriptParameters() == 'blue':
blue_check()
elif Crossfire.ScriptParameters() == 'potion':
potion_check()
elif Crossfire.ScriptParameters() == 'kaptel':
kaptel_death()