Attempt #1 at fixing main
parent
238af1cc83
commit
4763de9827
|
@ -16,17 +16,20 @@ texture = ExtResource("1_ukrsa")
|
|||
3:0/0/custom_data_0 = true
|
||||
3:0/0/custom_data_2 = 1
|
||||
3:0/8 = 8
|
||||
3:0/8/custom_data_0 = true
|
||||
1:2/0 = 0
|
||||
3:2/next_alternative_id = 5
|
||||
3:2/next_alternative_id = 7
|
||||
3:2/0 = 0
|
||||
3:2/0/custom_data_0 = true
|
||||
3:2/4 = 4
|
||||
0:0/0 = 0
|
||||
0:0/0/custom_data_0 = true
|
||||
0:0/0/custom_data_2 = 4
|
||||
3:1/next_alternative_id = 3
|
||||
3:1/next_alternative_id = 4
|
||||
3:1/0 = 0
|
||||
3:1/0/custom_data_0 = true
|
||||
3:1/2 = 2
|
||||
4:0/0 = 0
|
||||
3:1/2/custom_data_0 = true
|
||||
5:3/0 = 0
|
||||
5:3/0/custom_data_0 = true
|
||||
4:0/0 = 0
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -26,8 +26,8 @@ func get_cells_by_type(
|
|||
|
||||
|
||||
func get_cells_by_type_collection(
|
||||
atlas_coords: Array[Vector2i],
|
||||
center: Vector2i = Vector2i(-1, -1), max_distance: int = 99999999
|
||||
atlas_coords: Array[Vector2i],
|
||||
center: Vector2i = Vector2i(-1, -1), max_distance: int = 99999999
|
||||
) -> Array[Vector2i]:
|
||||
var tiles_with_type: Array[Vector2i] = []
|
||||
for coords in atlas_coords:
|
||||
|
|
|
@ -10,7 +10,6 @@ const GROUND_WATER_SHALLOW: Vector2i = Vector2i(1, 0)
|
|||
const GROUND_WATER_DEEP: Vector2i = Vector2i(2, 0)
|
||||
const GROUND_SAND: Vector2i = Vector2i(3, 0)
|
||||
const GROUND_DOCK: Vector2i = Vector2i(3, 0)
|
||||
const GROUND_SNOW: Vector2i = Vector2i(4,0)
|
||||
#
|
||||
# objects, sid = 1
|
||||
# NI = not interactive
|
||||
|
|
Loading…
Reference in New Issue