Commit Graph

2697 Commits

Author SHA1 Message Date
Vgr E. Barry
c0a96d181d Fix !myrole for lovers 2018-05-23 14:34:58 -04:00
skizzerz
9752672dda Sigh... 2018-05-19 21:57:26 -05:00
jacob1
5da3137faf also ensure vote messages are sent to main channel anyway 2018-05-19 22:09:56 -04:00
jacob1
74a654a6c5 fix !lynch working in pm 2018-05-19 22:06:11 -04:00
jacob1
d35012d739 fix !update when game is running 2018-05-14 00:03:32 -04:00
jacob1
8a0919d7c1 fix neutral roles winning when villagers win 2018-05-13 23:56:47 -04:00
Vgr E. Barry
059a06dd5b Fix some things 2018-05-06 01:36:31 -04:00
Vgr E. Barry
6a7b043c3b Properly fix mystic 2018-05-06 01:36:31 -04:00
jacob1
25e0b750bc fix error on game start 2018-05-06 01:36:31 -04:00
Vgr E. Barry
e67b48a37c Properly fix mystic 2018-05-01 23:06:18 -04:00
jacob1
71f7bdfe15 fix error on game start 2018-05-01 20:08:04 -04:00
Ammon Smith
d8763c34a9 Remove hardcoded English for players list. 2018-05-01 15:48:05 -07:00
Ammon Smith
f879bb9de5 Remove hardcoded English for wolves list. 2018-05-01 15:35:57 -07:00
Vgr E. Barry
810d2ba3cc Overhaul succubus (first pass) 2018-05-01 17:47:44 -04:00
Vgr E. Barry
5331cda68f Add comments for generated message keys 2018-05-01 16:33:05 -04:00
Ryan Schmidt
fbba6342c3
Merge pull request #324 from lykoss/mystic-tweaks
Mystic tweaks
2018-05-01 13:13:53 -07:00
Em Barry
d4968751d8
Merge pull request #327 from ammongit/minion-notify
Send "has_minions" message to wolves.
2018-05-01 13:41:04 -04:00
Vgr E. Barry
f9712e026f Properly delete users from UserDict instances 2018-04-30 16:46:06 -04:00
Vgr E. Barry
f78d538146 Fix small issue with multiple shamans 2018-04-30 15:08:50 -04:00
Vgr E. Barry
35bcda40dc Split and convert matchmaker 2018-04-30 14:51:42 -04:00
Ammon Smith
30fe9c09a2 Remove 4p mudkip. 2018-04-29 18:09:08 -07:00
Ammon Smith
b73015affa Send "has_minions" message to wolves. 2018-04-27 15:31:11 -07:00
Vgr E. Barry
95efce5587 Mystic tweaks 2018-04-26 16:08:07 -04:00
Vgr E. Barry
84d25330b2 Make sure village mystic gets all wolfteam members 2018-04-26 16:06:38 -04:00
skizzerz
f77cca1f07 Record gunner as killer if they shoot wolf at night
Caused issues due to killers not being defined. For example, a VG lover
of the shot wolf would join the village team (against wolves) if gunner
shot their wolflover during night. Now it properly sides the VG with
wolves (against village).
2018-04-26 14:21:31 -05:00
Vgr E. Barry
30aaa2c802 Balance fix for exchanging dullahan 2018-04-25 23:15:17 -04:00
Ammon Smith
7d83dc4d8e Allow pipers to pass or change targets (#322)
Also adds some more info to revealroles. Some miscellaneous fixes included.
2018-04-25 23:08:39 -04:00
Vgr E. Barry
1d2ab6a2cc Update mystics and the get_special event to be more fine-grained 2018-04-25 22:48:48 -04:00
Vgr E. Barry
1a459eebf4 Add ability to delete items only if they exist from UserDict 2018-04-25 20:39:57 -04:00
Vgr E. Barry
8b4612847b Remove underscores from files 2018-04-25 19:45:40 -04:00
Ammon Smith
6d0d6f7169 Split time lord (#320)
Split time lord into src/roles/timelord.py
2018-04-25 19:44:24 -04:00
Ryan Schmidt
b86e52de25
Merge pull request #319 from lykoss/split-assassin
Split and convert assassin
2018-04-25 15:53:19 -07:00
Ryan Schmidt
154ee810cf
Merge pull request #321 from lykoss/frole_update
improve frole template handling, don't require underscores
2018-04-25 15:52:26 -07:00
skizzerz
670efe6645 Fix recording role stats 2018-04-25 17:53:10 -05:00
jacob1
ac2b83d36f remove unnecessary check requiring non-admins to be in the game 2018-04-24 22:14:35 -04:00
jacob1
c5036bceac improve frole template handling, don't require underscores 2018-04-24 21:58:10 -04:00
Vgr E. Barry
022da467ec Fix !gamestats display 2018-04-24 16:01:10 -04:00
Vgr E. Barry
a1f17b6d6a Make sure only actual role files are imported 2018-04-24 13:25:16 -04:00
Vgr E. Barry
ecd68d15bf Split and convert assassin 2018-04-24 13:24:38 -04:00
skizzerz
56f2bacd3a Amnesiac fixes and redo stop_game readout logic
- Account for revealing totem + amnesiac in experimental !stats properly
- Fix amnesiac blacklist checks to be consistent with each other
- Remove non-events from villager.py -- these always ran before or after
  all other events, so there was no point in them being events in the
  first place
- stop_game now follows the mainroles/allroles pattern instead of
  roles/templates pattern. This also modifies the data stored in db
  stats, and fixes readouts for cases where we do goofy stuff with
  secondary roles
2018-04-23 23:11:02 -05:00
Vgr E. Barry
1a446205ce Split and convert amnesiac 2018-04-23 20:27:00 -04:00
Vgr E. Barry
38721fd59b Convert and split seer, oracle and augur in three files with a shared helper 2018-04-23 15:15:09 -04:00
Em Barry
745a1dc68a
Convert chk_decision (#317)
Convert chk_decision, chk_nightdone, transition_day, transition_night, doomsayer, mayor, and convert+split shamans in three files with a shared helper. Fixes and updates for the User containers, and some other tweaks and fixes.
2018-04-23 13:25:38 -04:00
Em Barry
42424e49df Add support for CHGHOST (#318)
Add proper support for CHGHOST, and also get rid of some misguided assumptions in the hooks.
2018-04-18 11:16:01 -07:00
Ryan Schmidt
35f3fd67cc
Add investigate as alias for id for investigator 2018-04-17 19:39:53 -07:00
Vgr E. Barry
00291a9a85 Fix broken sleepy event 2018-04-17 19:36:28 -04:00
skizzerz
94cdfc0a55 Redo DISABLE_ACCOUNTS handling
Only check it where absolutely necessary, and ensure in User that we
don't set accounts if we don't support them. This lets us ensure that
account is always None when account support is disabled, which means
that the existing None checks handle that without additional conditions.
2018-04-13 17:09:42 -05:00
Vgr E. Barry
41094a2cbc Properly remove leftover files 2018-04-13 18:03:51 -04:00
Vgr E. Barry
ae4c342bd3 Revert service storing and properly fix /mode handling issue 2018-04-13 18:02:37 -04:00
Vgr E. Barry
33051ae617 Preemptively store services in a dummy channel for get() purposes 2018-04-13 17:31:47 -04:00