*comment *rand planet1_quadrant 1 111
*comment *rand planet2_quadrant 1 111
*comment *rand planet3_quadrant 1 111
*comment *rand planet4_quadrant 1 111
*comment *rand planet5_quadrant 1 111
*comment *rand planet6_quadrant 1 111
*comment *rand planet7_quadrant 1 111
*comment *rand planet8_quadrant 1 111
*comment *rand planet9_quadrant 1 111
*comment *rand planet10_quadrant 1 111
*comment *rand planet11_quadrant 1 111
*comment *rand planet12_quadrant 1 111
*comment *rand planet13_quadrant 1 111
*comment *rand planet14_quadrant 1 111
*comment *rand planet15_quadrant 1 111
*comment *rand planet16_quadrant 1 111
*comment *rand planet17_quadrant 1 111
*comment *rand planet18_quadrant 1 111
*comment *rand planet19_quadrant 1 111
*comment *rand planet20_quadrant 1 111
*comment *rand planet21_quadrant 1 111
*comment *rand planet22_quadrant 1 111
*comment *rand planet23_quadrant 1 111
*comment *rand planet24_quadrant 1 111
*comment *rand planet25_quadrant 1 111
*comment *rand planet26_quadrant 1 111
*comment *rand planet27_quadrant 1 111
*comment *rand planet28_quadrant 1 111
*comment *rand planet29_quadrant 1 111
*comment *rand planet30_quadrant 1 111
*comment *rand planet31_quadrant 1 111
*comment *rand planet32_quadrant 1 111
*comment *rand planet33_quadrant 1 111
*comment *rand planet34_quadrant 1 111
*comment *rand planet35_quadrant 1 111
*comment *rand planet36_quadrant 1 111
*comment *rand planet37_quadrant 1 111
*comment *rand planet38_quadrant 1 111
*comment *rand planet39_quadrant 1 111
*comment *rand planet40_quadrant 1 111
*comment *rand planet41_quadrant 1 111
*comment *rand planet42_quadrant 1 111
*comment *rand planet43_quadrant 1 111
*comment *rand planet44_quadrant 1 111
*comment *rand planet45_quadrant 1 111
*comment *rand planet46_quadrant 1 111
*comment *rand planet47_quadrant 1 111
*comment *rand planet48_quadrant 1 111
*comment *rand planet49_quadrant 1 111
*comment *rand planet50_quadrant 1 111
*comment *rand planet51_quadrant 1 111
*comment *rand planet52_quadrant 1 111
*comment *rand planet53_quadrant 1 111
*comment *rand planet54_quadrant 1 111
*comment *rand planet55_quadrant 1 111
*comment *rand planet56_quadrant 1 111
*comment *rand planet57_quadrant 1 111
*comment *rand planet58_quadrant 1 111
*comment *rand planet59_quadrant 1 111
*comment *rand planet60_quadrant 1 111
*comment *rand planet61_quadrant 1 111
*comment *rand planet62_quadrant 1 111
*comment *rand planet63_quadrant 1 111
*comment *rand planet64_quadrant 1 111
*comment *rand planet65_quadrant 1 111
*comment *rand planet66_quadrant 1 111
*comment *rand planet67_quadrant 1 111
*comment *rand planet68_quadrant 1 111
*comment *rand planet69_quadrant 1 111
*comment *rand planet70_quadrant 1 111
*comment *rand planet71_quadrant 1 111
*comment *rand planet72_quadrant 1 111
*comment *rand planet73_quadrant 1 111
*comment *rand planet74_quadrant 1 111
*comment *rand planet75_quadrant 1 111
*comment *rand planet76_quadrant 1 111
*comment *rand planet77_quadrant 1 111
*comment *rand planet78_quadrant 1 111
*comment *rand planet79_quadrant 1 111
*comment *rand planet80_quadrant 1 111
*comment *rand planet81_quadrant 1 111
*comment *rand planet82_quadrant 1 111
*comment *rand planet83_quadrant 1 111
*comment *rand planet84_quadrant 1 111
*comment *rand planet85_quadrant 1 111
*comment *rand planet86_quadrant 1 111
*comment *rand planet87_quadrant 1 111
*comment *rand planet88_quadrant 1 111
*comment *rand planet89_quadrant 1 111
*comment *rand planet90_quadrant 1 111
*comment *rand planet91_quadrant 1 111
*comment *rand planet92_quadrant 1 111
*comment *rand planet93_quadrant 1 111
*comment *rand planet94_quadrant 1 111
*comment *rand planet95_quadrant 1 111
*comment *rand planet96_quadrant 1 111
*comment *rand planet97_quadrant 1 111
*comment *rand planet98_quadrant 1 111
*comment *rand planet99_quadrant 1 111
*comment *rand planet100_quadrant 1 111
*comment *rand planet101_quadrant 1 111
*comment *rand planet102_quadrant 1 111
*comment *rand planet103_quadrant 1 111
*comment *rand planet104_quadrant 1 111
*comment *rand planet105_quadrant 1 111
*comment *rand planet106_quadrant 1 111
*comment *rand planet107_quadrant 1 111
*comment *rand planet108_quadrant 1 111
*comment *rand planet109_quadrant 1 111
*comment *rand planet110_quadrant 1 111
*comment *rand planet111_quadrant 1 111
*comment *rand planet112_quadrant 1 111
*comment *rand planet113_quadrant 1 111
*comment *rand planet114_quadrant 1 111
*comment *rand planet115_quadrant 1 111
*comment *rand planet116_quadrant 1 111
*comment *rand planet117_quadrant 1 111
*comment *rand planet118_quadrant 1 111
*comment *rand planet119_quadrant 1 111
*comment *rand planet120_quadrant 1 111
*comment *rand planet121_quadrant 1 111
*comment *rand planet122_quadrant 1 111
*comment *rand planet123_quadrant 1 111
*comment *rand planet124_quadrant 1 111
*comment *rand planet125_quadrant 1 111
*comment *rand planet126_quadrant 1 111
*comment *rand planet127_quadrant 1 111
*comment *rand planet128_quadrant 1 111
*comment *rand planet129_quadrant 1 111
*comment *rand planet130_quadrant 1 111
*comment *rand planet131_quadrant 1 111
*comment *rand planet132_quadrant 1 111
*comment *rand planet133_quadrant 1 111
*comment *rand planet134_quadrant 1 111
*comment *rand planet135_quadrant 1 111
*comment *rand planet136_quadrant 1 111
*comment *rand planet137_quadrant 1 111
*comment *rand planet138_quadrant 1 111
*comment *rand planet139_quadrant 1 111
*comment *rand planet140_quadrant 1 111
*comment *rand planet141_quadrant 1 111
*comment *rand planet142_quadrant 1 111
*comment *rand planet143_quadrant 1 111
*comment *rand planet144_quadrant 1 111
*comment *rand planet145_quadrant 1 111
*comment *rand planet146_quadrant 1 111
*comment *rand planet147_quadrant 1 111
*comment *rand planet148_quadrant 1 111
*comment *rand planet149_quadrant 1 111
*comment *rand planet150_quadrant 1 111

