-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpnbitsTypes.mjs
More file actions
50 lines (49 loc) · 1.35 KB
/
pnbitsTypes.mjs
File metadata and controls
50 lines (49 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/**
* @file ninjanode main permanent natural bodies configuration.
*/
export const pnbitsTypes = [
{
major: 'planet',
minor: 'm', // Earth like
cssClass: 'planet_a', // Match to styles.css class
solid: true, // True is solid material, false is gas giant
rarity: 0.5, // 1 is common, 0 is never spawned
ranges: {
radius: [100, 200],
density: [1, 3],
},
},
{
major: 'planet',
minor: 'g', // Mars like?
cssClass: 'planet_b', // Match to styles.css class
solid: true, // True is solid material, false is gas giant
rarity: 0.7, // 1 is common, 0 is never spawned
ranges: {
radius: [110, 280],
density: [1, 2],
},
},
{
major: 'planet',
minor: 'x', // Venus like?
cssClass: 'planet_c', // Match to styles.css class
solid: true, // True is solid material, false is gas giant
rarity: 0.3, // 1 is common, 0 is never spawned
ranges: {
radius: [110, 180], // Min, Max in pixels
density: [1, 4], // Sets gravitation attraction based on radius
},
},
{
major: 'planet',
minor: 'n', // Jupiter like?
cssClass: 'planet_d', // Match to styles.css class
solid: false, // True is solid material, false is gas giant
rarity: 0.1, // 1 is common, 0 is never spawned
ranges: {
radius: [280, 400],
density: [3, 5],
},
},
];