28
28
]
29
29
DEFEAT_SUFFIX = [
30
30
" says: `I'll be back!`" ,
31
- " cries: ' lucky shot!'" ,
31
+ " cries: ... 'a lucky shot!'" ,
32
32
" sighs bitterly." ,
33
33
" dies." ,
34
34
" is rescued." ,
38
38
" is eliminated." ,
39
39
" was aborted. Few lives, matter?" ,
40
40
" ejects." ,
41
- " was confused." ,
42
41
" crew is rescued." ,
43
42
" crew is spaced." ,
44
43
" crew is recycled." ,
45
44
" crew is recovered." ,
45
+ " yells: 'Thy mother mates poorly!'" ,
46
46
" snarls: 'Lucky shot.'" ,
47
47
" laughs: 'You'll not do THAT again!'" ,
48
48
" says nothing." ,
49
- " screams: 'Thy father was a Targ!'" ,
50
- " yells: 'Thy mother is progressive!'" ,
49
+ " screams: 'Thy father is a Targ!'" ,
50
+ " yells: 'Your parents eat bats!'" ,
51
+ " snarls: 'Thy people eat vermin!'" ,
52
+ " yells: 'May you create social disease!'" ,
53
+ " curses: 'Thy fathers spreadeth pox!'" ,
54
+ " yells: 'Your mother is progressive!'" ,
51
55
]
52
56
MISTAKES = [
53
57
"... the crew was not impressed ..." ,
54
58
"... that's going to leave a mark ..." ,
55
59
"... next time, remember to 'carry the 1'? ..." ,
56
60
"... math lives matter ..." ,
57
61
"... that's coming out of your paycheck ..." ,
58
- "... this is not a bumpy car ..." ,
62
+ "... this is not a bumper car ..." ,
59
63
"... life can be tough, that way ..." ,
60
64
"... who ordered THAT take-out ..." ,
61
65
"... random is, what random does ..." ,
62
66
"... you've got their attention ..." ,
67
+ "... next time, just text them ..." ,
63
68
"... how rude!" ,
64
69
"... yes, karma CAN hurt ..." ,
65
70
"... life is but a dream!" ,
66
71
"... game over." ,
67
- "... they will talk about this for years." ,
68
- "... who is going to pay for that ?" ,
72
+ "... they will talk about this one for years." ,
73
+ "... who is going to pay for this ?" ,
69
74
"... galactic insurance premiums skyrocket ..." ,
70
75
"... captain goes down with the starship ..." ,
71
76
"... we'll notify your next-of-kin." ,
@@ -83,15 +88,15 @@ def jibe(noun, prefix, suffix):
83
88
84
89
@staticmethod
85
90
def jibe_damage (noun ):
86
- if random .randint (0 , 100 ) > 25 :
91
+ if random .randrange (0 , 100 ) > 25 :
87
92
return f"{ noun .capitalize ()} damaged. Repairs are underway."
88
- return Quips .jibe (noun . lower () , DAMAGE_PREFIX , DAMAGE_SUFFIX )
93
+ return Quips .jibe (noun , DAMAGE_PREFIX , DAMAGE_SUFFIX )
89
94
90
95
@staticmethod
91
96
def jibe_defeat (noun ):
92
- if random .randint (0 , 100 ) > 25 :
97
+ if random .randrange (0 , 100 ) > 25 :
93
98
return f"Another { noun .lower ()} defeated."
94
- return Quips .jibe (noun . lower () , DEFEAT_PREFIX , DEFEAT_SUFFIX )
99
+ return Quips .jibe (noun , DEFEAT_PREFIX , DEFEAT_SUFFIX )
95
100
96
101
@staticmethod
97
102
def jibe_fatal_mistake ():
0 commit comments