*comment *rand planet1_sector 1 4
*comment *rand planet2_sector 1 4
*comment *rand planet3_sector 1 4
*comment *rand planet4_sector 1 4
*comment *rand planet5_sector 1 4
*comment *rand planet6_sector 1 4
*comment *rand planet7_sector 1 4
*comment *rand planet8_sector 1 4
*comment *rand planet9_sector 1 4
*comment *rand planet10_sector 1 4
*comment *rand planet11_sector 1 4
*comment *rand planet12_sector 1 4
*comment *rand planet13_sector 1 4
*comment *rand planet14_sector 1 4
*comment *rand planet15_sector 1 4
*comment *rand planet16_sector 1 4
*comment *rand planet17_sector 1 4
*comment *rand planet18_sector 1 4
*comment *rand planet19_sector 1 4
*comment *rand planet20_sector 1 4
*comment *rand planet21_sector 1 4
*comment *rand planet22_sector 1 4
*comment *rand planet23_sector 1 4
*comment *rand planet24_sector 1 4
*comment *rand planet25_sector 1 4
*comment *rand planet26_sector 1 4
*comment *rand planet27_sector 1 4
*comment *rand planet28_sector 1 4
*comment *rand planet29_sector 1 4
*comment *rand planet30_sector 1 4
*comment *rand planet31_sector 1 4
*comment *rand planet32_sector 1 4
*comment *rand planet33_sector 1 4
*comment *rand planet34_sector 1 4
*comment *rand planet35_sector 1 4
*comment *rand planet36_sector 1 4
*comment *rand planet37_sector 1 4
*comment *rand planet38_sector 1 4
*comment *rand planet39_sector 1 4
*comment *rand planet40_sector 1 4
*comment *rand planet41_sector 1 4
*comment *rand planet42_sector 1 4
*comment *rand planet43_sector 1 4
*comment *rand planet44_sector 1 4
*comment *rand planet45_sector 1 4
*comment *rand planet46_sector 1 4
*comment *rand planet47_sector 1 4
*comment *rand planet48_sector 1 4
*comment *rand planet49_sector 1 4
*comment *rand planet50_sector 1 4
*comment *rand planet51_sector 1 4
*comment *rand planet52_sector 1 4
*comment *rand planet53_sector 1 4
*comment *rand planet54_sector 1 4
*comment *rand planet55_sector 1 4
*comment *rand planet56_sector 1 4
*comment *rand planet57_sector 1 4
*comment *rand planet58_sector 1 4
*comment *rand planet59_sector 1 4
*comment *rand planet60_sector 1 4
*comment *rand planet61_sector 1 4
*comment *rand planet62_sector 1 4
*comment *rand planet63_sector 1 4
*comment *rand planet64_sector 1 4
*comment *rand planet65_sector 1 4
*comment *rand planet66_sector 1 4
*comment *rand planet67_sector 1 4
*comment *rand planet68_sector 1 4
*comment *rand planet69_sector 1 4
*comment *rand planet70_sector 1 4
*comment *rand planet71_sector 1 4
*comment *rand planet72_sector 1 4
*comment *rand planet73_sector 1 4
*comment *rand planet74_sector 1 4
*comment *rand planet75_sector 1 4
*comment *rand planet76_sector 1 4
*comment *rand planet77_sector 1 4
*comment *rand planet78_sector 1 4
*comment *rand planet79_sector 1 4
*comment *rand planet80_sector 1 4
*comment *rand planet81_sector 1 4
*comment *rand planet82_sector 1 4
*comment *rand planet83_sector 1 4
*comment *rand planet84_sector 1 4
*comment *rand planet85_sector 1 4
*comment *rand planet86_sector 1 4
*comment *rand planet87_sector 1 4
*comment *rand planet88_sector 1 4
*comment *rand planet89_sector 1 4
*comment *rand planet90_sector 1 4
*comment *rand planet91_sector 1 4
*comment *rand planet92_sector 1 4
*comment *rand planet93_sector 1 4
*comment *rand planet94_sector 1 4
*comment *rand planet95_sector 1 4
*comment *rand planet96_sector 1 4
*comment *rand planet97_sector 1 4
*comment *rand planet98_sector 1 4
*comment *rand planet99_sector 1 4
*comment *rand planet100_sector 1 4
*comment *rand planet101_sector 1 4
*comment *rand planet102_sector 1 4
*comment *rand planet103_sector 1 4
*comment *rand planet104_sector 1 4
*comment *rand planet105_sector 1 4
*comment *rand planet106_sector 1 4
*comment *rand planet107_sector 1 4
*comment *rand planet108_sector 1 4
*comment *rand planet109_sector 1 4
*comment *rand planet110_sector 1 4
*comment *rand planet111_sector 1 4
*comment *rand planet112_sector 1 4
*comment *rand planet113_sector 1 4
*comment *rand planet114_sector 1 4
*comment *rand planet115_sector 1 4
*comment *rand planet116_sector 1 4
*comment *rand planet117_sector 1 4
*comment *rand planet118_sector 1 4
*comment *rand planet119_sector 1 4
*comment *rand planet120_sector 1 4
*comment *rand planet121_sector 1 4
*comment *rand planet122_sector 1 4
*comment *rand planet123_sector 1 4
*comment *rand planet124_sector 1 4
*comment *rand planet125_sector 1 4
*comment *rand planet126_sector 1 4
*comment *rand planet127_sector 1 4
*comment *rand planet128_sector 1 4
*comment *rand planet129_sector 1 4
*comment *rand planet130_sector 1 4
*comment *rand planet131_sector 1 4
*comment *rand planet132_sector 1 4
*comment *rand planet133_sector 1 4
*comment *rand planet134_sector 1 4
*comment *rand planet135_sector 1 4
*comment *rand planet136_sector 1 4
*comment *rand planet137_sector 1 4
*comment *rand planet138_sector 1 4
*comment *rand planet139_sector 1 4
*comment *rand planet140_sector 1 4
*comment *rand planet141_sector 1 4
*comment *rand planet142_sector 1 4
*comment *rand planet143_sector 1 4
*comment *rand planet144_sector 1 4
*comment *rand planet145_sector 1 4
*comment *rand planet146_sector 1 4
*comment *rand planet147_sector 1 4
*comment *rand planet148_sector 1 4
*comment *rand planet149_sector 1 4
*comment *rand planet150_sector 1 4

