-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathenemies.py
More file actions
88 lines (78 loc) · 2.76 KB
/
Copy pathenemies.py
File metadata and controls
88 lines (78 loc) · 2.76 KB
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
import random
import moves
# TODO: drops items
class Enemy:
def __init__(self, adjective, name, description, speed, health, enemy_moves):
self.adjective = adjective
self.name = name
self.description = description
self.speed = speed
self.health = health
self.enemy_moves = enemy_moves
# Minibosses
dimensional_shambler = Enemy(
adjective="A twisted",
name="Dimensional Shambler",
description="Its body is twisted and ape-like, with wrinkled skin and sharp teeth. Its eyes see more than you care to think of.",
speed=random.randint(30, 60),
health=75,
enemy_moves=[moves.claw, moves.tear, moves.unsettling_gaze, moves.hypnotic_gaze]
)
hunting_horror = Enemy(
adjective="A snakelike",
name="Hunting Horror",
description="Its body is snakelike, and its head is malformed. Its strange form is ever-changing.",
speed=random.randint(50, 75),
health=75,
enemy_moves=[moves.bite, moves.snap, moves.mutilate, moves.dread_aura]
)
flying_polyp = Enemy(
adjective="A colossal, terrifying",
name="Flying Polyp",
description="An ancient alien entity, momentarily disappearing from sight every now and again as it angrily approaches you.",
speed=random.randint(30, 60),
health=80,
enemy_moves=[moves.cosmic_wind, moves.tentacle_swipe, moves.foul_affliction, moves.unnerving_aura]
)
shoggoth = Enemy(
adjective="A wandering",
name="Shoggoth",
description="A terrifying protoplasmic mass, an ancient servant of masters long forgotten.",
speed=random.randint(1, 50),
health=100,
enemy_moves=[moves.strangle, moves.pummel, moves.engulf, moves.unsettling_gaze]
)
moon_beast = Enemy(
adjective="A pale, toad-like",
name="Moon-Beast",
description="A foul stench emanates from this being.",
speed=random.randint(1, 100),
health=80,
enemy_moves=[moves.claw, moves.slash, moves.eviscerate, moves.horrific_wail]
)
# Boss
boss = Enemy(
adjective="You are stricken with hopelessness. The unspeakable",
name="Servant of The Nameless Mist",
description="A being of immense and terrifying power.",
speed=200,
health=125,
enemy_moves=[moves.curse_of_the_stars, moves.eldritch_fire, moves.cursed_blow, moves.cosmic_vampirism, moves.gaze_of_the_abyss]
)
# Regular Enemies
lesser_spawn = Enemy(
adjective="A malformed and hideous",
name="Lesser Spawn",
description="Its form is twisted and frail; it appears quite weak.",
speed=random.randint(1, 20),
health=50,
enemy_moves=[moves.weak_slash, moves.punch]
)
golem = Enemy(
adjective="A human-sized",
name="Clay Golem",
description="A long-abandoned construct of rogue cultists.",
speed=random.randint(1, 50),
health=50,
enemy_moves=[moves.smash, moves.stomp]
)