For people who are wondering...
Code:
if(Location = 'Edgeville Yews') then
begin
AmountOfTreeLocs := 2;
TreeLoc1 := Point(4201, 2712);
TreeLoc2 := Point(4171, 2757);
TreeName := 'Yew';
BankBoothColor := 2904671;
TreeColor := 2195311;
SPS_Setup(runescape_surface, ['10_6']);
LastToBank := Point(4201, 2712);
PathToBank := [Point(4201, 2712), Point(4187, 2714), Point(4178, 2713), Point(4174, 2730), Point(4183, 2738), Point(4196, 2741), Point(4199, 2759), Point(4200, 2771), Point(4201, 2785), Point(4194, 2795), Point(4185, 2795), Point(4174, 2794)];
LastToTrees := Point(4201, 2712);
PathToTrees := [Point(4201, 2712), Point(4187, 2714), Point(4178, 2713), Point(4174, 2730), Point(4183, 2738), Point(4196, 2741), Point(4199, 2759), Point(4200, 2771), Point(4201, 2785), Point(4194, 2795), Point(4185, 2795), Point(4174, 2794)];
end;
if(Location = 'Seers Magics 2') then
begin
AmountOfTreeLocs := 1;
TreeLoc1 := Point(2626, 3089);
TreeName := 'Magic';
TreeColor := 7579819;
BankBoothColor := 6187887;
SPS_Setup(runescape_surface, ['6_6', '6_7']);
LastToBank := Point(2723, 2708);
PathToBank := [Point(2626, 3089), Point(2624, 3104), Point(2632, 3111), Point(2645, 3113), Point(2659, 3113), Point(2672, 3103), Point(2675, 3093), Point(2676, 3078), Point(2673, 3063), Point(2671, 3043), Point(2671, 3029), Point(2668, 3014), Point(2669, 3000), Point(2670, 2984), Point(2670, 2954), Point(2667, 2936), Point(2669, 2919), Point(2671, 2906), Point(2677, 2892), Point(2689, 2879), Point(2699, 2865), Point(2704, 2851), Point(2713, 2836), Point(2716, 2817), Point(2717, 2800), Point(2719, 2783), Point(2722, 2765), Point(2722, 2740), Point(2722, 2722), Point(2723, 2708)];
LastToTrees := Point(2626, 3089);
PathToTrees := [Point(2723, 2708), Point(2722, 2722), Point(2722, 2740), Point(2722, 2765), Point(2719, 2783), Point(2717, 2800), Point(2716, 2817), Point(2713, 2836), Point(2704, 2851), Point(2699, 2865), Point(2689, 2879), Point(2677, 2892), Point(2671, 2906), Point(2669, 2919), Point(2667, 2936), Point(2670, 2954), Point(2670, 2984), Point(2669, 3000), Point(2668, 3014), Point(2671, 3029), Point(2671, 3043), Point(2673, 3063), Point(2676, 3078), Point(2675, 3093), Point(2672, 3103), Point(2659, 3113), Point(2645, 3113), Point(2632, 3111), Point(2624, 3104), Point(2626, 3089)];
end;
if(Location = 'Seers Magics 1') then
begin
AmountOfTreeLocs := 1;
TreeLoc1 := Point(2591, 2980);
TreeName := 'Magic';
TreeColor := 7579819;
BankBoothColor := 6187887;
SPS_Setup(runescape_surface, ['6_6', '6_7']);
LastToBank := Point(2722, 2710);
PathToBank := [Point(2591, 2980), Point(2607, 2977), Point(2623, 2974), Point(2639, 2964), Point(2649, 2949), Point(2657, 2935), Point(2663, 2924), Point(2670, 2908), Point(2675, 2893), Point(2680, 2882), Point(2688, 2866), Point(2696, 2854), Point(2702, 2838), Point(2706, 2822), Point(2709, 2800), Point(2710, 2781), Point(2715, 2763), Point(2717, 2750), Point(2720, 2738), Point(2723, 2724), Point(2722, 2710)];
LastToTrees := Point(2591, 2980);
PathToTrees := [Point(2722, 2710), Point(2723, 2724), Point(2720, 2738), Point(2717, 2750), Point(2715, 2763), Point(2710, 2781), Point(2709, 2800), Point(2706, 2822), Point(2702, 2838), Point(2696, 2854), Point(2688, 2866), Point(2680, 2882), Point(2675, 2893), Point(2670, 2908), Point(2663, 2924), Point(2657, 2935), Point(2649, 2949), Point(2639, 2964), Point(2623, 2974), Point(2607, 2977), Point(2591, 2980)];
end;
if(Location = 'Varrock Palace Yews') then
begin
AmountOfTreeLocs := 2;
TreeLoc1 := Point(4656,2664);
TreeLoc2 := Point(4716,2668);
TreeName := 'Yew';
BankBoothColor := 2904671;
TreeColor := 2195311;
SPS_Setup(runescape_surface, ['11_6', '11_7']);
LastToBank := Point(4576, 2936);
PathToBank := [Point(4714, 2675), Point(4700, 2674), Point(4684, 2669), Point(4665, 2665), Point(4651, 2668), Point(4638, 2668), Point(4622, 2666), Point(4613, 2679), Point(4613, 2697), Point(4612, 2712), Point(4612, 2726), Point(4612, 2742), Point(4612, 2760), Point(4612, 2773), Point(4612, 2786), Point(4612, 2798), Point(4612, 2811), Point(4612, 2830), Point(4618, 2850), Point(4630, 2868), Point(4642, 2882), Point(4656, 2887), Point(4667, 2901), Point(4677, 2914), Point(4672, 2937), Point(4657, 2948), Point(4652, 2963), Point(4639, 2962), Point(4624, 2961), Point(4610, 2961), Point(4594, 2957), Point(4577, 2959), Point(4570, 2944), Point(4576, 2936)];
LastToTrees := Point(4714, 2675);
PathToTrees := [Point(4576, 2936), Point(4570, 2944), Point(4577, 2959), Point(4594, 2957), Point(4610, 2961), Point(4624, 2961), Point(4639, 2962), Point(4652, 2963), Point(4657, 2948), Point(4672, 2937), Point(4677, 2914), Point(4667, 2901), Point(4656, 2887), Point(4642, 2882), Point(4630, 2868), Point(4618, 2850), Point(4612, 2830), Point(4612, 2811), Point(4612, 2798), Point(4612, 2786), Point(4612, 2773), Point(4612, 2760), Point(4612, 2742), Point(4612, 2726), Point(4612, 2712), Point(4613, 2697), Point(4613, 2679), Point(4622, 2666), Point(4638, 2668), Point(4651, 2668), Point(4665, 2665), Point(4684, 2669), Point(4700, 2674), Point(4714, 2675)];
end;
if(Location = 'Varrock Prayer Yew') then
begin
AmountOfTreeLocs := 1;
TreeLoc1 := Point(4656,2664);
TreeName := 'Yew';
TreeColor := 2195311;
BankBoothColor := 2772570;
SPS_Setup(runescape_surface, ['11_6', '11_7']);
LastToBank := Point(4842, 2995);
PathToBank := [Point(4817, 2792), Point(4810, 2793), Point(4811, 2805), Point(4807, 2820), Point(4804, 2837), Point(4807, 2854), Point(4812, 2865), Point(4817, 2885), Point(4813, 2899), Point(4807, 2911), Point(4807, 2925), Point(4811, 2940), Point(4811, 2949), Point(4813, 2962), Point(4826, 2963), Point(4840, 2965), Point(4842, 2983), Point(4842, 2995)];
LastToTrees := Point(4817, 2792);
PathToTrees := [Point(4842, 2995), Point(4842, 2983), Point(4840, 2965), Point(4826, 2963), Point(4813, 2962), Point(4811, 2949), Point(4811, 2940), Point(4807, 2925), Point(4807, 2911), Point(4813, 2899), Point(4817, 2885), Point(4812, 2865), Point(4807, 2854), Point(4804, 2837), Point(4807, 2820), Point(4811, 2805), Point(4810, 2793), Point(4817, 2792)];
end;
if(Location = 'Seers Yews') then
begin
AmountOfTreeLocs := 2;
TreeLoc1 := Point(2638, 2828);
TreeLoc2 := Point(2681, 2827);
TreeName := 'Yew';
BankBoothColor := 6187887;
TreeColor := 2195311;
SPS_Setup(runescape_surface, ['6_6']);
LastToBank := Point(2720, 2702);
PathToBank := [Point(2682, 2827), Point(2694, 2830), Point(2705, 2834), Point(2721, 2826), Point(2724, 2811), Point(2724, 2794), Point(2724, 2778), Point(2724, 2764), Point(2724, 2751), Point(2724, 2733), Point(2723, 2721), Point(2720, 2702)];
LastToTrees := Point(2682, 2827);
PathToTrees := [Point(2720, 2702), Point(2723, 2721), Point(2724, 2733), Point(2724, 2751), Point(2724, 2764), Point(2724, 2778), Point(2724, 2794), Point(2724, 2811), Point(2721, 2826), Point(2705, 2834), Point(2694, 2830), Point(2682, 2827)];
end;
if(Location = 'Catherby Yews') then
begin
AmountOfTreeLocs := 1;
TreeLoc1 := Point(2854, 2955);
TreeName := 'Yew';
TreeColor := 2195311;
BankBoothColor := 6517883;
SPS_Setup(runescape_surface, ['7_7']);
LastToBank := Point(3058, 2917);
PathToBank := [Point(2854, 2955), Point(2865, 2944), Point(2879, 2941), Point(2889, 2941), Point(2903, 2938), Point(2919, 2936), Point(2935, 2937), Point(2957, 2937), Point(2976, 2940), Point(2996, 2943), Point(3009, 2948), Point(3028, 2943), Point(3044, 2937), Point(3057, 2934), Point(3058, 2917)];
LastToTrees := Point(2854, 2955);
PathToTrees := [Point(3058, 2917), Point(3057, 2934), Point(3044, 2937), Point(3028, 2943), Point(3009, 2948), Point(2996, 2943), Point(2976, 2940), Point(2957, 2937), Point(2935, 2937), Point(2919, 2936), Point(2903, 2938), Point(2889, 2941), Point(2879, 2941), Point(2865, 2944), Point(2854, 2955)];
end;
if(location = 'Draynor Willows') then
begin
AmountOfTreeLocs := 1;
TreeLoc1 := Point(4193, 3715);
TreeName := 'Willow';
TreeColor := 2770507;
BankBoothColor := 4936537;
SPS_Setup(runescape_surface, ['10_9']);
LastToBank := Point(4193, 3715);
PathToBank := [Point(4193, 3715), Point(4193, 3701), Point(4180, 3698), Point(4168, 3701), Point(4171, 3715), Point(4171, 3724), Point(4172, 3736), Point(4162, 3744)];
LastToTrees := Point(4193, 3715);
PathToTrees := [Point(4193, 3715), Point(4193, 3701), Point(4180, 3698), Point(4168, 3701), Point(4171, 3715), Point(4171, 3724), Point(4172, 3736), Point(4162, 3744)];
end;
if(location = 'Seers Maples') then
begin
AmountOfTreeLocs := 1;
TreeLoc1 := Point(2727, 2676);
TreeName := 'Maple';
TreeColor := 11102;
BankBoothColor := 9540245;
SPS_Setup(runescape_surface, ['6_6']);
LastToBank := Point(2722, 2705);
PathToBank := [Point(2727, 2676), Point(2735, 2676), Point(2743, 2681), Point(2747, 2684), Point(2749, 2695), Point(2749, 2705), Point(2747, 2717), Point(2739, 2724), Point(2733, 2731), Point(2722, 2730), Point(2722, 2721), Point(2722, 2714), Point(2722, 2705)];
LastToTrees := Point(2727, 2676);
PathToTrees := [Point(2722, 2705), Point(2722, 2714), Point(2722, 2721), Point(2722, 2730), Point(2733, 2731), Point(2739, 2724), Point(2747, 2717), Point(2749, 2705), Point(2749, 2695), Point(2747, 2684), Point(2743, 2681), Point(2735, 2676), Point(2727, 2676)];
end;
Will be adding Draynor Yews, Remmington Yews, Lumby Yews and South Fally Yews.
edit:
Code:
if(Location = 'Draynor Yews') then
begin
AmountOfTreeLocs := 4;
TreeLoc1 := Point(4414, 3668);
TreeLoc2 := Point(4434, 3767);
TreeLoc3 := Point(4490, 3811);
TreeLoc4 := Point(4566, 3783);
TreeName := 'Yew';
BankBoothColor := 2904671;
TreeColor := 4936537;
SPS_Setup(runescape_surface, ['10_9', '11_9']);
LastToBank := Point(4194, 3712);
PathToBank := [Point(4568, 3783), Point(4559, 3786), Point(4547, 3791), Point(4535, 3794), Point(4524, 3802), Point(4517, 3805), Point(4507, 3809), Point(4494, 3813), Point(4487, 3813), Point(4476, 3809), Point(4460, 3801), Point(4457, 3799), Point(4449, 3789), Point(4444, 3782), Point(4436, 3772), Point(4435, 3766), Point(4429, 3752), Point(4428, 3741), Point(4423, 3726), Point(4419, 3716), Point(4417, 3704), Point(4414, 3686), Point(4412, 3676), Point(4411, 3665), Point(4406, 3663), Point(4390, 3663), Point(4371, 3663), Point(4360, 3669), Point(4349, 3677), Point(4341, 3678), Point(4327, 3682), Point(4320, 3682), Point(4312, 3683), Point(4297, 3684), Point(4287, 3685), Point(4277, 3686), Point(4263, 3690), Point(4252, 3688), Point(4233, 3688), Point(4216, 3692), Point(4214, 3692), Point(4205, 3693), Point(4195, 3697), Point(4195, 3701), Point(4194, 3712)];
LastToTrees := Point(4412, 3669);
PathToTrees := [Point(4195, 3718), Point(4196, 3701), Point(4208, 3694), Point(4226, 3689), Point(4259, 3687), Point(4280, 3687), Point(4294, 3687), Point(4311, 3687), Point(4326, 3685), Point(4344, 3684), Point(4354, 3681), Point(4382, 3678), Point(4394, 3675), Point(4412, 3669)];
end;