*comment *temp firstnumber 1
*comment *temp secondnumber 1

*comment *temp firstquad ""
*comment *temp firstsector ""
*comment *temp secondquad ""
*comment *temp secondsector ""

*comment *label begin

*comment *if firstnumber > 150
	*comment *goto done

*comment *if secondnumber > 150
	*comment *set secondnumber 1
	*comment *set firstnumber +1
	*comment *goto begin

*comment *if secondnumber = firstnumber
	*comment *set secondnumber +1
	*comment *goto begin

*comment *set firstquad "planet${firstnumber}_quadrant"
*comment *set firstsector "planet${firstnumber}_sector"

*comment *set firstquad {firstquad}
*comment *set firstsector {firstsector}

*comment *set secondquad "planet${secondnumber}_quadrant"
*comment *set secondsector "planet${secondnumber}_sector"

*comment *set secondquad {secondquad}
*comment *set secondsector {secondsector}

*comment *if firstquad = secondquad
	*comment *if firstsector = secondsector
		*comment *rand dieroll 1 111
		*comment *set secondquad "planet${secondnumber}_quadrant"
		*comment *set {secondquad} dieroll
		*comment *rand dieroll 1 4
		*comment *set secondsector "planet${secondnumber}_sector"
		*comment *set {secondsector} dieroll
		*comment *set secondnumber 1
		*comment *goto begin
	*comment 
*comment *set secondnumber +1

*comment *label done

*comment It's done!

*comment *return








*temp q1s1 "available"
*temp q1s2 "available"
*temp q1s3 "available"
*temp q1s4 "available"


*temp q2s1 "available"
*temp q2s2 "available"
*temp q2s3 "available"
*temp q2s4 "available"
*temp q2s5 "available"
*temp q2s6 "available"
*temp q2s7 "available"
*temp q2s8 "available"
*temp q2s9 "available"
*temp q2s10 "available"
*temp q2s11 "available"

*temp q3s1 "available"
*temp q3s2 "available"
*temp q3s3 "available"
*temp q3s4 "available"
*temp q3s5 "available"
*temp q3s6 "available"
*temp q3s7 "available"
*temp q3s8 "available"
*temp q3s9 "available"
*temp q3s10 "available"
*temp q3s11 "available"

*temp q4s1 "available"
*temp q4s2 "available"
*temp q4s3 "available"
*temp q4s4 "available"
*temp q4s5 "available"
*temp q4s6 "available"
*temp q4s7 "available"
*temp q4s8 "available"
*temp q4s9 "available"
*temp q4s10 "available"
*temp q4s11 "available"

