{ #each getKeysAsNumbers($village.villageTiles) as y }
{ #each getKeysAsNumbers($village.villageTiles[y]) as x } { #if $village.villageTiles[y][x] >= 0 } openBuildingPanel($village.villageTiles[y][x]) } > { :else } openBuildingCreator(new Hex(x, y)) } /> { /if } { /each }
{ /each }