Skip to content

Commit

Permalink
202402160300
Browse files Browse the repository at this point in the history
  • Loading branch information
PiggyChu620 committed Feb 15, 2024
1 parent 483ef01 commit 903e67c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/ec620/content/EC620Blocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public static void load()
//region Unlock hidden items
Blocks.slagCentrifuge.requirements(Category.crafting, with(Items.carbide, 70, Items.graphite, 60, Items.silicon, 40, Items.oxide, 40));
Blocks.heatReactor.requirements(Category.crafting, with(Items.oxide, 70, Items.graphite, 20, Items.carbide, 10, Items.thorium, 80));
Blocks.itemSource.requirements(Category.distribution, ItemStack.with(new Object[0]));
Blocks.liquidSource.requirements(Category.liquid, ItemStack.with(new Object[0]));
//content.blocks().forEach(b->b.buildVisibility=BuildVisibility.shown);
//endregion
//region Ores
Expand Down
10 changes: 5 additions & 5 deletions src/ec620/content/EC620Classes.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,9 @@ public LauchPadController(String name)
super(name);
size=7;
localizedName="Launch Pad Controller";
itemCapacity=2147483647;
itemCapacity=10000;
launchTime=60;
requirements(Category.crafting, with(Items.copper, 100));
requirements(Category.effect, with(Items.copper, 100));
}
public class LaunchPadControllerBuild extends LaunchPadBuild
{
Expand All @@ -173,7 +173,7 @@ public void buildConfiguration(Table table)
{
if (Vars.state.isCampaign() && other.planet == Vars.state.rules.sector.planet)
{
EC620Planets.ec620.sectors.select(s->s.info.wasCaptured).forEach(s->s.info.destination=other);
EC620Planets.ec620.sectors.select(s->s.info.hasCore).forEach(s->s.info.destination=other);
//Vars.state.rules.sector.info.destination = other;
}

Expand All @@ -187,7 +187,7 @@ public void buildConfiguration(Table table)
}
}

@Override
/*@Override
public void updateTile() {
if (Vars.state.isCampaign()) {
if ((this.launchCounter += this.edelta()) >= launchTime)
Expand All @@ -209,7 +209,7 @@ public void updateTile() {
}
}
}
}*/
}
}
}

0 comments on commit 903e67c

Please sign in to comment.