Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Global" as an optional property: Expanded #141

Open
JoanJuan10 opened this issue Mar 22, 2024 · 2 comments
Open

"Global" as an optional property: Expanded #141

JoanJuan10 opened this issue Mar 22, 2024 · 2 comments
Labels
feature New feature or request

Comments

@JoanJuan10
Copy link

Is your feature request related to a problem? Please describe.
It is not related to a problem currently in the game

Describe the solution you'd like
I have been developing a homebrew script which has a book that can be given to any player and it would require a custom "card signal" to send a message to the players having the book, similar to how Lil'Monsta can be held by any minion.

I would request for this parameter to be a list of strings instead of only one option so I can enable this for more alignments.

Describe alternatives you've considered
I have an alternative but it requires me to create repetitive JSON structure that does not fit nicely with the script:

"special": [
      {
        "type": "signal",
        "name": "card",
        "value": "Tienes una Death Note. ¿Escribes a alguien?",
        "global": "townsfolk"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Tienes una Death Note. ¿Escribes a alguien? ",
        "global": "outsider"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Tienes una Death Note. ¿Escribes a alguien?  ",
        "global": "minion"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Tienes una Death Note. ¿Escribes a alguien?   ",
        "global": "demon"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Tienes una Death Note. ¿Escribes a alguien?     ",
        "global": "traveler"
      },

      {
        "type": "signal",
        "name": "card",
        "value": "Debes pasarle la Death Note a alguien. ¿Quien?",
        "global": "townsfolk"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Debes pasarle la Death Note a alguien. ¿Quien? ",
        "global": "outsider"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Debes pasarle la Death Note a alguien. ¿Quien?  ",
        "global": "minion"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Debes pasarle la Death Note a alguien. ¿Quien?   ",
        "global": "demon"
      },
      {
        "type": "signal",
        "name": "card",
        "value": "Debes pasarle la Death Note a alguien. ¿Quien?    ",
        "global": "traveler"
      }
    ]

Explanation: Those are 2 questions in spanish that could be asked to any player. For it to work some spaces at the end have to be added so the system recognises them as different card signals instead of it being the same one and thus creating a bug where only the last one remains.

Additional context
Here is the final result:

As a Townsfolk:
image

As a Minion:
image

@JoanJuan10 JoanJuan10 added the feature New feature or request label Mar 22, 2024
@bra1n
Copy link
Member

bra1n commented Mar 26, 2024

I guess I could just add a global: "all" property that would allow you to show this card to all players, regardless of current character type. Would that work for you?

@JoanJuan10
Copy link
Author

For this situation it would work nicely. But I was thinking more likely for other possible situations where only some types of roles could access those signals and actions (For example: Only for Townsfolk and Outsiders)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Development

No branches or pull requests

2 participants