Ok so your table for the chests could look like this.
Code: Select all
return {
[1]={ X=3010.98291 , Z=35.38862991, Links={[1]={Num=2},[2]={Num=6},[3]={Num=7},}},
[2]={ X=3036.711914 , Z=49.38666916, Links={[1]={Num=1},[2]={Num=3},[3]={Num=6},[4]={Num=8},[5]={Num=7},}},
[3]={ X=3061.070068 , Z=67.11927032, Links={[1]={Num=2},[2]={Num=4},[3]={Num=7},[4]={Num=9},[5]={Num=8},}},
[4]={ X=3086.976074 , Z=80.69120026, Links={[1]={Num=3},[2]={Num=5},[3]={Num=8},[4]={Num=10},[5]={Num=9},}},
[5]={ X=3113.544922 , Z=99.62309265, Links={[1]={Num=4},[2]={Num=10},[3]={Num=9},}},
[6]={ X=3027.961914 , Z=8.74179554, Links={[1]={Num=11},[2]={Num=1},[3]={Num=2},[4]={Num=12},[5]={Num=7},}},
[7]={ X=3053.081055 , Z=25.25625992, Links={[1]={Num=1},[2]={Num=13},[3]={Num=3},[4]={Num=11},[5]={Num=6},[6]={Num=8},[7]={Num=2},[8]={Num=12},}},
[8]={ X=3077.891113 , Z=41.24858856, Links={[1]={Num=12},[2]={Num=4},[3]={Num=2},[4]={Num=14},[5]={Num=7},[6]={Num=9},[7]={Num=13},[8]={Num=3},}},
[9]={ X=3103.554932 , Z=56.39542007, Links={[1]={Num=5},[2]={Num=13},[3]={Num=15},[4]={Num=3},[5]={Num=8},[6]={Num=10},[7]={Num=4},[8]={Num=14},}},
[10]={ X=3129.545898 , Z=73.40276337, Links={[1]={Num=5},[2]={Num=15},[3]={Num=14},[4]={Num=4},[5]={Num=9},}},
[11]={ X=3042.2229 , Z=-15.36034966, Links={[1]={Num=16},[2]={Num=6},[3]={Num=7},[4]={Num=17},[5]={Num=12},}},
[12]={ X=3068.716064 , Z=-0.087428153, Links={[1]={Num=16},[2]={Num=8},[3]={Num=18},[4]={Num=6},[5]={Num=13},[6]={Num=11},[7]={Num=7},[8]={Num=17},}},
[13]={ X=3094.581055 , Z=15.31999016, Links={[1]={Num=7},[2]={Num=19},[3]={Num=9},[4]={Num=17},[5]={Num=14},[6]={Num=12},[7]={Num=18},[8]={Num=8},}},
[14]={ X=3119.471924 , Z=31.05658913, Links={[1]={Num=10},[2]={Num=18},[3]={Num=8},[4]={Num=20},[5]={Num=15},[6]={Num=13},[7]={Num=9},[8]={Num=19},}},
[15]={ X=3145.129883 , Z=47.69260025, Links={[1]={Num=10},[2]={Num=20},[3]={Num=19},[5]={Num=9},[6]={Num=14},}},
[16]={ X=3059.019043 , Z=-40.57423019, Links={[1]={Num=21},[2]={Num=11},[3]={Num=12},[4]={Num=22},[5]={Num=17},}},
[17]={ X=3084.559082 , Z=-26.07653046, Links={[1]={Num=13},[2]={Num=21},[3]={Num=11},[4]={Num=23},[5]={Num=16},[6]={Num=18},[7]={Num=12},[8]={Num=22},}},
[18]={ X=3108.978027 , Z=-11.35186005, Links={[1]={Num=14},[2]={Num=22},[3]={Num=24},[5]={Num=12},[6]={Num=17},[7]={Num=19},[8]={Num=23},[9]={Num=13},}},
[19]={ X=3134.354004 , Z=4.835566044, Links={[1]={Num=13},[2]={Num=25},[3]={Num=23},[4]={Num=15},[5]={Num=18},[6]={Num=20},[7]={Num=14},[8]={Num=24},}},
[20]={ X=3160.509033 , Z=20.60238075, Links={[1]={Num=15},[2]={Num=25},[3]={Num=24},[4]={Num=14},[5]={Num=19},}},
[21]={ X=3073.481934 , Z=-66.05554962, Links={[1]={Num=22},[2]={Num=16},[3]={Num=17},}},
[22]={ X=3098.574951 , Z=-51.81417084, Links={[1]={Num=23},[2]={Num=21},[3]={Num=18},[4]={Num=16},[5]={Num=17},}},
[23]={ X=3125.886963 , Z=-36.31401062, Links={[1]={Num=24},[2]={Num=22},[3]={Num=19},[4]={Num=17},[5]={Num=18},}},
[24]={ X=3150.272949 , Z=-18.85281944, Links={[1]={Num=25},[2]={Num=23},[3]={Num=20},[4]={Num=18},[5]={Num=19},}},
[25]={ X=3175.987061 , Z=-3.51265502, Links={[1]={Num=20},[2]={Num=24},[3]={Num=19},}},
}
Links are the chests near that specific chest, visually it looks like this.