RoundsWithViewers
Adds new Twitch integrations to ROUNDS!
Last updated | 2 years ago |
Total downloads | 47540 |
Total rating | 1 |
Categories | Gameplay |
Dependency string | willis81808-RoundsWithViewers-0.0.5 |
Dependants | 7 other packages depend on this package |
This mod requires the following mods to function
Pykess-ModdingUtils
Utilities aimed at making modding easier and more accessible
Preferred version: 0.3.2willis81808-UnboundLib
This is a helpful utility for ROUNDS modders aimed at simplifying common tasks.
Preferred version: 3.1.0README
Rounds With Viewers
Adds some new Twitch integrations to ROUNDS!
By default you'll get:
- Automatic polls when selecting a card, letting viewers pick for you.
- Uses native Twitch polls for card draws of 5 or less, and chat-based polls for larger hands
- Poll length and bit voting can be configured
- Three Channel Point rewards (also can be triggered by bits!):
- Table Flip
- Mass Curse
- Shuffle Map
Modding API
You can easily create your own Channel Point Rewards using the RWV API.
Creating a custom Channel Point Reward
class TestReward: TwitchReward
{
public override string GetTitle() => "Your Cool Reward";
public override string GetPrompt() => "A super cool test reward for cool kids only";
public override Color GetColor() => Color.red;
public override IEnumerator OnRedeem()
{
yield return base.OnRedeem();
Debug.Log($"A viewer redeemed {GetTitle()}!")
}
}
Registering your custom reward with RWV:
void Start()
{
RWV.RegisterReward<TestReward>();
}