Skip to content

Commit b5e62b4

Browse files
committed
gave tank extra internal slot
1 parent 852a662 commit b5e62b4

File tree

6 files changed

+39
-8
lines changed

6 files changed

+39
-8
lines changed

src/generated/resources/assets/dscombat/aircraft_client/mrbudger_tank.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@
88
"slot_ui_y": 20
99
},
1010
{
11-
"slot_name": "seat2",
11+
"slot_name": "seat1",
1212
"slot_ui_x": 68,
1313
"slot_ui_y": 20
1414
},
1515
{
16-
"slot_name": "seat3",
16+
"slot_name": "seat2",
1717
"slot_ui_x": 88,
1818
"slot_ui_y": 20
1919
},
2020
{
21-
"slot_name": "seat4",
21+
"slot_name": "seat3",
2222
"slot_ui_x": 108,
2323
"slot_ui_y": 20
2424
},
2525
{
26-
"slot_name": "seat5",
26+
"slot_name": "seat4",
2727
"slot_ui_x": 128,
2828
"slot_ui_y": 20
2929
},
@@ -41,6 +41,11 @@
4141
"slot_name": "internal_3",
4242
"slot_ui_x": 88,
4343
"slot_ui_y": 100
44+
},
45+
{
46+
"slot_name": "internal_4",
47+
"slot_ui_x": 108,
48+
"slot_ui_y": 100
4449
}
4550
],
4651
"presetId": "mrbudger_tank",

src/generated/resources/data/dscombat/aircraft/mrbudger_tank.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@
145145
"slot_posz": 0.0,
146146
"slot_type": "internal",
147147
"zRot": 0.0
148+
},
149+
{
150+
"name": "internal_4",
151+
"slot_posx": 0.0,
152+
"slot_posy": 0.0,
153+
"slot_posz": 0.0,
154+
"slot_type": "internal",
155+
"zRot": 0.0
148156
}
149157
],
150158
"stealth": 1.0,

src/generated/resources/data/dscombat/aircraft/mrbudger_tank_empty.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@
114114
"slot_posz": 0.0,
115115
"slot_type": "internal",
116116
"zRot": 0.0
117+
},
118+
{
119+
"name": "internal_4",
120+
"slot_posx": 0.0,
121+
"slot_posy": 0.0,
122+
"slot_posz": 0.0,
123+
"slot_type": "internal",
124+
"zRot": 0.0
117125
}
118126
],
119127
"stealth": 1.0,

src/generated/resources/data/dscombat/aircraft/mrbudger_tank_unarmed.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@
132132
"slot_posz": 0.0,
133133
"slot_type": "internal",
134134
"zRot": 0.0
135+
},
136+
{
137+
"name": "internal_4",
138+
"slot_posx": 0.0,
139+
"slot_posy": 0.0,
140+
"slot_posz": 0.0,
141+
"slot_type": "internal",
142+
"zRot": 0.0
135143
}
136144
],
137145
"stealth": 1.0,

src/main/java/com/onewhohears/dscombat/data/aircraft/AircraftClientPresetGenerator.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,14 @@ protected void registerPresets() {
7979
addPresetToGenerate(AircraftClientPreset.Builder.create(DSCombatMod.MODID, "mrbudger_tank")
8080
.setBackground("dscombat:textures/ui/vehicle_inventory_backgrounds/mrbudger_tank.png")
8181
.addUIPos(PartSlot.PILOT_SLOT_NAME, 48, 20)
82-
.addUIPos("seat2", 68, 20)
83-
.addUIPos("seat3", 88, 20)
84-
.addUIPos("seat4", 108, 20)
85-
.addUIPos("seat5", 128, 20)
82+
.addUIPos("seat1", 68, 20)
83+
.addUIPos("seat2", 88, 20)
84+
.addUIPos("seat3", 108, 20)
85+
.addUIPos("seat4", 128, 20)
8686
.addUIPos("internal_1", 48, 100)
8787
.addUIPos("internal_2", 68, 100)
8888
.addUIPos("internal_3", 88, 100)
89+
.addUIPos("internal_4", 108, 100)
8990
.build());
9091
addPresetToGenerate(AircraftClientPreset.Builder.create(DSCombatMod.MODID, "small_roller")
9192
.setBackground("dscombat:textures/ui/vehicle_inventory_backgrounds/small_roller.png")

src/main/java/com/onewhohears/dscombat/data/aircraft/DefaultAircraftPresets.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ public class DefaultAircraftPresets {
350350
.addEmptySlot("internal_1", SlotType.SPIN_ENGINE)
351351
.addEmptySlot("internal_2", SlotType.SPIN_ENGINE)
352352
.addEmptySlot("internal_3", SlotType.INTERNAL)
353+
.addEmptySlot("internal_4", SlotType.INTERNAL)
353354
.build();
354355

355356
public static final AircraftPreset UNARMED_MRBUDGER_TANK = AircraftPreset.Builder

0 commit comments

Comments
 (0)