Skip to content

Commit beef4d1

Browse files
SimonC4Cervator
authored andcommitted
Reviewed all hull json files (excluding rigidBody element)
1. imperialMedium - gun underneath hull: https://github.com/MovingBlocks/DestinationSol/blob/master/main/res/configs/hulls.json#L103 2. minerSmall - fixed JSON formatting
1 parent 9ef5678 commit beef4d1

File tree

2 files changed

+89
-15
lines changed

2 files changed

+89
-15
lines changed

main/res/configs/hulls/imperialMedium/properties.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99
"factor":0.4,
1010
"rechargeTime":5
1111
},
12-
"g1UnderShip":true,
1312
"e1Pos":"0.15 0.52",
1413
"e2Pos":"0.15 0.62",
1514
"displayName":"Fighter",
1615
"engine":"imperial",
1716
"gunSlots":[
1817
{
1918
"position":"0.4 0.2",
20-
"isUnderneathHull":false,
19+
"isUnderneathHull":true,
2120
"allowsRotation":false
2221
}
2322
],
Lines changed: 88 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
{
2-
"size": 0.48,
3-
"maxLife": 55,
4-
"type": "std",
5-
6-
"ability": {
7-
"type": "knockBack",
8-
"force": 150,
9-
"rechargeTime": 10
2+
"size":0.48,
3+
"maxLife":55,
4+
"type":"std",
5+
"ability":{
6+
"type":"knockBack",
7+
"force":150,
8+
"rechargeTime":10
109
},
11-
12-
"e1Pos": "0.1 0.2",
13-
"e2Pos": "0.1 0.8",
14-
"engine": "miner",
10+
"e1Pos":"0.1 0.2",
11+
"e2Pos":"0.1 0.8",
12+
"engine":"miner",
1513
"gunSlots":[
1614
{
1715
"position":"0.75 0.7",
@@ -24,5 +22,82 @@
2422
"allowsRotation":false
2523
}
2624
],
27-
"rigidBody": {"origin":{"x":0.5871211290359497,"y":0.4337121546268463},"polygons":[[{"x":0.598484992980957,"y":0.759469747543335},{"x":0.13636362552642822,"y":0.8731061220169067},{"x":0.12878787517547607,"y":0.13825759291648865}],[{"x":0.12878787517547607,"y":0.13825759291648865},{"x":0.8295454978942871,"y":0.10795453190803528},{"x":0.9886364936828613,"y":0.30492427945137024},{"x":0.924242377281189,"y":0.8314393162727356},{"x":0.598484992980957,"y":0.759469747543335}]],"circles":[],"shapes":[{"type":"POLYGON","vertices":[{"x":0.12878787517547607,"y":0.13825759291648865},{"x":0.13636362552642822,"y":0.8731061220169067},{"x":0.598484992980957,"y":0.759469747543335},{"x":0.924242377281189,"y":0.8314393162727356},{"x":0.9886364936828613,"y":0.30492427945137024},{"x":0.8295454978942871,"y":0.10795453190803528}]}]}
25+
"rigidBody":{
26+
"origin":{
27+
"x":0.5871211290359497,
28+
"y":0.4337121546268463
29+
},
30+
"polygons":[
31+
[
32+
{
33+
"x":0.598484992980957,
34+
"y":0.759469747543335
35+
},
36+
{
37+
"x":0.13636362552642822,
38+
"y":0.8731061220169067
39+
},
40+
{
41+
"x":0.12878787517547607,
42+
"y":0.13825759291648865
43+
}
44+
],
45+
[
46+
{
47+
"x":0.12878787517547607,
48+
"y":0.13825759291648865
49+
},
50+
{
51+
"x":0.8295454978942871,
52+
"y":0.10795453190803528
53+
},
54+
{
55+
"x":0.9886364936828613,
56+
"y":0.30492427945137024
57+
},
58+
{
59+
"x":0.924242377281189,
60+
"y":0.8314393162727356
61+
},
62+
{
63+
"x":0.598484992980957,
64+
"y":0.759469747543335
65+
}
66+
]
67+
],
68+
"circles":[
69+
70+
],
71+
"shapes":[
72+
{
73+
"type":"POLYGON",
74+
"vertices":[
75+
{
76+
"x":0.12878787517547607,
77+
"y":0.13825759291648865
78+
},
79+
{
80+
"x":0.13636362552642822,
81+
"y":0.8731061220169067
82+
},
83+
{
84+
"x":0.598484992980957,
85+
"y":0.759469747543335
86+
},
87+
{
88+
"x":0.924242377281189,
89+
"y":0.8314393162727356
90+
},
91+
{
92+
"x":0.9886364936828613,
93+
"y":0.30492427945137024
94+
},
95+
{
96+
"x":0.8295454978942871,
97+
"y":0.10795453190803528
98+
}
99+
]
100+
}
101+
]
102+
}
28103
}

0 commit comments

Comments
 (0)