*temp q5s1 "available"
*temp q5s2 "available"
*temp q5s3 "available"
*temp q5s4 "available"
*temp q5s5 "available"
*temp q5s6 "available"
*temp q5s7 "available"
*temp q5s8 "available"
*temp q5s9 "available"
*temp q5s10 "available"
*temp q5s11 "available"

*temp q6s1 "available"
*temp q6s2 "available"
*temp q6s3 "available"
*temp q6s4 "available"
*temp q6s5 "available"
*temp q6s6 "available"
*temp q6s7 "available"
*temp q6s8 "available"
*temp q6s9 "available"
*temp q6s10 "available"
*temp q6s11 "available"

*temp q7s1 "available"
*temp q7s2 "available"
*temp q7s3 "available"
*temp q7s4 "available"
*temp q7s5 "available"
*temp q7s6 "available"
*temp q7s7 "available"
*temp q7s8 "available"
*temp q7s9 "available"
*temp q7s10 "available"
*temp q7s11 "available"

*temp q8s1 "available"
*temp q8s2 "available"
*temp q8s3 "available"
*temp q8s4 "available"
*temp q8s5 "available"
*temp q8s6 "available"
*temp q8s7 "available"
*temp q8s8 "available"
*temp q8s9 "available"
*temp q8s10 "available"
*temp q8s11 "available"

*temp q9s1 "available"
*temp q9s2 "available"
*temp q9s3 "available"
*temp q9s4 "available"
*temp q9s5 "available"
*temp q9s6 "available"
*temp q9s7 "available"
*temp q9s8 "available"
*temp q9s9 "available"
*temp q9s10 "available"
*temp q9s11 "available"

*temp q10s1 "available"
*temp q10s2 "available"
*temp q10s3 "available"
*temp q10s4 "available"
*temp q10s5 "available"
*temp q10s6 "available"
*temp q10s7 "available"
*temp q10s8 "available"
*temp q10s9 "available"
*temp q10s10 "available"
*temp q10s11 "available"

*temp q11s1 "available"
*temp q11s2 "available"
*temp q11s3 "available"
*temp q11s4 "available"
*temp q11s5 "available"
*temp q11s6 "available"
*temp q11s7 "available"
*temp q11s8 "available"
*temp q11s9 "available"
*temp q11s10 "available"
*temp q11s11 "available"

*temp q12s1 "available"
*temp q12s2 "available"
*temp q12s3 "available"
*temp q12s4 "available"
*temp q12s5 "available"
*temp q12s6 "available"
*temp q12s7 "available"
*temp q12s8 "available"
*temp q12s9 "available"
*temp q12s10 "available"
*temp q12s11 "available"

*temp q13s1 "available"
*temp q13s2 "available"
*temp q13s3 "available"
*temp q13s4 "available"
*temp q13s5 "available"
*temp q13s6 "available"
*temp q13s7 "available"
*temp q13s8 "available"
*temp q13s9 "available"
*temp q13s10 "available"
*temp q13s11 "available"

*temp q14s1 "available"
*temp q14s2 "available"
*temp q14s3 "available"
*temp q14s4 "available"
*temp q14s5 "available"
*temp q14s6 "available"
*temp q14s7 "available"
*temp q14s8 "available"
*temp q14s9 "available"
*temp q14s10 "available"
*temp q14s11 "available"

*temp q15s1 "available"
*temp q15s2 "available"
*temp q15s3 "available"
*temp q15s4 "available"
*temp q15s5 "available"
*temp q15s6 "available"
*temp q15s7 "available"
*temp q15s8 "available"
*temp q15s9 "available"
*temp q15s10 "available"
*temp q15s11 "available"

*temp q16s1 "available"
*temp q16s2 "available"
*temp q16s3 "available"
*temp q16s4 "available"
*temp q16s5 "available"
*temp q16s6 "available"
*temp q16s7 "available"
*temp q16s8 "available"
*temp q16s9 "available"
*temp q16s10 "available"
*temp q16s11 "available"

*temp q17s1 "available"
*temp q17s2 "available"
*temp q17s3 "available"
*temp q17s4 "available"
*temp q17s5 "available"
*temp q17s6 "available"
*temp q17s7 "available"
*temp q17s8 "available"
*temp q17s9 "available"
*temp q17s10 "available"
*temp q17s11 "available"

*temp q18s1 "available"
*temp q18s2 "available"
*temp q18s3 "available"
*temp q18s4 "available"
*temp q18s5 "available"
*temp q18s6 "available"
*temp q18s7 "available"
*temp q18s8 "available"
*temp q18s9 "available"
*temp q18s10 "available"
*temp q18s11 "available"

*temp q19s1 "available"
*temp q19s2 "available"
*temp q19s3 "available"
*temp q19s4 "available"
*temp q19s5 "available"
*temp q19s6 "available"
*temp q19s7 "available"
*temp q19s8 "available"
*temp q19s9 "available"
*temp q19s10 "available"
*temp q19s11 "available"

*temp q20s1 "available"
*temp q20s2 "available"
*temp q20s3 "available"
*temp q20s4 "available"
*temp q20s5 "available"
*temp q20s6 "available"
*temp q20s7 "available"
*temp q20s8 "available"
*temp q20s9 "available"
*temp q20s10 "available"
*temp q20s11 "available"

