-
Notifications
You must be signed in to change notification settings - Fork 16
/
ItemKindActor.hs
682 lines (665 loc) · 26 KB
/
ItemKindActor.hs
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
-- Copyright (c) 2008--2011 Andres Loeh, 2010--2015 Mikolaj Konarski
-- This file is a part of the computer game Allure of the Stars
-- and is released under the terms of the GNU Affero General Public License.
-- For license and copyright information, see the file LICENSE.
--
-- | Actor (or rather actor body trunk) definitions.
module Content.ItemKindActor ( actors ) where
import qualified Data.EnumMap.Strict as EM
import Game.LambdaHack.Common.Ability
import Game.LambdaHack.Common.Color
import Game.LambdaHack.Common.Flavour
import Game.LambdaHack.Common.Misc
import Game.LambdaHack.Content.ItemKind
actors :: [ItemKind]
actors =
[warrior, warrior2, warrior3, warrior4, soldier, sniper, civilian, civilian2, civilian3, civilian4, civilian5, eye, fastEye, nose, elbow, torsor, goldenJackal, griffonVulture, skunk, armadillo, gilaMonster, rattlesnake, komodoDragon, hyena, alligator, rhinoceros, beeSwarm, hornetSwarm, thornbush, razorwireFence, electricFence, activeFence, steamFaucet, biogasFaucet, medbotFaucet, surveillanceDrone, shepherdDrone, huntingDrone, homeRobot, wasteRobot, lightRobot, heavyRobot, cleanerRobot]
warrior, warrior2, warrior3, warrior4, soldier, sniper, civilian, civilian2, civilian3, civilian4, civilian5, eye, fastEye, nose, elbow, torsor, goldenJackal, griffonVulture, skunk, armadillo, gilaMonster, rattlesnake, komodoDragon, hyena, alligator, rhinoceros, beeSwarm, hornetSwarm, thornbush, razorwireFence, electricFence, activeFence, steamFaucet, biogasFaucet, medbotFaucet, surveillanceDrone, shepherdDrone, huntingDrone, homeRobot, wasteRobot, lightRobot, heavyRobot, cleanerRobot :: ItemKind
-- * Hunams
warrior = ItemKind
{ isymbol = '@'
, iname = "mercenary" -- modified if in hero faction
, ifreq = [("hero", 100), ("civilian", 100)]
, iflavour = zipPlain [BrBlack] -- modified if in hero faction
, icount = 1
, irarity = [(1, 5)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 80 -- partially from clothes and assumed first aid
-- also possibly from artificial skin
, AddMaxCalm 60, AddSpeed 20
, AddSkills $ EM.fromList [(AbProject, 2), (AbApply, 1)] ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("fist", COrgan), ("foot", COrgan), ("eye 5", COrgan)
, ("sapient brain", COrgan) ]
}
warrior2 = warrior
{ iname = "pilot" }
warrior3 = warrior
{ iname = "engineer" }
warrior4 = warrior
{ iname = "doctor" }
soldier = warrior
{ iname = "soldier"
, ifreq = [("soldier", 100)]
, ikit = ikit warrior ++ [("starting weapon", CEqp)]
}
sniper = warrior
{ iname = "sniper"
, ifreq = [("sniper", 100)]
, ikit = ikit warrior
++ [ ("ring of opportunity sniper", CEqp)
, ("any arrow", CInv), ("any arrow", CInv)
, ("any arrow", CInv), ("any arrow", CInv)
, ("flask", CInv), ("light source", CInv)
, ("light source", CInv), ("light source", CInv) ]
}
civilian = warrior
{ iname = "clerk"
, ifreq = [("civilian", 100)] }
civilian2 = civilian
{ iname = "hairdresser" }
civilian3 = civilian
{ iname = "lawyer" }
civilian4 = civilian
{ iname = "peddler" }
civilian5 = civilian
{ iname = "tax collector" }
-- * Aliens
eye = ItemKind
{ isymbol = 'w'
, iname = "beckoning walker"
, ifreq = [("alien", 100), ("horror", 100), ("mobile alien", 100)]
, iflavour = zipFancy [BrRed]
, icount = 1
, irarity = [(4, 6), (10, 10)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 20, AddMaxCalm 60, AddSpeed 20
, AddSkills $ EM.fromList [(AbProject, 2), (AbApply, 1)] ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Walks with a stately dignity. You read death in the slow beckoning gestures of its revolting upper appendages."
, ikit = [ ("foot", COrgan)
, ("tentacle", COrgan), ("tentacle", COrgan)
, ("tentacle", COrgan)
, ("eye 5", COrgan)
, ("sapient brain", COrgan) ]
}
fastEye = ItemKind
{ isymbol = 'b'
, iname = "crawling biter"
, ifreq = [("alien", 100), ("horror", 100), ("mobile alien", 100)]
, iflavour = zipFancy [BrBlue]
, icount = 1
, irarity = [(4, 3), (10, 10)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 5, AddMaxCalm 60, AddSpeed 30 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "It bites as blindingly fast as it runs. Or rolls? Or crawls? Also, cuts and pierces."
, ikit = [ ("tentacle", COrgan), ("tentacle", COrgan)
, ("tentacle", COrgan), ("tentacle", COrgan)
, ("jaw", COrgan)
, ("eye 4", COrgan), ("speed gland 10", COrgan)
, ("sapient brain", COrgan) ]
}
nose = ItemKind -- depends solely on smell
{ isymbol = 'h'
, iname = "tentacled horror"
, ifreq = [("alien", 100), ("horror", 100), ("mobile alien", 100)]
, iflavour = zipFancy [BrGreen]
, icount = 1
, irarity = [(4, 5), (10, 9)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 30, AddMaxCalm 30, AddSpeed 18
, AddSkills $ EM.fromList [(AbProject, -1), (AbApply, -1)] ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "A blind, slimy mass of clawing, stinging and burning. You'd think it's powerless, but as soon as it touches your trembling body, it's always one step ahead."
, ikit = [ ("nostril", COrgan), ("claw", COrgan)
, ("tentacle", COrgan), ("tentacle", COrgan)
, ("tentacle", COrgan), ("tentacle", COrgan)
, ("thorn", COrgan), ("sting", COrgan)
, ("sapient brain", COrgan) ]
}
elbow = ItemKind
{ isymbol = 's'
, iname = "creepy shooter"
, ifreq = [("alien", 100), ("horror", 100), ("mobile alien", 100)]
, iflavour = zipFancy [BrMagenta]
, icount = 1
, irarity = [(6, 1), (10, 9)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 12, AddMaxCalm 90, AddSpeed 21
, AddSkills
$ EM.fromList [(AbProject, 2), (AbApply, 1), (AbMelee, -1)] ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "It moves in sudden jerks and never makes a noise. Speaks in hard objects hurled at deadly speeds."
, ikit = [ ("speed gland 4", COrgan)
, ("eye 7", COrgan)
, ("any arrow", CInv), ("any arrow", CInv)
, ("any arrow", CInv), ("any arrow", CInv)
, ("sapient brain", COrgan) ]
}
torsor = ItemKind
{ isymbol = 'M'
, iname = "The Maker of Contact"
, ifreq = [("alien", 100)]
, iflavour = zipFancy [BrCyan]
, icount = 1
, irarity = [(11 * 10/12, 0), (10, 1000)] -- unique
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ Unique, AddMaxHP 200, AddMaxCalm 100, AddSpeed 6
, AddSkills $ EM.fromList
[(AbProject, 2), (AbApply, 1), (AbTrigger, -1)] ]
-- can't switch levels, a miniboss
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "The mind, the heart behind it all. Warmth and sympathy pour out through the graceful undulation of tentacles, sharp claws, snapping jaw, grinding teeth and tensing fangs."
, ikit = [ ("tentacle", COrgan), ("claw", COrgan), ("large jaw", COrgan)
, ("venom tooth", COrgan), ("venom fang", COrgan)
, ("eye 5", COrgan), ("speed gland 4", COrgan)
, ("gem", CInv), ("gem", CInv), ("gem", CInv), ("gem", CInv)
, ("sapient brain", COrgan) ]
}
-- * Animals
-- They need rather strong melee, because they don't use items.
-- Unless/until they level up.
goldenJackal = ItemKind -- basically a much smaller and slower hyena
{ isymbol = 'j'
, iname = "golden jackal"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100), ("scavenger", 50)]
, iflavour = zipPlain [BrYellow]
, icount = 1
, irarity = [(1, 5)]
, iverbHit = "thud"
, iweight = 13000
, iaspects = [ AddMaxHP 12, AddMaxCalm 60, AddSpeed 22 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("small jaw", COrgan), ("eye 5", COrgan), ("nostril", COrgan)
, ("animal brain", COrgan) ]
}
griffonVulture = ItemKind
{ isymbol = 'v'
, iname = "griffon vulture"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100), ("scavenger", 30)]
, iflavour = zipPlain [BrYellow]
, icount = 1
, irarity = [(1, 5)]
, iverbHit = "thud"
, iweight = 13000
, iaspects = [ AddMaxHP 12, AddMaxCalm 60, AddSpeed 20
, AddSkills $ EM.singleton AbAlter (-1) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("screeching beak", COrgan) -- in reality it grunts and hisses
, ("claw", COrgan), ("eye 6", COrgan)
, ("animal brain", COrgan) ]
}
skunk = ItemKind
{ isymbol = 's'
, iname = "hog-nosed skunk"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100)]
, iflavour = zipPlain [White]
, icount = 1
, irarity = [(1, 5), (10, 3)]
, iverbHit = "thud"
, iweight = 4000
, iaspects = [ AddMaxHP 10, AddMaxCalm 30, AddSpeed 20
, AddSkills $ EM.singleton AbAlter (-1) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("scent gland", COrgan)
, ("small claw", COrgan), ("snout", COrgan)
, ("nostril", COrgan), ("eye 2", COrgan)
, ("animal brain", COrgan) ]
}
armadillo = ItemKind
{ isymbol = 'a'
, iname = "giant armadillo"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100)]
, iflavour = zipPlain [Brown]
, icount = 1
, irarity = [(1, 5)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 30, AddMaxCalm 30, AddSpeed 18
, AddSkills $ EM.singleton AbAlter (-1) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("claw", COrgan), ("snout", COrgan), ("armored skin", COrgan)
, ("nostril", COrgan), ("eye 2", COrgan)
, ("animal brain", COrgan) ]
}
gilaMonster = ItemKind
{ isymbol = 'g'
, iname = "Gila monster"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100)]
, iflavour = zipPlain [Magenta]
, icount = 1
, irarity = [(2, 5), (10, 3)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 12, AddMaxCalm 60, AddSpeed 15
, AddSkills $ EM.singleton AbAlter (-1) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("venom tooth", COrgan), ("small claw", COrgan)
, ("eye 5", COrgan), ("nostril", COrgan)
, ("animal brain", COrgan) ]
}
rattlesnake = ItemKind
{ isymbol = 's'
, iname = "rattlesnake"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100)]
, iflavour = zipPlain [Brown]
, icount = 1
, irarity = [(3, 3), (10, 5)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 25, AddMaxCalm 60, AddSpeed 15
, AddSkills $ EM.singleton AbAlter (-1) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("venom fang", COrgan)
, ("eye 5", COrgan), ("nostril", COrgan)
, ("animal brain", COrgan) ]
}
komodoDragon = ItemKind -- bad hearing; regeneration makes it very powerful
{ isymbol = 'k'
, iname = "Komodo dragon"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100)]
, iflavour = zipPlain [Blue]
, icount = 1
, irarity = [(7, 0), (10, 10)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 40, AddMaxCalm 60, AddSpeed 16 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("large tail", COrgan), ("jaw", COrgan), ("claw", COrgan)
, ("speed gland 4", COrgan), ("armored skin", COrgan)
, ("eye 2", COrgan), ("nostril", COrgan)
, ("animal brain", COrgan) ]
}
hyena = ItemKind
{ isymbol = 'h'
, iname = "spotted hyena"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100), ("scavenger", 20)]
, iflavour = zipPlain [BrYellow]
, icount = 1
, irarity = [(4, 1), (10, 8)]
, iverbHit = "thud"
, iweight = 60000
, iaspects = [ AddMaxHP 20, AddMaxCalm 60, AddSpeed 30 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("jaw", COrgan), ("eye 5", COrgan), ("nostril", COrgan)
, ("animal brain", COrgan) ]
}
alligator = ItemKind
{ isymbol = 'a'
, iname = "alligator"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100)]
, iflavour = zipPlain [Blue]
, icount = 1
, irarity = [(6, 1), (10, 9)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 40, AddMaxCalm 60, AddSpeed 17 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("large jaw", COrgan), ("large tail", COrgan)
, ("small claw", COrgan)
, ("armored skin", COrgan), ("eye 5", COrgan)
, ("animal brain", COrgan) ]
}
rhinoceros = ItemKind
{ isymbol = 'R'
, iname = "The Maddened Rhinoceros"
, ifreq = [("animal", 100)]
, iflavour = zipPlain [Brown]
, icount = 1
, irarity = [(1 * 10/12, 1000), (2 * 10/12, 0)] -- unique
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ Unique, AddMaxHP 70, AddMaxCalm 60, AddSpeed 25
, AddSkills $ EM.singleton AbTrigger (-1) ]
-- can't switch levels, a miniboss
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "The last of its kind. Blind with rage. Charges at deadly speed."
, ikit = [ ("armored skin", COrgan), ("eye 2", COrgan)
, ("horn", COrgan), ("snout", COrgan)
, ("animal brain", COrgan) ]
}
-- * Non-animal animals
beeSwarm = ItemKind
{ isymbol = 'b'
, iname = "bee swarm"
, ifreq = [("animal", 100), ("horror", 100)]
, iflavour = zipPlain [Brown]
, icount = 1
, irarity = [(1, 3), (10, 6)]
, iverbHit = "thud"
, iweight = 1000
, iaspects = [ AddMaxHP 8, AddMaxCalm 60, AddSpeed 30
, AddSkills $ EM.singleton AbAlter (-1) ] -- armor in sting
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("bee sting", COrgan), ("vision 4", COrgan)
, ("insect mortality", COrgan), ("animal brain", COrgan) ]
}
hornetSwarm = ItemKind
{ isymbol = 'h'
, iname = "hornet swarm"
, ifreq = [("animal", 100), ("horror", 100), ("mobile animal", 100)]
, iflavour = zipPlain [Magenta]
, icount = 1
, irarity = [(5, 1), (10, 10)]
, iverbHit = "thud"
, iweight = 1000
, iaspects = [ AddMaxHP 8, AddMaxCalm 60, AddSpeed 30
, AddSkills $ EM.singleton AbAlter (-1)
, AddArmorMelee 80, AddArmorRanged 80 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [ ("sting", COrgan), ("vision 4", COrgan)
, ("insect mortality", COrgan), ("animal brain", COrgan) ]
}
thornbush = ItemKind
{ isymbol = 't'
, iname = "thornbush"
, ifreq = [("animal", 100)]
, iflavour = zipPlain [Brown]
, icount = 1
, irarity = [(1, 3), (10, 1)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 20, AddMaxCalm 999, AddSpeed 20
, AddSkills $ EM.fromList (zip [AbWait, AbMelee] [1, 1..]) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = ""
, ikit = [("thorn", COrgan), ("armored skin", COrgan)]
}
-- * Robots
razorwireFence = ItemKind
{ isymbol = 'f'
, iname = "razorwire fence"
, ifreq = [("robot", 100), ("immobile robot", 100)]
, iflavour = zipPlain [Cyan]
, icount = 1
, irarity = [(3 * 10/12, 0), (4, 3), (10, 1)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 30, AddMaxCalm 999, AddSpeed 20
, AddSkills $ EM.fromList (zip [AbWait, AbMelee] [1, 1..])
, AddArmorMelee 50, AddArmorRanged 50 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Must have been bought by previous ship owners to contain the wild animal infestation."
, ikit = [("razor", COrgan)]
}
electricFence = ItemKind
{ isymbol = 'f'
, iname = "electric fence"
, ifreq = [("robot", 100), ("immobile robot", 100)]
, iflavour = zipPlain [Blue]
, icount = 1
, irarity = [(3 * 10/12, 0), (4, 3), (10, 1)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 10, AddMaxCalm 999, AddSpeed 50
, AddSkills $ EM.fromList (zip [AbWait, AbMelee] [1, 1..])
, AddArmorMelee 50, AddArmorRanged 50 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Marginally intelligent electric shepherd. Originally used in the spaceship's dairy farm and the zoo level."
, ikit = [("live wire", COrgan)]
}
activeFence = ItemKind
{ isymbol = 'f'
, iname = "active fence"
, ifreq = [("robot", 100), ("immobile robot", 100)]
, iflavour = zipPlain [Red]
, icount = 1
, irarity = [(3 * 10/12, 0), (5, 1), (10, 3)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 20, AddMaxCalm 999, AddSpeed 20
, AddSkills $ EM.fromList [(AbWait, 1), (AbProject, 3)]
, AddArmorMelee 50, AddArmorRanged 50 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Makeshift, mostly non-lethal, autonomous perimeter defense outpost."
, ikit = [ ("vision 6", COrgan)
, ("needle", CInv), ("can of sticky foam", CInv) ]
}
steamFaucet = ItemKind
{ isymbol = 'f'
, iname = "steam faucet"
, ifreq = [("robot", 50), ("immobile robot", 100)]
, iflavour = zipPlain [BrWhite]
, icount = 1
, irarity = [(5, 2), (10, 2)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 10, AddMaxCalm 999, AddSpeed 5
, AddSkills $ EM.fromList (zip [AbWait, AbMelee] [1, 1..])
, AddArmorMelee 80, AddArmorRanged 80 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "A cracked valve on one of the superheated water pipes spreading radially outward from the tokamak level."
, ikit = [("boiling vent", COrgan), ("boiling fissure", COrgan)]
}
biogasFaucet = ItemKind
{ isymbol = 'f'
, iname = "biogas faucet"
, ifreq = [("robot", 50), ("immobile robot", 100)]
, iflavour = zipPlain [BrGreen]
, icount = 1
, irarity = [(5, 2), (10, 4)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 20, AddMaxCalm 999, AddSpeed 20, AddLight 3
, AddSkills $ EM.fromList (zip [AbWait, AbMelee] [1, 1..]) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "An emergency pressure-release vent on a liquefied biogas pipe."
, ikit = [("biogas vent", COrgan), ("biogas fissure", COrgan)]
}
medbotFaucet = ItemKind
{ isymbol = 'f'
, iname = "nano medbot faucet"
, ifreq = [("robot", 50), ("immobile robot", 300)]
, iflavour = zipPlain [BrYellow]
, icount = 1
, irarity = [(1, 2), (10, 4)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 20, AddMaxCalm 999, AddSpeed 20, AddLight 3
, AddSkills $ EM.fromList (zip [AbWait, AbMelee] [1, 1..]) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "A faucet of a malfunctioning nano medical robot dispenser. Let's hope the medbots are still effective."
, ikit = [("medbot vent", COrgan), ("medbot fissure", COrgan)]
}
surveillanceDrone = ItemKind
{ isymbol = 'd'
, iname = "surveillance drone"
, ifreq = [("robot", 100), ("horror", 100), ("mobile robot", 100)]
, iflavour = zipPlain [Blue]
, icount = 1
, irarity = [(1, 10)]
, iverbHit = "thud"
, iweight = 1000
, iaspects = [ AddMaxHP 2, AddMaxCalm 90, AddSpeed 30
, AddSkills
$ EM.fromList
$ zip [AbDisplace, AbMoveItem, AbProject, AbMelee] [-1, -1..]
, AddArmorMelee 90, AddArmorRanged 90 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "A video camera in each room would violate privacy of passengers, hence surveillance drones. Programmed to be easy to fend off, they keep a respectful distance."
, ikit = [ ("vision 14", COrgan), ("robot brain", COrgan) ]
}
shepherdDrone = ItemKind
{ isymbol = 'd'
, iname = "shepherd drone"
, ifreq = [("robot", 100), ("horror", 100), ("mobile robot", 100)]
, iflavour = zipPlain [BrRed]
, icount = 1
, irarity = [(1, 7)]
, iverbHit = "thud"
, iweight = 1000
, iaspects = [ AddMaxHP 2, AddMaxCalm 60, AddSpeed 30
, AddSkills
$ EM.fromList
$ zip [AbDisplace, AbMoveItem, AbProject] [-1, -1..]
, AddArmorMelee 90, AddArmorRanged 90 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "A shabby drone for bringing cows home."
, ikit = [ ("eye 4", COrgan), ("live wire", COrgan)
, ("robot brain", COrgan) ]
}
huntingDrone = ItemKind
{ isymbol = 'd'
, iname = "hunting drone"
, ifreq = [("robot", 100), ("horror", 100), ("mobile robot", 100)]
, iflavour = zipPlain [Green]
, icount = 1
, irarity = [(3, 0), (5, 2), (10, 4)]
, iverbHit = "thud"
, iweight = 500
, iaspects = [ AddMaxHP 2, AddMaxCalm 60, AddSpeed 40
, AddSkills
$ EM.fromList
$ zip [AbDisplace, AbMoveItem, AbMelee] [-1, -1..]
, AddArmorMelee 90, AddArmorRanged 90 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Originally designed for hunting down and putting to sleep stray animals. The sleeping agent has long since dried up."
, ikit = [ ("eye 5", COrgan), ("needle", CInv)
, ("robot brain", COrgan) ]
}
homeRobot = ItemKind
{ isymbol = 'r'
, iname = "feral home robot"
-- TODO: name another 'deranged', tertiary imperative: survival
, ifreq = [("robot", 100), ("horror", 100), ("mobile robot", 100)]
, iflavour = zipPlain [Magenta]
, icount = 1
, irarity = [(1, 20), (10, 6)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 10, AddMaxCalm 30, AddSpeed 20
, AddSkills $ EM.singleton AbProject (-1) ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Once a timid household robot, now sufficiently adapted to survive in the deadly environment."
, ikit = [ ("fist", COrgan), ("eye 2", COrgan), ("nostril", COrgan)
, ("robot brain", COrgan) ]
}
wasteRobot = ItemKind
{ isymbol = 'r'
, iname = "waste disposal robot"
, ifreq = [ ("robot", 100), ("horror", 100), ("mobile robot", 100)
, ("construction robot", 1) ]
, iflavour = zipPlain [Green]
, icount = 1
, irarity = [(1, 10), (10, 6)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 15, AddMaxCalm 30, AddSpeed 15 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "You are not in its database, hence you are waste."
, ikit = [ ("jaw", COrgan), ("tentacle", COrgan)
, ("waste container", COrgan), ("armored skin", COrgan)
, ("eye 2", COrgan), ("nostril", COrgan)
, ("robot brain", COrgan) ]
}
lightRobot = ItemKind
{ isymbol = 'r'
, iname = "decoration robot"
, ifreq = [ ("robot", 100), ("horror", 100), ("mobile robot", 100)
, ("construction robot", 1) ]
, iflavour = zipPlain [BrYellow]
, icount = 1
, irarity = [(3, 1), (10, 10)]
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ AddMaxHP 15, AddMaxCalm 60, AddSpeed 30
, AddSkills $ EM.singleton AbProject 2 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Interior and exterior decoration robot. Strongly fancies deep reds recently."
, ikit = [ ("claw", COrgan), ("tentacle", COrgan), ("spotlight", COrgan)
, ("armored skin", COrgan), ("eye 5", COrgan)
, ("robot brain", COrgan) ]
}
heavyRobot = ItemKind
{ isymbol = 'r'
, iname = "construction robot"
, ifreq = [ ("robot", 100), ("horror", 100), ("mobile robot", 100)
, ("construction robot", 100) ]
, iflavour = zipPlain [BrRed]
, icount = 1
, irarity = [(5, 1), (10, 10)]
, iverbHit = "thud"
, iweight = 800000
, iaspects = [ AddMaxHP 40, AddMaxCalm 60, AddSpeed 20
, AddSkills $ EM.singleton AbProject 2 ]
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "Heavy multi-purpose construction robot. Excels at discharging, dismantling and demolition."
, ikit = [ ("large jaw", COrgan), ("small claw", COrgan), ("spotlight", COrgan)
, ("construction hooter", CInv)
, ("armored skin", COrgan), ("eye 5", COrgan)
, ("robot brain", COrgan) ]
}
cleanerRobot = ItemKind
{ isymbol = 'C'
, iname = "The Void Cleaner Robot"
, ifreq = [("robot", 100)]
, iflavour = zipPlain [BrGreen]
, icount = 1
, irarity = [(9 * 10/12, 0), (10 * 10/12, 1000), (11 * 10/12, 0)]
-- unique, appears at 10 of 12
, iverbHit = "thud"
, iweight = 80000
, iaspects = [ Unique, AddMaxHP 80, AddMaxCalm 60, AddSpeed 18
, AddSkills $ EM.singleton AbTrigger (-1) ]
-- can't switch levels, a miniboss
, ieffects = []
, ifeature = [Durable, Identified]
, idesc = "A waste disposal robot repaired with parts from a heavy construction robot, including a scaled up goal matrix. The cosmic void is now the only acceptable model of cleanliness."
, ikit = [ ("waste container", COrgan), ("boiling vent", COrgan)
, ("armored skin", COrgan), ("live wire", COrgan)
, ("jaw", COrgan), ("claw", COrgan)
, ("eye 2", COrgan), ("nostril", COrgan), ("spotlight", COrgan)
, ("currency", CInv), ("currency", CInv), ("currency", CInv)
, ("robot brain", COrgan) ]
}