1 /* Underwater Tunnels */
3 Dungeon UNDER_WATER_TUNNEL
;
6 Description
= "underwater tunnel";
7 ShortDescription
= "UT";
11 FillSquare
= solidterrain
(GROUND
), SAND_STONE earth
;
12 TunnelSquare
= solidterrain
(GROUND
), 0;
16 GenerateMonsters
= true
;
18 TeamDefault
= MONSTER_TEAM
;
20 IgnoreDefaultSpecialSquares
= false
;
23 MonsterAmountDelta
= 0;
24 MonsterGenerationIntervalBase
= 200;
25 MonsterGenerationIntervalDelta
= -25;
26 CanGenerateBone
= true
;
28 ItemMinPriceDelta
= 5;
29 EnchantmentMinusChanceBase
= 10;
30 EnchantmentMinusChanceDelta
= -5;
31 EnchantmentPlusChanceBase
= 1;
32 EnchantmentPlusChanceDelta
= 1;
33 BackGroundType
= GRAY_FRACTAL
;
38 Items
== beartrap
{ Team
= MONSTER_TEAM
; IsActive
= true
; }
44 Items
== Random
{ Category
= FOOD
; }
50 Pos
= 2:XSize
-5,2:YSize
-5;
53 WallSquare
= solidterrain
(GROUND
), BALSA_WOOD wall
(BRICK_OLD
);
54 FloorSquare
= BALSA_WOOD solidterrain
(PARQUET
), 0;
55 DoorSquare
= BALSA_WOOD solidterrain
(PARQUET
), BALSA_WOOD door
;
58 GenerateTunnel
= true
;
59 GenerateLanterns
= true
;
61 GenerateFountains
= true
;
62 AllowLockedDoors
= true
;
63 AllowBoobyTrappedDoors
= true
;
66 GenerateWindows
= false
;
67 UseFillSquareWalls
= false
;
69 GenerateWards
= false
;
77 GenerateLanterns
= false
;
78 GenerateFountains
= false
;
80 GenerateTunnel
= false
;
81 AltarPossible
= false
;
83 Flags
= NO_MONSTER_GENERATION
;
84 UseFillSquareWalls
= true
;
88 Items
== Random
{ MinPrice
= 250; MaxPrice
= 2000; }
98 x
= BALSA_WOOD wall
(BRICK_OLD
);
113 IgnoreDefaultSpecialSquares
= true
;
114 MonsterAmountBase
= 5;
115 CanGenerateBone
= false
;
120 AltarPossible
= false
;
121 AllowLockedDoors
= false
;
122 AllowBoobyTrappedDoors
= false
;
127 Character
= spider
(LARGE
);
145 Character
= carnivorousplant
;
151 Character
= hedgehog
;
155 Square
, BoundedRandom
61, 1, 78, 18, NOT_WALKABLE|ATTACHABLE
;
157 OTerrain
= stairs
(STAIRS_DOWN
);
158 EntryIndex
= STAIRS_DOWN
;
159 AttachRequired
= true
;
164 Pos
= 2:XSize
/4-5,2:YSize
-5;
166 AllowLockedDoors
= false
;
167 AllowBoobyTrappedDoors
= false
;
168 Shape
= ROUND_CORNERS
;
170 if @player_name
== "_k8_";
171 DivineMaster
= CRUENTUS
;
176 OTerrain
= stairs
(STAIRS_UP
);
177 EntryIndex
= STAIRS_UP
;
180 /*k8: you have to buy lantern first? */
186 if @player_name
== "_k8_";
189 Items
== RUBY daggerofvenom
{ Enchantment
= 4; }
194 OTerrain
= STEEL altar
(CRUENTUS
);
200 Items
== holyhandgrenade
[
201 if @has_item
"superkawai";
208 //Square
, Pos
2,3; { Items
= { 3, moneybag
, BONE bone
, OMMEL_BONE bone
; } }
215 MonsterAmountBase
= 15;
220 Pos
= 2:XSize
-5,2:YSize
-5;
225 Items
== Random
{ MinPrice
= 50; MaxPrice
= 500; Category
= BODY_ARMOR
; }
230 Items
== Random
{ MinPrice
= 50; MaxPrice
= 500; Category
= HELMET|CLOAK|BELT|BOOT|GAUNTLET
; }
233 Square
, BoundedRandom
1, 1, 18, 18, NOT_WALKABLE|ATTACHABLE
;
235 OTerrain
= stairs
(STAIRS_UP
);
236 EntryIndex
= STAIRS_UP
;
237 AttachRequired
= true
;
240 Square
, BoundedRandom
141, 1, 158, 18, NOT_WALKABLE|ATTACHABLE
;
242 OTerrain
= stairs
(STAIRS_UP
) { AttachedArea
= 2; }
243 EntryIndex
= STAIRS_UP
+ 1;
244 AttachRequired
= true
;
250 AllowLockedDoors
= true
;
251 AllowBoobyTrappedDoors
= true
;
252 GenerateFountains
= false
;
253 Shape
= ROUND_CORNERS
;
254 WallSquare
= solidterrain
(GROUND
), SAND_STONE earth
;
255 FloorSquare
= solidterrain
(GROUND
), 0;
256 GenerateDoor
= false
;
257 GenerateLanterns
= false
;
258 AltarPossible
= false
;
266 # = SAND_STONE earth;
279 OTerrain
= stairs
(STAIRS_DOWN
) { AttachedArea
= 3; }
280 EntryIndex
= STAIRS_DOWN
;
285 OTerrain
= 0; //k8
: this makes entry
286 AttachRequired
= true
;
293 MonsterAmountBase
= 10;
294 LevelMessage
= "This level seems to be somehow alive. You feel you want to leave it as soon as possible.";
295 FillSquare
= solidterrain
(GROUND
), LIME_STONE earth
;
297 Square
, BoundedRandom
1, 1, 18, 18, NOT_WALKABLE|ATTACHABLE
;
299 OTerrain
= stairs
(STAIRS_DOWN
) { AttachedArea
= 1; AttachedEntry
= STAIRS_UP
+ 1; }
300 EntryIndex
= STAIRS_DOWN
;
301 AttachRequired
= true
;
307 Pos
= 3*XSize
/4:XSize
/4-5,2:YSize
-5;
308 FloorSquare
= solidterrain
(GRASS_TERRAIN
), 0;
309 GenerateFountains
= false
;
310 AltarPossible
= false
;
311 GenerateLanterns
= false
;
312 GenerateDoor
= false
;
316 OTerrain
= stairs
(STAIRS_UP
) { AttachedArea
= WORLD_MAP
; AttachedEntry
= UNDER_WATER_TUNNEL_EXIT
; }
317 EntryIndex
= STAIRS_UP
;
322 GTerrain
= BALSA_WOOD solidterrain
(PARQUET
);
323 OTerrain
= BALSA_WOOD door
;
324 AttachRequired
= true
;
333 c
= carnivorousplant
(GREATER
);
350 LevelMessage
= "The air feels thick and damp, and there are strange crystals sprouting from the ground, emitting soft glows of many colors.";
351 FillSquare
= solidterrain
(DARK_GRASS_TERRAIN
), BASALT earth
;
352 TunnelSquare
= solidterrain
(DARK_GRASS_TERRAIN
), 0;
353 DifficultyBase
= 100;
355 MonsterAmountBase
= 25;
356 MonsterGenerationIntervalBase
= 60;
357 MonsterGenerationIntervalDelta
= 0;
358 ItemMinPriceBase
= 70;
359 ItemMinPriceDelta
= 0;
360 EnchantmentMinusChanceBase
= 0;
361 EnchantmentMinusChanceDelta
= 0;
362 EnchantmentPlusChanceBase
= 40;
363 EnchantmentPlusChanceDelta
= 0;
364 BackGroundType
= BLUE_FRACTAL
;
369 Pos
= 2:XSize
-5,2:YSize
-5;
370 GenerateLanterns
= false
;
371 Shape
= ROUND_CORNERS
;
372 WallSquare
= solidterrain
(DARK_GRASS_TERRAIN
), BASALT earth
;
373 FloorSquare
= solidterrain
(DARK_GRASS_TERRAIN
), 0;
374 DoorSquare
= solidterrain
(DARK_GRASS_TERRAIN
), 0;
375 AltarPossible
= false
;
380 Square
, Random IN_ROOM|HAS_NO_OTERRAIN
;
382 OTerrain
= stairs
(STAIRS_UP
) { AttachedArea
= 1; }
383 EntryIndex
= STAIRS_UP
;
386 /*Square, Random IN_ROOM|HAS_NO_OTERRAIN;
388 OTerrain = stairs(STAIRS_DOWN);
389 EntryIndex = STAIRS_DOWN;
395 DivineMaster
= TERRA
;
397 Square
, Random HAS_NO_OTERRAIN
;
399 OTerrain
= BASALT altar
(TERRA
);
403 Square
, Random HAS_NO_OTERRAIN
;
405 OTerrain
= decoration
(SHARD
);
409 Square
, Random NOT_IN_ROOM|HAS_NO_OTERRAIN
;
411 OTerrain
= boulder
(1);
415 Square
, Random NOT_IN_ROOM|HAS_NO_OTERRAIN
;
417 OTerrain
= boulder
(2);
427 Square
, Random IN_ROOM
;
429 Character
= golem
(BLUE_CRYSTAL
);
432 Square
, Random IN_ROOM
;
434 Character
= golem
(PURPLE_CRYSTAL
);
437 Square
, Random IN_ROOM
;
439 Character
= golem
(GREEN_CRYSTAL
);
444 Character
= spider
(LARGE
);
453 LevelMessage
= "The air feels thick and damp, and there are strange crystals sprouting from the ground, emitting soft glows of many colors.";
454 FillSquare
= solidterrain
(DARK_GRASS_TERRAIN
), EXTRA_HARD_BASALT earth
;
455 TunnelSquare
= solidterrain
(DARK_GRASS_TERRAIN
), 0;
456 DifficultyBase
= 100;
458 MonsterAmountBase
= 25;
459 MonsterGenerationIntervalBase
= 60;
460 MonsterGenerationIntervalDelta
= 0;
461 ItemMinPriceBase
= 70;
462 ItemMinPriceDelta
= 0;
463 EnchantmentMinusChanceBase
= 0;
464 EnchantmentMinusChanceDelta
= 0;
465 EnchantmentPlusChanceBase
= 40;
466 EnchantmentPlusChanceDelta
= 0;
467 BackGroundType
= BLUE_FRACTAL
;
472 Pos
= 2:XSize
-5,2:YSize
-5;
473 GenerateLanterns
= false
;
474 Shape
= ROUND_CORNERS
;
475 WallSquare
= solidterrain
(DARK_GRASS_TERRAIN
), EXTRA_HARD_BASALT earth
;
476 FloorSquare
= solidterrain
(DARK_GRASS_TERRAIN
), 0;
477 DoorSquare
= solidterrain
(DARK_GRASS_TERRAIN
), 0;
478 AltarPossible
= false
;
483 Character
= spider
(GIANT
);
487 Square
, Random IN_ROOM|HAS_NO_OTERRAIN|NOT_IN_ROOM
;
489 OTerrain
= stairs
(STAIRS_UP
) { AttachedArea
= 3; }
490 EntryIndex
= STAIRS_UP
;
496 GenerateFountains
= false
;
497 AltarPossible
= false
;
498 Shape
= ROUND_CORNERS
;
502 Items
== SPIDER_SILK bodyarmor
(PLATE_MAIL
);
512 Character
= lobhse
{ Team
= MONSTER_TEAM
; }