Unfinished block / Bugfixes

This commit is contained in:
Anuken
2019-01-23 23:43:31 -05:00
parent 9dd6a77c76
commit 9a444da343
9 changed files with 22 additions and 6 deletions
@@ -36,7 +36,7 @@ public class Blocks implements ContentList{
grass, shrub, rock, icerock, blackrock, rocks, pine,
//crafting
siliconSmelter, plastaniumCompressor, phaseWeaver, surgeSmelter, pyratiteMixer, blastMixer, cryofluidMixer,
siliconSmelter, graphitePress, plastaniumCompressor, phaseWeaver, surgeSmelter, pyratiteMixer, blastMixer, cryofluidMixer,
melter, separator, centrifuge, biomatterCompressor, pulverizer, incinerator,
//sandbox
@@ -234,6 +234,21 @@ public class Blocks implements ContentList{
consumes.power(0.05f);
}};
graphitePress = new PowerSmelter("graphite-press"){{
requirements(Category.crafting, ItemStack.with(Items.copper, 200, Items.lead, 50));
health = 90;
craftEffect = Fx.smeltsmoke;
result = Items.graphite;
craftTime = 50f;
size = 2;
hasLiquids = false;
flameColor = Color.valueOf("ffef99");
consumes.items(new ItemStack(Items.coal, 1), new ItemStack(Items.sand, 2));
consumes.power(0.05f);
}};
plastaniumCompressor = new PlastaniumCompressor("plastanium-compressor"){{
requirements(Category.crafting, ItemStack.with(Items.silicon, 160, Items.lead, 230, Items.graphite, 120, Items.titanium, 160));
hasItems = true;
@@ -645,7 +645,7 @@ public class Bullets implements ContentList{
explode = new BombBulletType(2f, 3f, "clear"){{
hitEffect = Fx.pulverize;
lifetime = 20f;
lifetime = 23f;
speed = 1f;
splashDamageRadius = 60f;
splashDamage = 30f;
@@ -58,7 +58,7 @@ public class Zones implements ContentList{
}};
}};
craters = new Zone("craters", new MapGenerator("craters", 1){{ distortion = 1.44f; }}){{ //TODO implement
craters = new Zone("craters", new MapGenerator("craters", 1){{ distortion = 1.44f; }}){{
alwaysUnlocked = true;
deployCost = ItemStack.with(Items.copper, 300);