*temp q21s1 "available"
*temp q21s2 "available"
*temp q21s3 "available"
*temp q21s4 "available"
*temp q21s5 "available"
*temp q21s6 "available"
*temp q21s7 "available"
*temp q21s8 "available"
*temp q21s9 "available"
*temp q21s10 "available"
*temp q21s11 "available"

*temp q22s1 "available"
*temp q22s2 "available"
*temp q22s3 "available"
*temp q22s4 "available"
*temp q22s5 "available"
*temp q22s6 "available"
*temp q22s7 "available"
*temp q22s8 "available"
*temp q22s9 "available"
*temp q22s10 "available"
*temp q22s11 "available"

*temp q23s1 "available"
*temp q23s2 "available"
*temp q23s3 "available"
*temp q23s4 "available"
*temp q23s5 "available"
*temp q23s6 "available"
*temp q23s7 "available"
*temp q23s8 "available"
*temp q23s9 "available"
*temp q23s10 "available"
*temp q23s11 "available"

*temp q24s1 "available"
*temp q24s2 "available"
*temp q24s3 "available"
*temp q24s4 "available"
*temp q24s5 "available"
*temp q24s6 "available"
*temp q24s7 "available"
*temp q24s8 "available"
*temp q24s9 "available"
*temp q24s10 "available"
*temp q24s11 "available"

*temp q25s1 "available"
*temp q25s2 "available"
*temp q25s3 "available"
*temp q25s4 "available"
*temp q25s5 "available"
*temp q25s6 "available"
*temp q25s7 "available"
*temp q25s8 "available"
*temp q25s9 "available"
*temp q25s10 "available"
*temp q25s11 "available"

*temp q26s1 "available"
*temp q26s2 "available"
*temp q26s3 "available"
*temp q26s4 "available"
*temp q26s5 "available"
*temp q26s6 "available"
*temp q26s7 "available"
*temp q26s8 "available"
*temp q26s9 "available"
*temp q26s10 "available"
*temp q26s11 "available"

*temp q27s1 "available"
*temp q27s2 "available"
*temp q27s3 "available"
*temp q27s4 "available"
*temp q27s5 "available"
*temp q27s6 "available"
*temp q27s7 "available"
*temp q27s8 "available"
*temp q27s9 "available"
*temp q27s10 "available"
*temp q27s11 "available"

*temp q28s1 "available"
*temp q28s2 "available"
*temp q28s3 "available"
*temp q28s4 "available"
*temp q28s5 "available"
*temp q28s6 "available"
*temp q28s7 "available"
*temp q28s8 "available"
*temp q28s9 "available"
*temp q28s10 "available"
*temp q28s11 "available"

*temp q29s1 "available"
*temp q29s2 "available"
*temp q29s3 "available"
*temp q29s4 "available"
*temp q29s5 "available"
*temp q29s6 "available"
*temp q29s7 "available"
*temp q29s8 "available"
*temp q29s9 "available"
*temp q29s10 "available"
*temp q29s11 "available"

*temp q30s1 "available"
*temp q30s2 "available"
*temp q30s3 "available"
*temp q30s4 "available"
*temp q30s5 "available"
*temp q30s6 "available"
*temp q30s7 "available"
*temp q30s8 "available"
*temp q30s9 "available"
*temp q30s10 "available"
*temp q30s11 "available"

*temp q31s1 "available"
*temp q31s2 "available"
*temp q31s3 "available"
*temp q31s4 "available"
*temp q31s5 "available"
*temp q31s6 "available"
*temp q31s7 "available"
*temp q31s8 "available"
*temp q31s9 "available"
*temp q31s10 "available"
*temp q31s11 "available"

*temp q32s1 "available"
*temp q32s2 "available"
*temp q32s3 "available"
*temp q32s4 "available"
*temp q32s5 "available"
*temp q32s6 "available"
*temp q32s7 "available"
*temp q32s8 "available"
*temp q32s9 "available"
*temp q32s10 "available"
*temp q32s11 "available"

*temp q33s1 "available"
*temp q33s2 "available"
*temp q33s3 "available"
*temp q33s4 "available"
*temp q33s5 "available"
*temp q33s6 "available"
*temp q33s7 "available"
*temp q33s8 "available"
*temp q33s9 "available"
*temp q33s10 "available"
*temp q33s11 "available"

*temp q34s1 "available"
*temp q34s2 "available"
*temp q34s3 "available"
*temp q34s4 "available"
*temp q34s5 "available"
*temp q34s6 "available"
*temp q34s7 "available"
*temp q34s8 "available"
*temp q34s9 "available"
*temp q34s10 "available"
*temp q34s11 "available"

*temp q35s1 "available"
*temp q35s2 "available"
*temp q35s3 "available"
*temp q35s4 "available"
*temp q35s5 "available"
*temp q35s6 "available"
*temp q35s7 "available"
*temp q35s8 "available"
*temp q35s9 "available"
*temp q35s10 "available"
*temp q35s11 "available"

*temp q36s1 "available"
*temp q36s2 "available"
*temp q36s3 "available"
*temp q36s4 "available"
*temp q36s5 "available"
*temp q36s6 "available"
*temp q36s7 "available"
*temp q36s8 "available"
*temp q36s9 "available"
*temp q36s10 "available"
*temp q36s11 "available"

