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-b93c2d0d6712master
							parent
							
								
									cd3a0d8589
								
							
						
					
					
						commit
						8e59f89c8b
					
				
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							|  | @ -5,7 +5,7 @@ width 20 | ||||||
| height 20 | height 20 | ||||||
| msg | msg | ||||||
| Created:  2010-10-10 Nicolas Weeger | Created:  2010-10-10 Nicolas Weeger | ||||||
| Modified: 2010-10-10 Nicolas Weeger | Modified: 2010-10-17 Nicolas Weeger | ||||||
| endmsg | endmsg | ||||||
| end | end | ||||||
| arch grass_only | arch grass_only | ||||||
|  | @ -1026,7 +1026,7 @@ name Politos | ||||||
| msg | msg | ||||||
| @match * | @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 | y 2 | ||||||
| end | end | ||||||
| arch stair_3_up | arch stair_3_up | ||||||
|  | name Darcap's Manor - brown zone | ||||||
|  | slaying manor.brown | ||||||
|  | hp 1 | ||||||
|  | sp 1 | ||||||
| x 17 | x 17 | ||||||
| y 2 | y 2 | ||||||
| end | end | ||||||
|  |  | ||||||
|  | @ -5,7 +5,7 @@ width 20 | ||||||
| height 22 | height 22 | ||||||
| msg | msg | ||||||
| Created:  2010-10-10 Nicolas Weeger | Created:  2010-10-10 Nicolas Weeger | ||||||
| Modified: 2010-10-10 Nicolas Weeger | Modified: 2010-10-17 Nicolas Weeger | ||||||
| endmsg | endmsg | ||||||
| end | end | ||||||
| arch tile_shop | arch tile_shop | ||||||
|  | @ -1695,7 +1695,7 @@ arch tile_shop | ||||||
| x 12 | x 12 | ||||||
| y 8 | y 8 | ||||||
| end | end | ||||||
| arch cwall_1_3 | arch cwall_2_1_2 | ||||||
| x 12 | x 12 | ||||||
| y 8 | y 8 | ||||||
| end | end | ||||||
|  | @ -1813,6 +1813,10 @@ arch tile_shop | ||||||
| x 13 | x 13 | ||||||
| y 8 | y 8 | ||||||
| end | end | ||||||
|  | arch cwall_2_1_2 | ||||||
|  | x 13 | ||||||
|  | y 8 | ||||||
|  | end | ||||||
| arch tile_shop | arch tile_shop | ||||||
| x 13 | x 13 | ||||||
| y 9 | y 9 | ||||||
|  | @ -1927,7 +1931,7 @@ arch tile_shop | ||||||
| x 14 | x 14 | ||||||
| y 8 | y 8 | ||||||
| end | end | ||||||
| arch cwall_0 | arch cwall_1_3 | ||||||
| x 14 | x 14 | ||||||
| y 8 | y 8 | ||||||
| end | end | ||||||
|  |  | ||||||
|  | @ -75,7 +75,29 @@ def potion_check(): | ||||||
| 
 | 
 | ||||||
|     env.Map.Print('The wall explodes!') |     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': | if Crossfire.ScriptParameters() == 'blue': | ||||||
|     blue_check() |     blue_check() | ||||||
| elif Crossfire.ScriptParameters() == 'potion': | elif Crossfire.ScriptParameters() == 'potion': | ||||||
|     potion_check() |     potion_check() | ||||||
|  | elif Crossfire.ScriptParameters() == 'kaptel': | ||||||
|  |     kaptel_death() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue