-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme.py
More file actions
88 lines (57 loc) · 3.01 KB
/
Copy paththeme.py
File metadata and controls
88 lines (57 loc) · 3.01 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
# In this file you can change the "theme" of the game
# If you want it to be something else from ducks you can change "duck" "ducks"
# to "swans" or anything you might desire, you can also add an alias for !bang and !befriend
# Pretty much the entirety of the bot's language can be modified to your needs
# Below you can change the animal/object that is being hunted
# make sure not to delete the quotes
ALIAS_DUCK = "Duck"
ALIAS_DUCKS = "Duck"
# Below you may add an alias command for !bang
ALIAS_BANG = "!bang"
# Below you can do the same for !befriend
ALIAS_BEF = "!bef"
# Below you can change the "FLAP FLAP.. etc msg that is sent when a duck spawns. You can use a list and the bot will select a random one each time
## example below:
## ALIAS_FLAP = ["A wild duck spawns", "A wild swan appears", "A black hawk flies"]
ALIAS_FLAP = [
"・゜゜・。 。・゜゜_ø< FLAP FLAP!",
"・゜゜・。 。・゜゜・゜゜・。_ø< FLAP FLAP!"
]
ALIAS_REPOST = "・゜゜・。 。・゜゜_ø< FLAP FLAP!"
# Below you can change how the bot refers to the action of whatever you changed the commands to
# e.g for !bang it was "you shot a duck" or "shoot the duck now"
# You will set a word for present and past tense
ALIAS_BANG_WORD_PRESENT = "shoot"
ALIAS_BANG_WORD_PAST = "shot"
ALIAS_BEF_WORD_PRESENT = "befriend"
ALIAS_BEF_WORD_PAST = "befriended"
# Below you can change several commands like !duckstats !allduckstats etc
ALIAS_DUCKSTATS = "!duckstats"
ALIAS_ALLDUCKSTATS = "!allduckstats"
ALIAS_GOGGLES = "!goggles"
ALIAS_GOGGLES_WORD = "goggles"
# Below you can change the responses of the bot when someone uses !goggles or its alias that you set above
# Note: This changes the entire message and not just replace some words in it
ALIAS_GOGGLES_ATTEMPT_REPLY = "You look through the goggles trying to locate a duck"
ALIAS_GOGGLES_FAIL_REPLY = "The fog is too thick you can't see much"
# in the below message use %s where the "Type !snipe or !dart etc message should go and %s will be replaced by the bot
ALIAS_GOGGLES_SUCCESS_REPLY = "And you manage to find a duck!"
# below type whatever should be said when a duck flies away (or in other terms whatever your object is despawns, if you have flying away enabled)
ALIAS_FLY_AWAY_MSG = "The duck flew away"
# Below you can change how the bot refers to players that use either command
ALIAS_KILLERS = "killers"
ALIAS_FRIENDS = "friends"
# Below you can change how the bot refers to stats in the stat messages replies
ALIAS_SHOTS = "shots"
ALIAS_FRIENDSHIPS = "befriendings"
# And an alias for !killers and !friends:
ALIAS_CMD_KILLERS = "!killers"
ALIAS_CMD_FRIENDS = "!friends"
# In addition to this theme feature you can change the lines in responses.txt
# To match your choice of theme
# Please do not change anything below this line :)
def get_word(cmd):
if cmd == "!bang":
return {"present": ALIAS_BANG_WORD_PRESENT, "past": ALIAS_BANG_WORD_PAST}
else:
return {"present": ALIAS_BEF_WORD_PRESENT, "past": ALIAS_BEF_WORD_PAST}