Skip to content

Commit 7e6d0c2

Browse files
committed
Merge branch 'release-1.1'
2 parents 7f9903c + 35158be commit 7e6d0c2

File tree

4 files changed

+53
-27
lines changed

4 files changed

+53
-27
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## v1.1 - 2020-09-07
4+
5+
- Added more perfectly valid reasons for you losing
6+
37
## v1.0 - 2020-08-24
48

59
- Initial release

modinfo.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
"context": "client",
33
"identifier": "com.quitch.excusesForDays",
44
"display_name": "Excuses For Days",
5-
"description": "You've never lost a game, not really, just sometimes something goes wrong and your opponent doesn't know it. Now, like the best Uber players, make sure they know you didn't really lose. This mod will automatically post to chat the real reason for your loss, in the unlikely event that you're defeated. Probably by lag.",
5+
"description": "You've never lost a game, not really, it's just that sometimes something goes wrong and your opponent doesn't know it. Now, like the best Uber players, make sure they know you didn't really lose. In the unlikely even that you're defeated this mod will automatically post to chat the real reason for your loss.",
66
"author": "Quitch",
7-
"version": "1.0",
8-
"build": "114823",
9-
"date": "2020/08/24",
7+
"version": "1.1",
8+
"build": "114880",
9+
"date": "2020/09/07",
1010
"signature": " ",
1111
"forum": "https://forums.planetaryannihilation.com/threads/client-excuses-for-days.73504/",
1212
"icon": "https://i.imgur.com/2CEiQqn.png",
1313
"category": ["ui", "classic", "titans"],
1414
"priority": 100,
1515
"scenes": {
16-
"live_game": ["coui://ui/mods/com.quitch.excusesForDays/chat.js"]
16+
"live_game": ["coui://ui/mods/com.quitch.excusesForDays/excuses.js"]
1717
}
1818
}

ui/mods/com.quitch.excusesForDays/chat.js

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
var perfectlyValidReasonsForLosing = [
2+
"my mouse stopped working",
3+
"a bird flew into my room and distracted me",
4+
"my kybord nt wrking",
5+
"laaaaaaaaaaaaaaag",
6+
"I was playing with my feet",
7+
"my dad had me take out the trash",
8+
"i was trying a new strat",
9+
"I was using pole lock that's why I lost",
10+
"i forgot to turn my screen on",
11+
"i'd have won if i tried",
12+
"The CSGs were too big and distracting",
13+
"Someone started launching fireworks outside my window",
14+
"PA Academy told me this was a good strat",
15+
"My icons didn't load in",
16+
"Sun too bright",
17+
"Why was my commander there?",
18+
"You rushed me",
19+
"I won that game",
20+
"I wasn't ready",
21+
"thanks, I have to go",
22+
"Ai taught me to play wrong",
23+
"no metal icons",
24+
"UI froze",
25+
"mouse started jumping",
26+
"mouse ran out of batteries",
27+
"micro freezes ",
28+
"that one fight won you the game",
29+
"lucky airfabs",
30+
"keyboard broke",
31+
"bad spawn",
32+
"i'd have won if i hadn't lost",
33+
"I don't use OP units",
34+
"I'm still warming up",
35+
"You're lucky I'm rusty",
36+
"bad map",
37+
"wrong keyboard on",
38+
];
39+
40+
var message = _.sample(perfectlyValidReasonsForLosing);
41+
42+
model.defeated.subscribe(function () {
43+
model.send_message("chat_message", { message: message });
44+
});

0 commit comments

Comments
 (0)