Skip to content

Commit 0639588

Browse files
committed
Merge branch 'develop'
2 parents 2292dfe + cc75d67 commit 0639588

File tree

7 files changed

+98
-92
lines changed

7 files changed

+98
-92
lines changed

.eslintrc.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@
99
"jquery": true,
1010
"amd": true
1111
},
12-
"extends": ["eslint:recommended", "plugin:lodash/recommended", "prettier"],
12+
"extends": ["eslint:recommended", "plugin:lodash/v3", "prettier"],
1313
"globals": {
14-
"api": "readonly",
1514
"model": "readonly",
16-
"_": "readonly",
17-
"loc": "readonly",
18-
"ko": "readonly"
15+
"_": "readonly"
1916
},
2017
"plugins": ["lodash"],
2118
"rules": {
22-
"lodash/prefer-lodash-method": 0
19+
"lodash/prefer-lodash-method": 0,
20+
"no-inner-declarations": 0,
21+
"curly": [2, "all"]
2322
}
2423
}

.prettierrc.json

Whitespace-only changes.

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.3.1 - 2022-08-08
4+
5+
- Fixed mod icon
6+
37
## v1.3 - 2021-01-28
48

59
- New sentences

images/icon.png

11.3 KB
Loading

modinfo.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"display_name": "Excuses For Days",
55
"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, you can make sure that they know you didn't really lose. In the unlikely event that you're defeated this mod will automatically post to chat the real reason for your loss.",
66
"author": "Quitch",
7-
"version": "1.3",
7+
"version": "1.3.1",
88
"build": "115482",
9-
"date": "2021/01/28",
9+
"date": "2021/08/08",
1010
"signature": " ",
1111
"forum": "https://steamcommunity.com/app/386070/discussions/0/3190238550311196510/",
12-
"icon": "https://i.imgur.com/2CEiQqn.png",
12+
"icon": "https://raw.githubusercontent.com/Quitch/Excuses-For-Days/develop/images/icon.png",
1313
"category": ["ui", "classic", "titans"],
1414
"priority": 100,
1515
"scenes": {

sonar-project.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sonar.projectKey=Quitch_Excuses-For-Days
2+
sonar.organization=quitch
3+
sonar.projectVersion=1.3.1

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

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -4,90 +4,90 @@ if (!excusesForDaysLoaded) {
44
excusesForDaysLoaded = true;
55

66
try {
7-
var perfectlyValidReasonsForLosing = [
8-
"my mouse stopped working",
9-
"a bird flew into my room and distracted me",
10-
"my kybord nt wrking",
11-
"laaaaaaaaaaaaaaag",
12-
"I was playing with my feet",
13-
"my dad had me take out the trash",
14-
"i was trying a new strat",
15-
"I was using pole lock that's why I lost",
16-
"i forgot to turn my screen on",
17-
"i'd have won if i tried",
18-
"The CSGs were too big and distracting",
19-
"Someone started launching fireworks outside my window",
20-
"PA Academy told me this was a good strat",
21-
"My icons didn't load in",
22-
"Sun too bright",
23-
"Why was my commander there?",
24-
"You rushed me",
25-
"I won that game",
26-
"I wasn't ready",
27-
"thanks, I have to go",
28-
"Ai taught me to play wrong",
29-
"no metal icons",
30-
"UI froze",
31-
"mouse started jumping",
32-
"mouse ran out of batteries",
33-
"micro freezes",
34-
"that one fight won you the game",
35-
"lucky airfabs",
36-
"keyboard broke",
37-
"bad spawn",
38-
"i'd have won if i hadn't lost",
39-
"I don't use OP units",
40-
"I'm still warming up",
41-
"You're lucky I'm rusty",
42-
"bad map",
43-
"wrong keyboard on",
44-
"i haven't played for weeks",
45-
"i underestimated you, no offense",
46-
"this new meta is so low skill anyone can win",
47-
"hotbuild not working, cant play",
48-
"i am not playing serious",
49-
"audio was stuttering, annoying to play only by vision",
50-
"jittering connection, rip my ISP - gg lol",
51-
"My faulty self-made mod sabotaged literally every build-queue. forgot to disable",
52-
"i was eating so had to play with one hand",
53-
"i shouldn't play GW right before doing 1v1",
54-
"there was a hair at my mouse sensor stucking",
55-
"playing with touchpad",
56-
"mobile internet",
57-
"did you unpause?",
58-
"a friend was playing on my computer, thought he was decent",
59-
"i had a fire in my house... you cant make that up",
60-
"I guess I need to try now",
61-
"I beat myself",
62-
"can't be bothered",
63-
"too much meme",
64-
"was not looking",
65-
"you are so luck",
66-
"my baby was crying",
67-
"you only won because you expanded",
68-
"i was just practicing my micro, next time i'll try",
69-
"unit pathfinding so bad",
70-
"fell asleep for a few seconds, i should probably go to bed",
71-
"my little brother unplugged my graphics card",
72-
"the light in my room exploded",
73-
"can't play with cold hands",
74-
"was too busy admiring the art style, next game i'll try",
75-
"my cat knocked over my monitor",
76-
"i was going easy",
77-
"first time playing with new mouse",
78-
"my production is glitched and won't switch to infinite build",
79-
"accidentally unpowered all my production",
80-
"i had to alt tab so it looked like i was studying",
81-
"you had better upgrades",
82-
"a giant spider crawled onto my monitor and blocked my eco display",
83-
"i guess playing keyboard only was a bit too demanding",
84-
"my right mouse button is stuck",
85-
];
86-
87-
var message = _.sample(perfectlyValidReasonsForLosing);
88-
897
model.defeated.subscribe(function () {
90-
model.send_message("chat_message", { message: message });
8+
var excuses = [
9+
"my mouse stopped working",
10+
"a bird flew into my room and distracted me",
11+
"my kybord nt wrking",
12+
"laaaaaaaaaaaaaaag",
13+
"I was playing with my feet",
14+
"my dad had me take out the trash",
15+
"i was trying a new strat",
16+
"I was using pole lock that's why I lost",
17+
"i forgot to turn my screen on",
18+
"i'd have won if i tried",
19+
"The CSGs were too big and distracting",
20+
"Someone started launching fireworks outside my window",
21+
"PA Academy told me this was a good strat",
22+
"My icons didn't load in",
23+
"Sun too bright",
24+
"Why was my commander there?",
25+
"You rushed me",
26+
"I won that game",
27+
"I wasn't ready",
28+
"thanks, I have to go",
29+
"Ai taught me to play wrong",
30+
"no metal icons",
31+
"UI froze",
32+
"mouse started jumping",
33+
"mouse ran out of batteries",
34+
"micro freezes",
35+
"that one fight won you the game",
36+
"lucky airfabs",
37+
"keyboard broke",
38+
"bad spawn",
39+
"i'd have won if i hadn't lost",
40+
"I don't use OP units",
41+
"I'm still warming up",
42+
"You're lucky I'm rusty",
43+
"bad map",
44+
"wrong keyboard on",
45+
"i haven't played for weeks",
46+
"i underestimated you, no offense",
47+
"this new meta is so low skill anyone can win",
48+
"hotbuild not working, cant play",
49+
"i am not playing serious",
50+
"audio was stuttering, annoying to play only by vision",
51+
"jittering connection, rip my ISP - gg lol",
52+
"My faulty self-made mod sabotaged literally every build-queue. forgot to disable",
53+
"i was eating so had to play with one hand",
54+
"i shouldn't play GW right before doing 1v1",
55+
"there was a hair at my mouse sensor stucking",
56+
"playing with touchpad",
57+
"mobile internet",
58+
"did you unpause?",
59+
"a friend was playing on my computer, thought he was decent",
60+
"i had a fire in my house... you cant make that up",
61+
"I guess I need to try now",
62+
"I beat myself",
63+
"can't be bothered",
64+
"too much meme",
65+
"was not looking",
66+
"you are so luck",
67+
"my baby was crying",
68+
"you only won because you expanded",
69+
"i was just practicing my micro, next time i'll try",
70+
"unit pathfinding so bad",
71+
"fell asleep for a few seconds, i should probably go to bed",
72+
"my little brother unplugged my graphics card",
73+
"the light in my room exploded",
74+
"can't play with cold hands",
75+
"was too busy admiring the art style, next game i'll try",
76+
"my cat knocked over my monitor",
77+
"i was going easy",
78+
"first time playing with new mouse",
79+
"my production is glitched and won't switch to infinite build",
80+
"accidentally unpowered all my production",
81+
"i had to alt tab so it looked like i was studying",
82+
"you had better upgrades",
83+
"a giant spider crawled onto my monitor and blocked my eco display",
84+
"i guess playing keyboard only was a bit too demanding",
85+
"my right mouse button is stuck",
86+
];
87+
88+
model.send_message("chat_message", {
89+
message: _.sample(excuses),
90+
});
9191
});
9292
} catch (e) {
9393
console.error(e);

0 commit comments

Comments
 (0)