From 38f60f6dca27f4be9bdae038bce655663961f69b Mon Sep 17 00:00:00 2001 From: luk3yx Date: Sat, 2 Jul 2022 10:56:02 +1200 Subject: Update wild.py --- wild.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'wild.py') diff --git a/wild.py b/wild.py index bb46a1c..3fc9540 100644 --- a/wild.py +++ b/wild.py @@ -41,7 +41,7 @@ class WildThing: def choice1(self, i): if i == 1: return 'You ran away from the wild {}!' - return False, 'You \2trip over\2 a wild \2' + random.choice(('chair', + return False, 'You \2trip over\2 a \2' + random.choice(('chair', 'blade of grass', 'knife', 'rake', 'fire hydrant', 'van door')) \ + '\2, and the wild {} wins!' @@ -147,6 +147,22 @@ class WildComma(WildThing): return False, 'After a long day of consideration, you give up and' \ ' allow the wild {} to win!' +@CustomWildThing('Andrew') +class WildAndrew(WildThing): + options2 = ("hijack Andrew's WeeChat session",) + options3 = ('rickroll',) + def choice2(self, i): + if i > 3: + return "You successfully hijack the wild {}'s WeeChat session!" + return False, ('The wild {} decided to return while you were ' + 'attempting to hijack their WeeChat session!') + + def choice3(self, i): + if i > 3: + return 'You catch the wild {} off-guard and rickroll them!' + return 'The wild {} decides that they are \2never gonna give you up\2!' + + data = {} @register_command('wild') def wild_cmd(irc, hostmask, is_admin, args): -- cgit v1.2.3