File tree Expand file tree Collapse file tree 6 files changed +15
-4
lines changed
src/main/java/com/onewhohears/dscombat Expand file tree Collapse file tree 6 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -685,7 +685,7 @@ public class DefaultAircraftPresets {
685
685
.addEmptySlot ("internal_2" , SlotType .INTERNAL )
686
686
.addEmptySlot ("internal_3" , SlotType .ADVANCED_INTERNAL )
687
687
.setSlotItem ("internal_3" , ModItems .AXCEL_TRUCK_RADAR .getId ())
688
- .lockSlot ("internal_3" )
688
+ .lockSlot ("internal_3" ) // TODO 2.5 make axcel truck radar removable
689
689
.addEmptySlot ("internal_4" , SlotType .ADVANCED_INTERNAL )
690
690
.build ();
691
691
Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ public boolean removePartData(EntityAircraft plane) {
138
138
public boolean isCompatible (PartData data ) {
139
139
//System.out.println("is "+data+" compatible with "+this);
140
140
if (data == null ) return false ;
141
+ // TODO 7.4 check for duplicates
141
142
SlotType [] types = data .getCompatibleSlots ();
142
143
for (int i = 0 ; i < types .length ; ++i ) if (types [i ] == getSlotType ()) return true ;
143
144
return false ;
@@ -159,6 +160,8 @@ public SlotType getSlotType() {
159
160
return type ;
160
161
}
161
162
163
+ // FIXME 3 slot type should be read an a string id in preset data and not an int
164
+ // TODO 2.4 light/med/heavy turret slot type
162
165
public static enum SlotType {
163
166
SEAT ("slottype.dscombat.seat" ),
164
167
WING ("slottype.dscombat.wing" ),
Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ public abstract class EntityAircraft extends Entity implements IEntityAdditional
182
182
// TODO 3.1 vehicle armor plating that reduces damage
183
183
// TODO 3.2 reduce damage passengers receive based on armor. make it configurable. especially explosive damage.
184
184
// TODO 8.2 creative mode middle click should give aircraft item
185
+ // TODO 5.2 bitchin betty
186
+ // TODO 5.3 ir/anti radar targeting tone
187
+ // TODO 5.4 aircraft breaks apart when damaged
188
+ // FIXME refactor EntityAircraft to EntityVehicle
185
189
186
190
public EntityAircraft (EntityType <? extends EntityAircraft > entityType , Level level ,
187
191
AircraftPreset defaultPreset ,
@@ -285,6 +289,7 @@ else if (!AircraftPresets.get().has(preset)) {
285
289
item = ap .getItem ();
286
290
CompoundTag presetNbt = ap .getDataAsNBT ();
287
291
if (!nbt .getBoolean ("merged_preset" )) nbt .merge (presetNbt );
292
+ // FIXME 2 possibly all slot stats but definitely just slot positions should be forced and not configurable
288
293
partsManager .read (nbt );
289
294
weaponSystem .read (nbt );
290
295
radarSystem .read (nbt );
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public boolean dieIfNoTargetOutsideTickRange() {
42
42
protected List <ARTarget > targets = new ArrayList <ARTarget >();
43
43
44
44
protected void findARTarget () {
45
- // FIXME 3.2 make anti radar missile target entity type configurable so entities other mod entities can be targeted
45
+ // IDEA 7 make anti radar missile target entity type configurable so entities other mod entities can be targeted
46
46
targets .clear ();
47
47
// planes
48
48
List <EntityAircraft > planes = level .getEntitiesOfClass (
Original file line number Diff line number Diff line change @@ -149,9 +149,10 @@ public static void register(IEventBus eventBus) {
149
149
* OTHER
150
150
* Weather Balloon
151
151
*
152
- * IDEA 9 AI for planes/turrets or an auto pilot module
152
+ * IDEA 9.1 AI for planes/turrets or an auto pilot module
153
153
* AI turret controllers need time and resources invested to level up
154
154
* it would be funny if they were villagers
155
+ * IDEA 9.2 pillager outposts with air defense
155
156
*/
156
157
157
158
public static final RegistryObject <EntityType <EntitySeat >> SEAT = ENTITIES .register ("seat" ,
Original file line number Diff line number Diff line change @@ -62,7 +62,8 @@ public ItemStack makeIcon() {
62
62
// DISKS
63
63
64
64
// IDEA 8.1 Jupiter Missiles and Anadyr from blowback ost
65
- // IDEA 8.1 disk 911?
65
+ // IDEA 8.2 disk 911?
66
+ // IDEA 8.3 the missile knows where it is disk
66
67
67
68
// PARTS
68
69
public static final RegistryObject <Item > TI83 = ITEMS .register ("ti83" ,
@@ -101,6 +102,7 @@ public ItemStack makeIcon() {
101
102
() -> new ItemRepairTool (20 , 5 ));
102
103
public static final RegistryObject <Item > THICK_WRENCH = ITEMS .register ("thick_wrench" ,
103
104
() -> new ItemRepairTool (200 , 5 ));
105
+ // TODO 2.3 parachute/emergency ejection
104
106
105
107
// CREATIVE WANDS
106
108
public static final RegistryObject <Item > NO_CONSUME_WAND = ITEMS .register ("no_consume_wand" ,
You can’t perform that action at this time.
0 commit comments