proc/LoadMap()
var/obj/Border/One/onee=new();
onee.loc=locate(55,126,1)
onee.step_x=11; onee.step_y=9
onee.icon='Borders.dmi'
onee.icon_state="Border1"
for(var/i=0; i<=22; i++)
for(var/j=0; j<=22; j++)
var/obj/MainMap/map=new()
map.loc=locate(i*20+1,j*20+1,1)
map.icon='MAP1.dmi'
map.icon_state="[i],[j]"
var/obj/ShoreLights/light=new()
light.loc=locate(i*20+1,j*20+1,1)
light.icon='ShoreLights.dmi'
light.icon_state="[i],[j]"
var/obj/Shores/shore=new()
shore.loc=locate(i*20+1,j*20+1,1)
shore.icon='Shores.dmi'
shore.icon_state="[i],[j]"
//when I activate either shores or shoreligh borders dont show up
Problem description:
I've tried to add my main map dynamically in chunks of 320x320 objects.
Then I added the borders (territory-like borders separating the land into provinces) borders are 3200x3200. it works just fine but then when I try to add shores (they are filters meant to give an illusion of depth where sea and land joins) the borders disappear