Battle-Brothers-Legends / Legends-Bugs

Public bug tracker for Legends mod
37 stars 2 forks source link

Replace the player_plays_dice_event with a new remembering game event. #70

Closed Darxo closed 2 years ago

Darxo commented 3 years ago

Is your feature request related to a problem? Please describe. The gambling event where you roll dices repeatedly against one of your gambler brothers is a very boring and annoying event. The chances to win are always the same as to lose so its a zero-sum game. The only "decision" you have here is if you want to invest ~50 gold to improve the mood of your gambler a little bit.

Code from the scripts\events\events\player_plays_dice_event.nut:

[...]
    _event.m.Gambler.improveMood(1.0, "Has played a game of dice with you");
    _event.m.PlayerDice = this.Math.rand(3, 18);
    _event.m.GamblerDice = this.Math.rand(3, 18);

    if (_event.m.PlayerDice == _event.m.GamblerDice)
    {
        return "D";
    }
    else if (_event.m.PlayerDice > _event.m.GamblerDice)
    {
        return "C";
    }
    else
    {
        return "B";
    }
[...]

Describe the solution you'd like Replace the current Dice-Roll Event with a new skill-based remembering game. The Bet: 150 Crowns + (50 Crowns * Level of the chosen gambler)

  1. First the gambler asks you whether you want to play a guessing game with them. But they don't reveal yet what they want to ask you about. If you decline: they get a minor mood debuff

  2. A category is randomly chosen and you are presented one correct and several wrong answers to chose from. Possible Categories: Last town visited, Last contract payment, Size of last enemy encounter

  3. You have to guess/remember the correct answer to this question. If you guessed right: you win and receive the wager in crowns If you guessed wrong: you lose your wager and the gambler gets a major mood buff

Additional context This rework is a skill-based replacement that also introduces the additional option of "purposely" losing to give your gambler a big mood buff if you need that more than the crowns. Having different categories is nice to have but not at all important. Especially for a first proof of concept/draft of this rework just one category is enough. A small extra detail can be to make sure the chosen gambler actually witnessed that information since the time they joined your party. So if you have not yet fought or completed a contract in the time they joined the group they can't possibly know this information themselves and won't ask about this.

Enduriel commented 3 years ago

Pretty cool suggestion to improve the event tbh