Commit graph

34 commits

Author SHA1 Message Date
Pingumask
080296e0aa 3.17.0 2023-11-10 22:57:42 +00:00
MRegnard
34bcbff811
Exile message (#115) 2023-11-10 21:10:37 +00:00
pingumask
c721637d90 Fix linter issues 2023-05-09 17:43:00 +00:00
MRegnard
3e859a8850
Adding the Organ Grinder (#42)
* Adding Organ Grinder's icon

* Adding Organ Grinder's English description

* Adding Organ Grinder's French Description

* Adding Organ Grinder's English Jinxes

* Adding Organ Grinder's French Jinxes

* Correcting a typo

* Correcting a typo

* Adding a new icon

* Temporary change to test presence of new icon

* Adding some texts

They will be useful later

* Adding some texts, useful later

* Adding print in History for hidden vote

* Correcting history's print

* Adding new token for Organ Grinder

* New token for Organ Grinder

* Adding new (boolean) parameter for hidden vote

* Adding a new option in the menue

Without effect for now

* Cancelling previous update

* Adding new option in the menue

For now, without the bad effect

* Test: is the variable "isOrganGrinder" detected?

* The option in the menue can now change a variable

* Updating the saving of vote history

Taking account the possibility of Organ Grinder

* Correcting the previous commit

Deleting an unexpected "locale"

* Testing new way

Because of its folder, this file doesn't have access to the grimoire. I test now to give the boolean "organVote" as a parameter.

* Testing giving "organGrinder" as a parameter

* Testing to find the "grimoire" variable

* Adding a print for debbug

* Deleting the console.log, but adding a new test

* Test to know if the bool variable is seen

* End of test, get back to the normal type

* Test

* Cancelling all changes in Vote.vue

* Trying to access to the grimoire with an import

* Testing again to import grimoire

* Testing to print organGrinder

* Gone back to the first changes

Now, we just have to know where is the grimoire, for the import

* Test for access to the grimoire

* New test to find the grimoire

* Trying to import 'state' instead of 'grimoire'

* maybe the import is useless

* Trying what happens if organGrinder=true

* Trying access to index.js/state without conflict

* Update session.js

* Update session.js

* Update session.js

* Correcting typo

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Update session.js

* Final version of this file

* Updating a sentence in singular

* Correcting Organ Grinder's ability

The Organ Grinder's ability is not active for exiles.

* Hiding the number of votes if Organ Grinder

* Trying new bool, maybe better that "isStoryTeller"

* Update Vote.vue

* Update Vote.vue

* Just for a test

* Update Vote.vue

* It's just for a test

* Cancelling all changes, I'll see it later

* Updating to take account isOrganGrinderVoteMode

* Allowing Story Teller to see history

(even if there is an Organ Grinder)

* Correcting ?:

An "else" condition is necessary.

* Trying to correct the error with new parenthesis

* Hidding the number of hands up during vote

Only for players, and only if there is an Organ Grinder

* Test for hide vote

* Update Player.vue

* Cancelling changes

* Test for icons

* New test to confirm the "v-if" is detected

* New test

* Trying to add the "?"

* Testing adding some new elements to print the "?"

* Finishing the print of "?"

The print wasn't printed for other players before the vote lock.

* Corecting a careless mistake

* Finalising the hidden votes

- Correcting the conditions (the previous ones was for tests
- Changing the colour of "?"

* Adding a new colour

* Removing the previous (and without effect) change

* Adding a new colour
2023-05-09 17:32:02 +00:00
Pingumask
d59cef24d3 storyteller tools 2022-11-06 17:48:18 +01:00
Pingumask
fdb208c03a Localization + French translation 2022-10-27 22:36:19 +02:00
Steffen
300395de08
v2.13.0 (#168)
* add support for custom fabled (closes #110)

* 2.13.0

* show custom fabled first

* add recordVoteHistory & clearVoteHistory to session menu

* Update CHANGELOG.md

* socket part of toggle recordVoteHistory

analogous to isNight

* remove accidental

* Add files via upload

* add custom fabled

* Add option to reduce night animations to save power.

* add fallback icon for fabled

* changelog

* disable all animations now

* linter

* add 'on the block' indicator

- after vote, ST chooses to put onto block / empty block / no change to block
- player menu has add / remove from block
- players are automatically removed from the block when (i) they die (ii) another player is put onto block
- fixed crash on add/remove/etc player mid vote

* hide rounded corners on maximized modals

(barely visible anyway)

* ST always sees vote history

i.e. toggle affects only players

* empty block at night

* avoid clashing with seat icon

* nlc: toggle within session.js

* lint

* minor

* Use proper "Exile" terminology for exile

* Add info about "Banishment"->"Exile" to CHANGELOG

* requested changes

* remove direct ST control of block

* player menu order

* move block/night logic from socket to menu

* minor fix to previous

* on block -> marked

* requested changes

* requested change

Co-authored-by: Steffen <steffen@baumgart.biz>

* fix players being moved or removed during a nomination (closes #164)
add vue linter

* let's try adding a lint error

* linter adjusted

* it's working!

* requested change

record marked player id in session

* feedback implemented
npm audit

* prepare develop branch

* adjust linter config

* revert version bump

* fixes & visuals

* Update CHANGELOG.md

* restore old lint command (fixes #170)

* minor fix default

* show jinxed interactions on character reference modal

* 2.13.0

* changelog

Co-authored-by: nicfreeman1209 <nicfreeman1209@gmail.com>
Co-authored-by: nicfreeman1209 <14160941+nicfreeman1209@users.noreply.github.com>
Co-authored-by: Adrian Irving-Beer <wisq@wisq.net>
Co-authored-by: Andrew Conant <emptierset@gmail.com>
2021-05-15 20:07:54 +02:00
Steffen
f0c09cf497
fix (pre-)vote calculation being off by one if the nominee votes (fixes #131) 2021-03-14 20:41:56 +01:00
Steffen
e3b195d3e2 fix race condition causing audible countdown 2021-01-07 21:42:28 +01:00
Steffen
9c3632e2ae fix list of locked votes showing unlocked votes sometimes 2021-01-06 21:44:56 +01:00
Steffen
ac70021767 show vote results at the end of a vote 2020-12-30 20:39:19 +01:00
Steffen
9b94c2f51d add global audio mute entry to grimoire menu 2020-12-27 20:49:29 +01:00
Steffen
7bf5f69fbc fix voting issues 2020-12-22 11:21:14 +01:00
Steffen
75a90f8f7c preload countdown sound 2020-12-18 21:17:24 +01:00
Steffen
15ced66b42 add vote history 2020-12-06 22:27:52 +01:00
Steffen
dcff59a183 added vote countdown & alert 2020-12-05 22:24:55 +01:00
Steffen
40087a3478 added vote pausing
added half-second voting speeds
2020-12-03 21:09:06 +01:00
Steffen
f69c7a79c2 voting terminology adjusted (closes #66)
highlight currently selected vote option
2020-12-02 22:01:16 +01:00
Steffen
87b484ba57 more lint 2020-09-16 11:43:55 +02:00
Steffen
a370db8dd4 lint 2020-09-16 11:43:18 +02:00
Steffen
1409bea1f3 fixed voting race condition
added session ping
cleaned up vote text
2020-09-16 11:39:36 +02:00
Steffen
ac29310eb4
rewrote vote text to be less confusing (closes #24) 2020-07-03 10:22:42 +02:00
Steffen
b986715ee5
sync votes along with gamestate (fixes #35) 2020-06-30 10:16:56 +02:00
Steffen
2218b10331
made voting clock speed customizable (closes #27) 2020-06-18 10:00:32 +02:00
Steffen
24d6c4c1f2
allow the ST to set a vote 2020-06-16 10:58:36 +02:00
Steffen
539f3c0b76
add list of players that voted YES 2020-06-07 22:22:50 +02:00
Steffen
080b1314ad
fix vote timer (closes #22) 2020-06-07 21:42:07 +02:00
Steffen
a88cb45fb1
Update Vote.vue 2020-06-05 23:59:32 +02:00
Steffen
649cb30fec
fix voting animation 2020-06-04 19:52:56 +02:00
Steffen
3b36c47f8e
added vote locking and styling 2020-06-04 18:23:33 +02:00
Steffen
6a37d17aec
vote timer 2020-06-03 23:04:50 +02:00
Steffen
31b4cd5183
added vote buttons 2020-06-03 22:25:23 +02:00
Steffen
7b5e228318
added vote arrow styling 2020-06-01 12:59:39 +02:00
Steffen
c2d142f169
added vote component 2020-05-31 23:42:08 +02:00