*temp q37s1 "available"
*temp q37s2 "available"
*temp q37s3 "available"
*temp q37s4 "available"
*temp q37s5 "available"
*temp q37s6 "available"
*temp q37s7 "available"
*temp q37s8 "available"
*temp q37s9 "available"
*temp q37s10 "available"
*temp q37s11 "available"

*temp q38s1 "available"
*temp q38s2 "available"
*temp q38s3 "available"
*temp q38s4 "available"
*temp q38s5 "available"
*temp q38s6 "available"
*temp q38s7 "available"
*temp q38s8 "available"
*temp q38s9 "available"
*temp q38s10 "available"
*temp q38s11 "available"

*temp q39s1 "available"
*temp q39s2 "available"
*temp q39s3 "available"
*temp q39s4 "available"
*temp q39s5 "available"
*temp q39s6 "available"
*temp q39s7 "available"
*temp q39s8 "available"
*temp q39s9 "available"
*temp q39s10 "available"
*temp q39s11 "available"

*temp q40s1 "available"
*temp q40s2 "available"
*temp q40s3 "available"
*temp q40s4 "available"
*temp q40s5 "available"
*temp q40s6 "available"
*temp q40s7 "available"
*temp q40s8 "available"
*temp q40s9 "available"
*temp q40s10 "available"
*temp q40s11 "available"

*temp q41s1 "available"
*temp q41s2 "available"
*temp q41s3 "available"
*temp q41s4 "available"
*temp q41s5 "available"
*temp q41s6 "available"
*temp q41s7 "available"
*temp q41s8 "available"
*temp q41s9 "available"
*temp q41s10 "available"
*temp q41s11 "available"

*temp q42s1 "available"
*temp q42s2 "available"
*temp q42s3 "available"
*temp q42s4 "available"
*temp q42s5 "available"
*temp q42s6 "available"
*temp q42s7 "available"
*temp q42s8 "available"
*temp q42s9 "available"
*temp q42s10 "available"
*temp q42s11 "available"

*temp q43s1 "available"
*temp q43s2 "available"
*temp q43s3 "available"
*temp q43s4 "available"
*temp q43s5 "available"
*temp q43s6 "available"
*temp q43s7 "available"
*temp q43s8 "available"
*temp q43s9 "available"
*temp q43s10 "available"
*temp q43s11 "available"

*temp q44s1 "available"
*temp q44s2 "available"
*temp q44s3 "available"
*temp q44s4 "available"
*temp q44s5 "available"
*temp q44s6 "available"
*temp q44s7 "available"
*temp q44s8 "available"
*temp q44s9 "available"
*temp q44s10 "available"
*temp q44s11 "available"

*temp q45s1 "available"
*temp q45s2 "available"
*temp q45s3 "available"
*temp q45s4 "available"
*temp q45s5 "available"
*temp q45s6 "available"
*temp q45s7 "available"
*temp q45s8 "available"
*temp q45s9 "available"
*temp q45s10 "available"
*temp q45s11 "available"

*temp q46s1 "available"
*temp q46s2 "available"
*temp q46s3 "available"
*temp q46s4 "available"
*temp q46s5 "available"
*temp q46s6 "available"
*temp q46s7 "available"
*temp q46s8 "available"
*temp q46s9 "available"
*temp q46s10 "available"
*temp q46s11 "available"

*temp q47s1 "available"
*temp q47s2 "available"
*temp q47s3 "available"
*temp q47s4 "available"
*temp q47s5 "available"
*temp q47s6 "available"
*temp q47s7 "available"
*temp q47s8 "available"
*temp q47s9 "available"
*temp q47s10 "available"
*temp q47s11 "available"

*temp q48s1 "available"
*temp q48s2 "available"
*temp q48s3 "available"
*temp q48s4 "available"
*temp q48s5 "available"
*temp q48s6 "available"
*temp q48s7 "available"
*temp q48s8 "available"
*temp q48s9 "available"
*temp q48s10 "available"
*temp q48s11 "available"

*temp q49s1 "available"
*temp q49s2 "available"
*temp q49s3 "available"
*temp q49s4 "available"
*temp q49s5 "available"
*temp q49s6 "available"
*temp q49s7 "available"
*temp q49s8 "available"
*temp q49s9 "available"
*temp q49s10 "available"
*temp q49s11 "available"

*temp q50s1 "available"
*temp q50s2 "available"
*temp q50s3 "available"
*temp q50s4 "available"
*temp q50s5 "available"
*temp q50s6 "available"
*temp q50s7 "available"
*temp q50s8 "available"
*temp q50s9 "available"
*temp q50s10 "available"
*temp q50s11 "available"

*temp q51s1 "available"
*temp q51s2 "available"
*temp q51s3 "available"
*temp q51s4 "available"
*temp q51s5 "available"
*temp q51s6 "available"
*temp q51s7 "available"
*temp q51s8 "available"
*temp q51s9 "available"
*temp q51s10 "available"
*temp q51s11 "available"

*temp q52s1 "available"
*temp q52s2 "available"
*temp q52s3 "available"
*temp q52s4 "available"
*temp q52s5 "available"
*temp q52s6 "available"
*temp q52s7 "available"
*temp q52s8 "available"
*temp q52s9 "available"
*temp q52s10 "available"
*temp q52s11 "available"

*temp q53s1 "available"
*temp q53s2 "available"
*temp q53s3 "available"
*temp q53s4 "available"
*temp q53s5 "available"
*temp q53s6 "available"
*temp q53s7 "available"
*temp q53s8 "available"
*temp q53s9 "available"
*temp q53s10 "available"
*temp q53s11 "available"

