Nerf challenges
This commit is contained in:
parent
f6fc9cc357
commit
bb12ee7e98
2 changed files with 14 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
"id": "Roland",
|
"id": "Roland",
|
||||||
"name": "Roland",
|
"name": "Roland",
|
||||||
"prefix": "Roland",
|
"prefix": "Roland",
|
||||||
"version": "2.8.2",
|
"version": "2.8.3",
|
||||||
"badge_colour": "8BE9FD",
|
"badge_colour": "8BE9FD",
|
||||||
"display_name": "Roland",
|
"display_name": "Roland",
|
||||||
"main_file": "src/main.lua",
|
"main_file": "src/main.lua",
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,12 @@ SMODS.Challenge {
|
||||||
pronouns = "she_them",
|
pronouns = "she_them",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
local starting_jokers = f(5):map(f().const {id = "j_joker"}):table()
|
||||||
|
|
||||||
SMODS.Challenge {
|
SMODS.Challenge {
|
||||||
key = "Eternally_Amber",
|
key = "Eternally_Amber",
|
||||||
rules = {custom = {{id = "Roland_Eternally_Amber"}, {id = "Roland_Showdown_Amber"}}},
|
rules = {custom = {{id = "Roland_Eternally_Amber"}, {id = "Roland_Showdown_Amber"}}},
|
||||||
|
jokers = starting_jokers,
|
||||||
restrictions = amber,
|
restrictions = amber,
|
||||||
pronouns = "they_them",
|
pronouns = "they_them",
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
|
|
@ -132,6 +135,7 @@ SMODS.Challenge {
|
||||||
SMODS.Challenge {
|
SMODS.Challenge {
|
||||||
key = "Eternally_Cerulean",
|
key = "Eternally_Cerulean",
|
||||||
rules = {custom = {{id = "Roland_Eternally_Cerulean"}, {id = "Roland_Showdown_Cerulean"}}},
|
rules = {custom = {{id = "Roland_Eternally_Cerulean"}, {id = "Roland_Showdown_Cerulean"}}},
|
||||||
|
jokers = starting_jokers,
|
||||||
restrictions = cerulean,
|
restrictions = cerulean,
|
||||||
pronouns = "she_her",
|
pronouns = "she_her",
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
|
|
@ -158,6 +162,7 @@ SMODS.Challenge {
|
||||||
SMODS.Challenge {
|
SMODS.Challenge {
|
||||||
key = "Eternally_Crimson",
|
key = "Eternally_Crimson",
|
||||||
rules = {custom = {{id = "Roland_Eternally_Crimson"}, {id = "Roland_Showdown_Crimson"}}},
|
rules = {custom = {{id = "Roland_Eternally_Crimson"}, {id = "Roland_Showdown_Crimson"}}},
|
||||||
|
jokers = starting_jokers,
|
||||||
restrictions = crimson,
|
restrictions = crimson,
|
||||||
pronouns = "she_her",
|
pronouns = "she_her",
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
|
|
@ -218,6 +223,7 @@ SMODS.Challenge {
|
||||||
SMODS.Challenge {
|
SMODS.Challenge {
|
||||||
key = "Eternally_Verdant",
|
key = "Eternally_Verdant",
|
||||||
rules = {custom = {{id = "Roland_Eternally_Verdant"}, {id = "Roland_Showdown_Verdant"}}},
|
rules = {custom = {{id = "Roland_Eternally_Verdant"}, {id = "Roland_Showdown_Verdant"}}},
|
||||||
|
jokers = starting_jokers,
|
||||||
restrictions = verdant,
|
restrictions = verdant,
|
||||||
pronouns = "she_her",
|
pronouns = "she_her",
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
|
|
@ -240,13 +246,17 @@ SMODS.Challenge {
|
||||||
SMODS.Challenge {
|
SMODS.Challenge {
|
||||||
key = "Eternally_Violet",
|
key = "Eternally_Violet",
|
||||||
rules = {custom = {{id = "Roland_Eternally_Violet"}, {id = "Roland_Showdown_Violet"}}},
|
rules = {custom = {{id = "Roland_Eternally_Violet"}, {id = "Roland_Showdown_Violet"}}},
|
||||||
|
jokers = starting_jokers,
|
||||||
restrictions = violet,
|
restrictions = violet,
|
||||||
pronouns = "she_they",
|
pronouns = "she_they",
|
||||||
calculate = function(_, context)
|
calculate = function(_, context)
|
||||||
if context.setting_blind then
|
if not context.setting_blind then
|
||||||
G.GAME.blind.chips = G.GAME.blind.chips * 6
|
return
|
||||||
G.GAME.blind.chip_text = number_format(G.GAME.blind.chips)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local mult = G.GAME.blind.mult < 6 and G.GAME.blind.mult or 1
|
||||||
|
G.GAME.blind.chips = G.GAME.blind.chips * 6 / mult
|
||||||
|
G.GAME.blind.chip_text = number_format(G.GAME.blind.chips)
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue