mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-24 21:48:25 +07:00
Environment bugfixes
This commit is contained in:
parent
23539a6e53
commit
22332b53c2
@ -1624,7 +1624,7 @@ public class Blocks{
|
||||
}};
|
||||
|
||||
carbideWallLarge = new Wall("carbide-wall-large"){{
|
||||
requirements(Category.defense, ItemStack.mult(thoriumWall.requirements, 4));
|
||||
requirements(Category.defense, ItemStack.mult(carbideWall.requirements, 4));
|
||||
health = 240 * wallHealthMultiplier * 4;
|
||||
armor = 16f;
|
||||
size = 2;
|
||||
@ -1950,7 +1950,7 @@ public class Blocks{
|
||||
}};
|
||||
|
||||
unitCargoLoader = new UnitCargoLoader("unit-cargo-loader"){{
|
||||
requirements(Category.distribution, with(Items.silicon, 80, Items.phaseFabric, 60, Items.carbide, 50, Items.oxide, 40));
|
||||
requirements(Category.distribution, with(Items.silicon, 80, Items.carbide, 50, Items.oxide, 50));
|
||||
|
||||
size = 3;
|
||||
buildTime = 60f * 8f;
|
||||
@ -1964,7 +1964,7 @@ public class Blocks{
|
||||
}};
|
||||
|
||||
unitCargoUnloadPoint = new UnitCargoUnloadPoint("unit-cargo-unload-point"){{
|
||||
requirements(Category.distribution, with(Items.silicon, 60, Items.thorium, 80));
|
||||
requirements(Category.distribution, with(Items.silicon, 60, Items.tungsten, 60));
|
||||
|
||||
size = 2;
|
||||
|
||||
|
@ -11,7 +11,7 @@ public class Items{
|
||||
beryllium, tungsten, oxide, carbide, fissileMatter, dormantCyst;
|
||||
|
||||
//TODO remove, these are for debugging only
|
||||
public static final Seq<Item> serpuloItems = new Seq<>(), erekirItems = new Seq<>();
|
||||
public static final Seq<Item> serpuloItems = new Seq<>(), erekirItems = new Seq<>(), erekirOnlyItems = new Seq<>();
|
||||
|
||||
public static void load(){
|
||||
copper = new Item("copper", Color.valueOf("d99d73")){{
|
||||
@ -145,5 +145,8 @@ public class Items{
|
||||
graphite, thorium, silicon, phaseFabric, surgeAlloy, sand,
|
||||
beryllium, tungsten, oxide, carbide, fissileMatter, dormantCyst
|
||||
);
|
||||
|
||||
erekirOnlyItems.addAll(erekirItems).removeAll(serpuloItems);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ public class Rules{
|
||||
/** Unlocked content names. Only used in multiplayer when the campaign is enabled. */
|
||||
public ObjectSet<String> researched = new ObjectSet<>();
|
||||
/** Block containing these items as requirements are hidden. */
|
||||
public ObjectSet<Item> hiddenBuildItems = new ObjectSet<>();
|
||||
public ObjectSet<Item> hiddenBuildItems = Items.erekirOnlyItems.asSet();
|
||||
/** HIGHLY UNSTABLE/EXPERIMENTAL. DO NOT USE THIS. */
|
||||
public boolean fog = false;
|
||||
/** If fog = true, this is whether static (black) fog is enabled. */
|
||||
|
Loading…
Reference in New Issue
Block a user