Skip to content

Commit 685610f

Browse files
committed
Fix tests
1 parent 129fb82 commit 685610f

File tree

6 files changed

+44
-20
lines changed

6 files changed

+44
-20
lines changed

RLBotCSTests/TestTomls/default.toml

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[rlbot]
22
# use this along with launcher = "custom"
3-
# game_path = "legendary"
4-
# "Steam", "Epic", "Custom"
3+
# launcher_arg = "legendary"
4+
# "Steam", "Epic", "Custom", "NoLaunch"
55
launcher = "steam"
66
# Should RLBot start the bot processes automatically, or will a separate script start them
77
auto_start_bots = true
@@ -31,39 +31,63 @@ freeplay = false
3131
[mutators]
3232
# "FiveMinutes", "TenMinutes", "TwentyMinutes", "Unlimited"
3333
match_length = "FiveMinutes"
34-
# "Default", "OneGoal", "ThreeGoals", "FiveGoals", "Seven Goals", "Unlimited"
35-
max_score = "Default"
34+
# "Unlimited", "OneGoal", "ThreeGoals", "FiveGoals", "SevenGoals", "TenGoals", "TwentyGoals", "ThirtyGoals", "FortyGoals", "FiftyGoals", "SixtyGoals", "SeventyGoals", "EightyGoals", "NinetyGoals", "HundredGoals"
35+
max_score = "Unlimited"
3636
# "One", "Two", "Four", "Six"
3737
multi_ball = "One"
3838
# "Unlimited", "FiveMaxFirstScore", "FiveMaxRandomTeam"
3939
overtime = "Unlimited"
40+
# "Unlimited", "ThreeGames", "FiveGames", "SevenGames"
41+
series_length = "Unlimited"
4042
# "Default", "SloMo", "TimeWarp"
4143
game_speed = "Default"
4244
# "Default", "Slow", "Fast", "SuperFast"
4345
ball_max_speed = "Default"
44-
# "Default", "Cube", "Puck", "Basketball", "Beachball", "Anniversary", "Haunted", "Ekin", "SpookyCube"
46+
# "Default", "Cube", "Puck", "Basketball", "Beachball", "Anniversary", "Haunted", "Ekin", "SpookyCube", "Egg", "PlayerSeeking", "Dropshot", "ScoreAbsorb"
4547
ball_type = "Default"
4648
# "Default", "Light", "Heavy", "SuperLight", "CurveBall", "BeachBallCurve", "MagnusFutBall"
4749
ball_weight = "Default"
4850
# "Default", "Small", "Medium", "Large", "Gigantic"
4951
ball_size = "Default"
50-
# "Default", "Low", "LowishBounciness", "High", "SuperHigh"
52+
# "Default", "Low", "Lowish", "High", "SuperHigh"
5153
ball_bounciness = "Default"
5254
# "NormalBoost", "UnlimitedBoost", "SlowRecharge", "RapidRecharge", "NoBoost"
5355
boost_amount = "NormalBoost"
54-
# "NoRumble", "Default", "Slow", "Civilized", "DestructionDerby", "SpringLoaded", "SpikesOnly", "SpikeRush", "HauntedBallBeam", "Tactical", "BatmanRumble"
55-
rumble = "NoRumble"
56+
# "Off", "Default", "Slow", "Civilized", "DestructionDerby", "SpringLoaded", "SpikesOnly", "SpikeRush", "HauntedBallBeam", "Tactical", "BatmanRumble", "GrapplingOnly", "HaymakerOnly"
57+
rumble = "Off"
5658
# "One", "OneAndAHalf", "Two", "Five", "Ten"
5759
boost_strength = "One"
5860
# "Default", "Low", "High", "SuperHigh", "Reverse"
5961
gravity = "Default"
60-
# "Default", "Disabled", "FriendlyFire", "OnContact", "OnContactFF"
62+
# "Default", "Disabled", "FriendlyFire", "OnContact", "OnContactFF", "OnContactFF", "OnBallContact", or "OnBallContactFF"
6163
demolish = "Default"
62-
# "ThreeSeconds", "TwoSeconds", "OneSecond", "DisableGoalReset"
64+
# "Three_Seconds", "TwoSeconds", "OneSecond", "DisableGoalReset"
6365
respawn_time = "ThreeSeconds"
64-
# "Default", "ElevenMinutes"
65-
max_time = "Default"
66+
# "Unlimited", "ElevenMinutes"
67+
max_time = "Unlimited"
6668
# "Default", "Haunted", "Rugby"
6769
game_event = "Default"
6870
# "Default", "Haunted"
6971
audio = "Default"
72+
# "Default", "Low", "High", "SuperHigh"
73+
ball_gravity = "Default"
74+
# "Off", "Territory"
75+
territory = "Off"
76+
# "Unlimited", "ThirtySeconds"
77+
stale_ball = "Unlimited"
78+
# "Default", "Grounded", "Two", "Three", "Four", "Unlimited", "NoJumps"
79+
jump = "Default"
80+
# "OnePointTwentyFiveSeconds", "TwoSeconds", "ThreeSeconds", "Unlimited"
81+
dodge_timer = "OnePointTwentyFiveSeconds"
82+
# "Off", "OneSecond", "TwoSeconds", "ThreeSeconds"
83+
possession_score = "Off"
84+
# "Zero", "One", "Two", "Three"
85+
demolish_score = "Zero"
86+
# "One", "Zero", "Two", "Three", "Five", "Ten"
87+
normal_goal_score = "One"
88+
# "One", "Zero", "Two", "Three", "Five", "Ten"
89+
aerial_goal_score = "One"
90+
# "Zero", "One", "Two", "Three"
91+
assist_goal_score = "Zero"
92+
# "Default", "Backwards"
93+
input_restriction = "Default"

RLBotCSTests/TestTomls/edge.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ type = "pSyOniX"
1919
skill = "pro"
2020

2121
[[cars]]
22-
config = "edge.bot.toml"
22+
config_file = "edge.bot.toml"
2323
team = "blue"
2424
skill = "mega pro" # Ignored
2525

2626
[[cars]]
27-
config = "phantom/../edge.bot.toml"
27+
config_file = "phantom/../edge.bot.toml"
2828
team = "orange"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[[cars]]
2-
config = "empty.toml"
2+
config_file = "empty.toml"
33

44
[[scripts]]
5-
config = "empty.toml"
5+
config_file = "empty.toml"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[match]
22

33
[[cars]]
4-
config = "non-existent.toml"
4+
config_file = "non-existent.toml"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[match]
22

33
[[scripts]]
4-
config = "non-existent.toml"
4+
config_file = "non-existent.toml"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[match]
22

33
[[cars]]
4-
config = "normal.bot.toml"
4+
config_file = "normal.bot.toml"
55
name = "New Bot Name"
66
loadout_file = ""
77

88
[[scripts]]
9-
config = "normal.script.toml"
9+
config_file = "normal.script.toml"
1010
name = "No Override"

0 commit comments

Comments
 (0)