*temp q54s1 "available"
*temp q54s2 "available"
*temp q54s3 "available"
*temp q54s4 "available"
*temp q54s5 "available"
*temp q54s6 "available"
*temp q54s7 "available"
*temp q54s8 "available"
*temp q54s9 "available"
*temp q54s10 "available"
*temp q54s11 "available"

*temp q55s1 "available"
*temp q55s2 "available"
*temp q55s3 "available"
*temp q55s4 "available"
*temp q55s5 "available"
*temp q55s6 "available"
*temp q55s7 "available"
*temp q55s8 "available"
*temp q55s9 "available"
*temp q55s10 "available"
*temp q55s11 "available"

*temp q56s1 "available"
*temp q56s2 "available"
*temp q56s3 "available"
*temp q56s4 "available"
*temp q56s5 "available"
*temp q56s6 "available"
*temp q56s7 "available"
*temp q56s8 "available"
*temp q56s9 "available"
*temp q56s10 "available"
*temp q56s11 "available"

*temp q57s1 "available"
*temp q57s2 "available"
*temp q57s3 "available"
*temp q57s4 "available"
*temp q57s5 "available"
*temp q57s6 "available"
*temp q57s7 "available"
*temp q57s8 "available"
*temp q57s9 "available"
*temp q57s10 "available"
*temp q57s11 "available"

*temp q58s1 "available"
*temp q58s2 "available"
*temp q58s3 "available"
*temp q58s4 "available"
*temp q58s5 "available"
*temp q58s6 "available"
*temp q58s7 "available"
*temp q58s8 "available"
*temp q58s9 "available"
*temp q58s10 "available"
*temp q58s11 "available"

*temp q59s1 "available"
*temp q59s2 "available"
*temp q59s3 "available"
*temp q59s4 "available"
*temp q59s5 "available"
*temp q59s6 "available"
*temp q59s7 "available"
*temp q59s8 "available"
*temp q59s9 "available"
*temp q59s10 "available"
*temp q59s11 "available"

*temp q60s1 "available"
*temp q60s2 "available"
*temp q60s3 "available"
*temp q60s4 "available"

*temp q61s1 "available"
*temp q61s2 "available"
*temp q61s3 "available"
*temp q61s4 "available"

*temp q62s1 "available"
*temp q62s2 "available"
*temp q62s3 "available"
*temp q62s4 "available"

*temp q63s1 "available"
*temp q63s2 "available"
*temp q63s3 "available"
*temp q63s4 "available"

*temp q64s1 "available"
*temp q64s2 "available"
*temp q64s3 "available"
*temp q64s4 "available"

*temp q65s1 "available"
*temp q65s2 "available"
*temp q65s3 "available"
*temp q65s4 "available"

*temp q66s1 "available"
*temp q66s2 "available"
*temp q66s3 "available"
*temp q66s4 "available"

*temp q67s1 "available"
*temp q67s2 "available"
*temp q67s3 "available"
*temp q67s4 "available"

*temp q68s1 "available"
*temp q68s2 "available"
*temp q68s3 "available"
*temp q68s4 "available"

*temp q69s1 "available"
*temp q69s2 "available"
*temp q69s3 "available"
*temp q69s4 "available"

*temp q70s1 "available"
*temp q70s2 "available"
*temp q70s3 "available"
*temp q70s4 "available"

*temp q71s1 "available"
*temp q71s2 "available"
*temp q71s3 "available"
*temp q71s4 "available"

*temp q72s1 "available"
*temp q72s2 "available"
*temp q72s3 "available"
*temp q72s4 "available"

*temp q73s1 "available"
*temp q73s2 "available"
*temp q73s3 "available"
*temp q73s4 "available"

*temp q74s1 "available"
*temp q74s2 "available"
*temp q74s3 "available"
*temp q74s4 "available"

*temp q75s1 "available"
*temp q75s2 "available"
*temp q75s3 "available"
*temp q75s4 "available"

*temp q76s1 "available"
*temp q76s2 "available"
*temp q76s3 "available"
*temp q76s4 "available"

*temp q77s1 "available"
*temp q77s2 "available"
*temp q77s3 "available"
*temp q77s4 "available"

*temp q78s1 "available"
*temp q78s2 "available"
*temp q78s3 "available"
*temp q78s4 "available"

*temp q79s1 "available"
*temp q79s2 "available"
*temp q79s3 "available"
*temp q79s4 "available"

*temp q80s1 "available"
*temp q80s2 "available"
*temp q80s3 "available"
*temp q80s4 "available"

*temp q81s1 "available"
*temp q81s2 "available"
*temp q81s3 "available"
*temp q81s4 "available"

*temp q82s1 "available"
*temp q82s2 "available"
*temp q82s3 "available"
*temp q82s4 "available"

*temp q83s1 "available"
*temp q83s2 "available"
*temp q83s3 "available"
*temp q83s4 "available"

*temp q84s1 "available"
*temp q84s2 "available"
*temp q84s3 "available"
*temp q84s4 "available"

*temp q85s1 "available"
*temp q85s2 "available"
*temp q85s3 "available"
*temp q85s4 "available"

*temp q86s1 "available"
*temp q86s2 "available"
*temp q86s3 "available"
*temp q86s4 "available"

