Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- atmosprite = noone
- if planet_heat_measure[s,p] = 1
- {
- if planet_size_value[s,p] = 1
- {
- chance = 1 + irandom(7)
- if chance = 1
- {
- type=38 //burning ice planet
- }
- else if chance = 2
- {
- type=23 //bipolar planet
- }
- else if chance = 3
- {
- type=26 //carbon magma planet
- }
- else if chance = 4
- {
- type=56 //glowing metal world
- }
- else if chance = 6
- {
- type=25 //sillicate magma planet
- }
- else if chance = 7
- {
- type=65 //orange radioactive world
- }
- else if chance = 8
- {
- type=54 //graphite diamond world
- }
- }
- else if planet_size_value[s,p] = 2
- {
- chance = 1 + irandom(9)
- if chance = 1
- {
- type=38 //burning ice planet
- }
- else if chance = 2
- {
- type=23 //bipolar planet
- }
- else if chance = 3
- {
- type=26 //carbon magma planet
- }
- else if chance = 4
- {
- type=56 //glowing metal world
- }
- else if chance = 6
- {
- type=25 //sillicate magma planet
- }
- else if chance = 7
- {
- type=65 //orange radioactive world
- }
- else if chance = 8
- {
- type=27 //iron hazey planet
- }
- else if chance = 9
- {
- type=54 //graphite diamond world
- }
- else if chance = 10
- {
- type=52 //water plasma planet
- }
- }
- else if planet_size_value[s,p] = 3
- {
- chance = 1 + irandom(9)
- if chance = 1
- {
- type=38 //burning ice planet
- }
- else if chance = 2
- {
- type=23 //bipolar planet
- }
- else if chance = 3
- {
- type=26 //carbon magma planet
- }
- else if chance = 4
- {
- type=56 //glowing metal world
- }
- else if chance = 6
- {
- type=25 //sillicate magma planet
- }
- else if chance = 7
- {
- type=65 //orange radioactive world
- }
- else if chance = 8
- {
- type=27 //iron hazey planet
- }
- else if chance = 9
- {
- type=54 //graphite diamond world
- }
- else if chance = 10
- {
- type=52 //water plasma planet
- }
- }
- else if planet_size_value[s,p] = 4
- {
- chance = 1 + irandom(9)
- if chance = 1
- {
- type=38 //burning ice planet
- }
- else if chance = 2
- {
- type=23 //bipolar planet
- }
- else if chance = 3
- {
- type=26 //carbon magma planet
- }
- else if chance = 4
- {
- type=56 //glowing metal world
- }
- else if chance = 6
- {
- type=25 //sillicate magma planet
- }
- else if chance = 7
- {
- type=65 //orange radioactive world
- }
- else if chance = 8
- {
- type=27 //iron hazey planet
- }
- else if chance = 9
- {
- type=54 //graphite diamond world
- }
- else if chance = 10
- {
- type=52 //water plasma planet
- }
- }
- else if planet_size_value[s,p] = 5
- {
- chance = 1 + irandom(9)
- if chance = 1
- {
- type=38 //burning ice planet
- }
- else if chance = 2
- {
- type=23 //bipolar planet
- }
- else if chance = 3
- {
- type=26 //carbon magma planet
- }
- else if chance = 4
- {
- type=56 //glowing metal world
- }
- else if chance = 6
- {
- type=25 //sillicate magma planet
- }
- else if chance = 7
- {
- type=65 //orange radioactive world
- }
- else if chance = 8
- {
- type=27 //iron hazey planet
- }
- else if chance = 9
- {
- type=54 //graphite diamond world
- }
- else if chance = 10
- {
- type=52 //water plasma planet
- }
- }
- else if planet_size_value[s,p] = 6
- {
- chance = 1 + irandom(5)
- if chance = 1
- {
- type=1 //cobalt giant
- }
- else if chance = 2
- {
- type=8 //helium giant
- }
- else if chance = 3
- {
- type=2 //iron giant
- }
- else if chance = 4
- {
- type=6 //titanium giant
- }
- else if chance = 5
- {
- type=64 //copper giant
- }
- else if chance = 6
- {
- type=3 //zinc giant
- }
- }
- }
- else if planet_heat_measure[s,p] = 2
- {
- if planet_size_value[s,p] = 1
- {
- chance = 1 + irandom(8);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type = 37 //water aquifer planet
- }
- }
- else if planet_size_value[s,p] = 2
- {
- chance = 1 + irandom(22);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type=39 //habitable desert planet
- }
- else if chance = 20
- {
- type=45 //habitable mesa planet
- }
- else if chance = 21
- {
- type=48 //habitable steppe planet
- }
- else if chance = 22
- {
- type=46 //habitable tropical planet
- }
- else if chance = 23
- {
- type=47 //habitable swampy planet
- }
- }
- else if planet_size_value[s,p] = 3
- {
- chance = 1 + irandom(22);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type=39 //habitable desert planet
- }
- else if chance = 20
- {
- type=45 //habitable mesa planet
- }
- else if chance = 21
- {
- type=48 //habitable steppe planet
- }
- else if chance = 22
- {
- type=46 //habitable tropical planet
- }
- else if chance = 23
- {
- type=47 //habitable swampy planet
- }
- }
- else if planet_size_value[s,p] = 4
- {
- chance = 1 + irandom(22);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type=39 //habitable desert planet
- }
- else if chance = 20
- {
- type=45 //habitable mesa planet
- }
- else if chance = 21
- {
- type=48 //habitable steppe planet
- }
- else if chance = 22
- {
- type=46 //habitable tropical planet
- }
- else if chance = 23
- {
- type=47 //habitable swampy planet
- }
- }
- else if planet_size_value[s,p] = 5
- {
- chance = 1 + irandom(17);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- }
- else if planet_size_value[s,p] = 6
- {
- chance = 1 + irandom(3)
- if chance = 1
- {
- type=11 //ammonia giant
- }
- else if chance = 2
- {
- type=10 //water giant
- }
- else if chance = 3
- {
- type=14 //carbon dioxide giant
- }
- else if chance = 4
- {
- type=13 //nitrogen dioxide giant
- }
- }
- }
- else if planet_heat_measure[s,p] = 3
- {
- if planet_size_value[s,p] = 1
- {
- chance = 1 + irandom(8);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type = 37 //water aquifer planet
- }
- }
- else if planet_size_value[s,p] = 2
- {
- chance = 1 + irandom(21);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type = 40 //habitable continental planet
- }
- else if chance = 20
- {
- type = 44 //habitable mountain planet
- }
- else if chance = 21
- {
- type = 41 //habitable ocean planet
- }
- else if chance = 22
- {
- type = 47 //habitable swampy planet
- }
- }
- else if planet_size_value[s,p] = 3
- {
- chance = 1 + irandom(21);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type = 40 //habitable continental planet
- }
- else if chance = 20
- {
- type = 44 //habitable mountain planet
- }
- else if chance = 21
- {
- type = 41 //habitable ocean planet
- }
- else if chance = 22
- {
- type = 47 //habitable swampy planet
- }
- }
- else if planet_size_value[s,p] = 4
- {
- chance = 1 + irandom(21);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type = 40 //habitable continental planet
- }
- else if chance = 20
- {
- type = 44 //habitable mountain planet
- }
- else if chance = 21
- {
- type = 41 //habitable ocean planet
- }
- else if chance = 22
- {
- type = 47 //habitable swampy planet
- }
- }
- else if planet_size_value[s,p] = 5
- {
- chance = 1 + irandom(17);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- }
- else if planet_size_value[s,p] = 6
- {
- chance = 1 + irandom(4)
- if chance = 1
- {
- type=11 //ammonia giant
- }
- else if chance = 2
- {
- type=10 //water giant
- }
- else if chance = 3
- {
- type=14 //carbon dioxide giant
- }
- else if chance = 4
- {
- type=13 //nitrogen dioxide giant
- }
- else if chance = 5
- {
- type=12 //sulfur giant
- }
- }
- }
- else if planet_heat_measure[s,p] = 4
- {
- if planet_size_value[s,p] = 1
- {
- chance = 1 + irandom(8);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type = 37 //water aquifer planet
- }
- }
- else if planet_size_value[s,p] = 2
- {
- chance = 1 + irandom(19);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type=43 //chilly mountain planet
- }
- else if chance = 20
- {
- type=42 //habitable snowey planet
- }
- }
- else if planet_size_value[s,p] = 3
- {
- chance = 1 + irandom(19);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type=43 //chilly mountain planet
- }
- else if chance = 20
- {
- type=42 //habitable snowey planet
- }
- }
- else if planet_size_value[s,p] = 4
- {
- chance = 1 + irandom(19);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type=43 //chilly mountain planet
- }
- else if chance = 20
- {
- type=42 //habitable snowey planet
- }
- }
- else if planet_size_value[s,p] = 5
- {
- chance = 1 + irandom(17);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- }
- else if planet_size_value[s,p] = 6
- {
- chance = 1 + irandom(3)
- if chance = 1
- {
- type=13 //nitrogen dioxide giant
- }
- if chance = 2
- {
- type=9 //methane giant
- }
- if chance = 3
- {
- type=14 //carbon dioxide giant
- }
- if chance = 4
- {
- type=12 //sulfur giant
- }
- }
- }
- else if planet_heat_measure[s,p] = 5 //chilly
- {
- if planet_size_value[s,p] = 1 //tiny
- {
- chance = 1 + irandom(12);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type = 37 //water aquifer planet
- }
- else if chance = 10
- {
- type = 67 //snow covered planet
- }
- else if chance = 11
- {
- type=49 //nitrogen ice planet
- }
- else if chance = 12
- {
- type=50 //water volcano planet
- }
- else if chance = 13
- {
- type=51 //ice covered ocean planet
- }
- }
- else if planet_size_value[s,p] = 2 //small
- {
- chance = 1 + irandom(21);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type = 67 //snow covered planet
- }
- else if chance = 20
- {
- type=49 //nitrogen ice planet
- }
- else if chance = 21
- {
- type=50 //water volcano planet
- }
- else if chance = 22
- {
- type=51 //ice covered ocean planet
- }
- }
- else if planet_size_value[s,p] = 3 //medium
- {
- chance = 1 + irandom(21);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type = 67 //snow covered planet
- }
- else if chance = 20
- {
- type=49 //nitrogen ice planet
- }
- else if chance = 21
- {
- type=50 //water volcano planet
- }
- else if chance = 22
- {
- type=51 //ice covered ocean planet
- }
- }
- else if planet_size_value[s,p] = 4 //large
- {
- chance = 1 + irandom(21);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type = 67 //snow covered planet
- }
- else if chance = 20
- {
- type=49 //nitrogen ice planet
- }
- else if chance = 21
- {
- type=50 //water volcano planet
- }
- else if chance = 22
- {
- type=51 //ice covered ocean planet
- }
- }
- else if planet_size_value[s,p] = 5 //huge
- {
- chance = 1 + irandom(21);
- if chance = 1
- {
- type=63 //cratered white world
- }
- else if chance = 2
- {
- type=62 //cratered black world
- }
- else if chance = 3
- {
- type=61 //cratered gray world
- }
- else if chance = 4
- {
- type=59 //cratered green world
- }
- else if chance = 5
- {
- type=58 //cratered red world
- }
- else if chance = 6
- {
- type=57 //cratered brown world
- }
- else if chance = 7
- {
- type=60 //cratered blue world
- }
- else if chance = 8
- {
- type=35 //sulfuric planet
- }
- else if chance = 9
- {
- type=36 //sulfur orb planet
- atmosprite = c_yellow
- }
- else if chance = 10
- {
- type=28 //brown telluric planet
- }
- else if chance = 11
- {
- type=29 //red iron planet
- }
- else if chance = 12
- {
- type=37 //water aquifer planet
- }
- else if chance = 13
- {
- type=33 //black telluric planet
- }
- else if chance = 14
- {
- type=34 //white telluric planet
- }
- else if chance = 15
- {
- type=32 //gray telluric planet
- }
- else if chance = 16
- {
- type=31 //blue telluric planet
- }
- else if chance = 17
- {
- type=30 //green telluric planet
- }
- else if chance = 18
- {
- type=65 //ornage radioactive world
- }
- else if chance = 19
- {
- type = 67 //snow covered planet
- }
- else if chance = 20
- {
- type=49 //nitrogen ice planet
- }
- else if chance = 21
- {
- type=50 //water volcano planet
- }
- else if chance = 22
- {
- type=51 //ice covered ocean planet
- }
- }
- else if planet_size_value[s,p] = 6 //supermassive
- {
- chance = 1 + irandom(5)
- if chance = 1
- {
- type=15 //blue ice giant
- }
- else if chance = 2
- {
- type=16 //cyan ice giant
- }
- else if chance = 3
- {
- type=17 //dark blue ice giant
- }
- else if chance = 4
- {
- type=18 //purple ice giant
- }
- else if chance = 5
- {
- type=19 //pink giant
- }
- else if chance = 6
- {
- type=20 //orange giant
- }
- else if chance = 7
- {
- type=22 //neon giant
- }
- else if chance = 8
- {
- type=21 //yellow giant
- }
- }
- }
- else if planet_heat_measure[s,p] = 0 //super hot
- {
- if planet_size_value[s,p] = 1 //tiny
- {
- type=53 //lava world
- }
- else if planet_size_value[s,p] = 2 //small
- {
- type=53 //lava world
- }
- else if planet_size_value[s,p] = 3 //medium
- {
- type=53 //lava world
- }
- else if planet_size_value[s,p] = 4 //large
- {
- type=53 //lava world
- }
- else if planet_size_value[s,p] = 5 //huge
- {
- type=53 //lava world
- }
- else if planet_size_value[s,p] = 6 //supermassive
- {
- chance = 1 + irandom(2)
- if chance = 1
- {
- type=7 //sillicate giant
- atmosprite = c_yellow
- }
- else if chance = 2
- {
- type= 4 //black giant
- atmosprite = c_black
- }
- else if chance = 3
- {
- type=5 //red striped giant
- atmosprite = c_red
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement