Skip to content

Commit bd955cf

Browse files
committed
more TODO
1 parent 619b0fb commit bd955cf

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ public class DefaultAircraftPresets {
685685
.addEmptySlot("internal_2", SlotType.INTERNAL)
686686
.addEmptySlot("internal_3", SlotType.ADVANCED_INTERNAL)
687687
.setSlotItem("internal_3", ModItems.AXCEL_TRUCK_RADAR.getId())
688-
.lockSlot("internal_3")
688+
.lockSlot("internal_3") // TODO 2.5 make axcel truck radar removable
689689
.addEmptySlot("internal_4", SlotType.ADVANCED_INTERNAL)
690690
.build();
691691

src/main/java/com/onewhohears/dscombat/data/parts/PartSlot.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public boolean removePartData(EntityAircraft plane) {
138138
public boolean isCompatible(PartData data) {
139139
//System.out.println("is "+data+" compatible with "+this);
140140
if (data == null) return false;
141+
// TODO 7.4 check for duplicates
141142
SlotType[] types = data.getCompatibleSlots();
142143
for (int i = 0; i < types.length; ++i) if (types[i] == getSlotType()) return true;
143144
return false;
@@ -159,6 +160,8 @@ public SlotType getSlotType() {
159160
return type;
160161
}
161162

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
162165
public static enum SlotType {
163166
SEAT("slottype.dscombat.seat"),
164167
WING("slottype.dscombat.wing"),

src/main/java/com/onewhohears/dscombat/entity/aircraft/EntityAircraft.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ public abstract class EntityAircraft extends Entity implements IEntityAdditional
182182
// TODO 3.1 vehicle armor plating that reduces damage
183183
// TODO 3.2 reduce damage passengers receive based on armor. make it configurable. especially explosive damage.
184184
// 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
185189

186190
public EntityAircraft(EntityType<? extends EntityAircraft> entityType, Level level,
187191
AircraftPreset defaultPreset,
@@ -285,6 +289,7 @@ else if (!AircraftPresets.get().has(preset)) {
285289
item = ap.getItem();
286290
CompoundTag presetNbt = ap.getDataAsNBT();
287291
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
288293
partsManager.read(nbt);
289294
weaponSystem.read(nbt);
290295
radarSystem.read(nbt);

src/main/java/com/onewhohears/dscombat/entity/weapon/AntiRadarMissile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public boolean dieIfNoTargetOutsideTickRange() {
4242
protected List<ARTarget> targets = new ArrayList<ARTarget>();
4343

4444
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
4646
targets.clear();
4747
// planes
4848
List<EntityAircraft> planes = level.getEntitiesOfClass(

src/main/java/com/onewhohears/dscombat/init/ModEntities.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,10 @@ public static void register(IEventBus eventBus) {
149149
* OTHER
150150
* Weather Balloon
151151
*
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
153153
* AI turret controllers need time and resources invested to level up
154154
* it would be funny if they were villagers
155+
* IDEA 9.2 pillager outposts with air defense
155156
*/
156157

157158
public static final RegistryObject<EntityType<EntitySeat>> SEAT = ENTITIES.register("seat",

src/main/java/com/onewhohears/dscombat/init/ModItems.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ public ItemStack makeIcon() {
6262
// DISKS
6363

6464
// 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
6667

6768
// PARTS
6869
public static final RegistryObject<Item> TI83 = ITEMS.register("ti83",
@@ -101,6 +102,7 @@ public ItemStack makeIcon() {
101102
() -> new ItemRepairTool(20, 5));
102103
public static final RegistryObject<Item> THICK_WRENCH = ITEMS.register("thick_wrench",
103104
() -> new ItemRepairTool(200, 5));
105+
// TODO 2.3 parachute/emergency ejection
104106

105107
// CREATIVE WANDS
106108
public static final RegistryObject<Item> NO_CONSUME_WAND = ITEMS.register("no_consume_wand",

0 commit comments

Comments
 (0)