*temp q87s1 "available"
*temp q87s2 "available"
*temp q87s3 "available"
*temp q87s4 "available"

*temp q88s1 "available"
*temp q88s2 "available"
*temp q88s3 "available"
*temp q88s4 "available"

*temp q89s1 "available"
*temp q89s2 "available"
*temp q89s3 "available"
*temp q89s4 "available"

*temp q90s1 "available"
*temp q90s2 "available"
*temp q90s3 "available"
*temp q90s4 "available"

*temp q91s1 "available"
*temp q91s2 "available"
*temp q91s3 "available"
*temp q91s4 "available"

*temp q92s1 "available"
*temp q92s2 "available"
*temp q92s3 "available"
*temp q92s4 "available"

*temp q93s1 "available"
*temp q93s2 "available"
*temp q93s3 "available"
*temp q93s4 "available"

*temp q94s1 "available"
*temp q94s2 "available"
*temp q94s3 "available"
*temp q94s4 "available"

*temp q95s1 "available"
*temp q95s2 "available"
*temp q95s3 "available"
*temp q95s4 "available"

*temp q96s1 "available"
*temp q96s2 "available"
*temp q96s3 "available"
*temp q96s4 "available"

*temp q97s1 "available"
*temp q97s2 "available"
*temp q97s3 "available"
*temp q97s4 "available"

*temp q98s1 "available"
*temp q98s2 "available"
*temp q98s3 "available"
*temp q98s4 "available"

*temp q99s1 "available"
*temp q99s2 "available"
*temp q99s3 "available"
*temp q99s4 "available"

*temp q100s1 "available"
*temp q100s2 "available"
*temp q100s3 "available"
*temp q100s4 "available"

*temp q101s1 "available"
*temp q101s2 "available"
*temp q101s3 "available"
*temp q101s4 "available"

*temp q102s1 "available"
*temp q102s2 "available"
*temp q102s3 "available"
*temp q102s4 "available"

*temp q103s1 "available"
*temp q103s2 "available"
*temp q103s3 "available"
*temp q103s4 "available"

*temp q104s1 "available"
*temp q104s2 "available"
*temp q104s3 "available"
*temp q104s4 "available"

*temp q105s1 "available"
*temp q105s2 "available"
*temp q105s3 "available"
*temp q105s4 "available"

*temp q106s1 "available"
*temp q106s2 "available"
*temp q106s3 "available"
*temp q106s4 "available"

*temp q107s1 "available"
*temp q107s2 "available"
*temp q107s3 "available"
*temp q107s4 "available"

*temp q108s1 "available"
*temp q108s2 "available"
*temp q108s3 "available"
*temp q108s4 "available"

*temp q109s1 "available"
*temp q109s2 "available"
*temp q109s3 "available"
*temp q109s4 "available"

*temp q110s1 "available"
*temp q110s2 "available"
*temp q110s3 "available"
*temp q110s4 "available"

*temp q111s1 "available"
*temp q111s2 "available"
*temp q111s3 "available"
*temp q111s4 "available"



*temp number 1
*temp planetquad ""
*temp planetsect ""

*temp checkname ""

*label begin

*if number > 150
	*goto done

*rand dieroll 1 111

*set planetquad "planet${number}_quadrant"
*set {planetquad} dieroll
*set planetquad dieroll

*rand dieroll 1 4

*set planetsect "planet${number}_sector"
*set {planetsect} dieroll
*set planetsect dieroll

*set checkname "q${planetquad}s${planetsect}"

*if {checkname} = "available"
	*set {checkname} "occupied"
	*set number +1
	*goto begin
*else
	*goto begin


*label done

*set number 1
*temp starbasequad ""
*temp starbasesect ""

*label begin1

*if number > 11
	*goto done1

*rand dieroll 1 111

*set planetquad "starbase${number}_quadrant"
*set {planetquad} dieroll
*set planetquad dieroll

*rand dieroll 1 4

*set planetsect "starbase${number}_sector"
*set {planetsect} dieroll
*set planetsect dieroll

*set checkname "q${planetquad}s${planetsect}"

*if {checkname} = "available"
	*set {checkname} "occupied"
	*set number +1
	*goto begin1
*else
	*goto begin1


*label done1

*set number 1
*set planetquad ""
*set planetsect ""

*label begin2

*if number > 3
	*goto done2

*rand dieroll 1 111

*set planetquad "asteroid${number}_quadrant"
*set {planetquad} dieroll
*set planetquad dieroll

*rand dieroll 1 4

*set planetsect "asteroid${number}_sector"
*set {planetsect} dieroll
*set planetsect dieroll

*set checkname "q${planetquad}s${planetsect}"

*if {checkname} = "available"
	*set {checkname} "occupied"
	*set number +1
	*goto begin2
*else
	*goto begin2


*label done2

*set number 1
*set planetquad ""
*set planetsect ""

*label begin3

*if number > 7
	*goto done3

*rand dieroll 1 111

*set planetquad "blackhole${number}_quadrant"
*set {planetquad} dieroll
*set planetquad dieroll

*rand dieroll 1 4

*set planetsect "blackhole${number}_sector"
*set {planetsect} dieroll
*set planetsect dieroll

*set checkname "q${planetquad}s${planetsect}"

*if {checkname} = "available"
	*set {checkname} "occupied"
	*set number +1
	*goto begin3
*else
	*goto begin3


*label done3



*return

*return