read tunnel length from different config and fix tests
This commit is contained in:
@@ -164,6 +164,7 @@ refund_percentage = 75
|
||||
scrap_despawn_seconds = 30
|
||||
belt_speed_tiles_per_second = 2
|
||||
starting_building_blocks = 100
|
||||
tunnel_max_distance = 10
|
||||
|
||||
[regions]
|
||||
asteroid_width = 40
|
||||
@@ -209,6 +210,7 @@ refund_percentage = 75
|
||||
scrap_despawn_seconds = 30
|
||||
belt_speed_tiles_per_second = 2
|
||||
starting_building_blocks = 100
|
||||
tunnel_max_distance = 10
|
||||
|
||||
[regions]
|
||||
asteroid_width = 40
|
||||
@@ -322,3 +324,4 @@ duration_seconds = 1.0
|
||||
ConfigLoader::loadRecipes((dir.path() / "recipes.toml").string()),
|
||||
std::runtime_error);
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,20 @@ player_placeable = true
|
||||
construction_time_seconds = 1
|
||||
surface_mask = ["<A>"]
|
||||
|
||||
[[building]]
|
||||
id = "tunnel_entry"
|
||||
cost = 5
|
||||
player_placeable = true
|
||||
construction_time_seconds = 3
|
||||
surface_mask = ["A>"]
|
||||
|
||||
[[building]]
|
||||
id = "tunnel_exit"
|
||||
cost = 5
|
||||
player_placeable = true
|
||||
construction_time_seconds = 3
|
||||
surface_mask = ["A>"]
|
||||
|
||||
[[building]]
|
||||
id = "miner"
|
||||
cost = 15
|
||||
|
||||
@@ -4,6 +4,7 @@ refund_percentage = 75
|
||||
starting_building_blocks = 100
|
||||
scrap_despawn_seconds = 30
|
||||
belt_speed_tiles_per_second = 2
|
||||
tunnel_max_distance = 10
|
||||
|
||||
[regions]
|
||||
asteroid_width = 40
|
||||
|
||||
Reference in New Issue
Block a user