This commit is contained in:
Anuken
2021-11-02 10:39:05 -04:00
parent cffd355045
commit 00293d022c
6 changed files with 10 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 907 B

View File

@@ -1159,7 +1159,7 @@ public class Blocks implements ContentList{
}}; }};
buildTower = new BuildTurret("build-tower"){{ buildTower = new BuildTurret("build-tower"){{
requirements(Category.effect, with(Items.lead, 40, Items.beryllium, 50)); requirements(Category.effect, with(Items.graphite, 40, Items.beryllium, 50));
consumes.power(0.2f); consumes.power(0.2f);
range = 200f; range = 200f;
size = 3; size = 3;
@@ -1412,7 +1412,7 @@ public class Blocks implements ContentList{
}}; }};
beamNode = new BeamNode("beam-node"){{ beamNode = new BeamNode("beam-node"){{
requirements(Category.power, with(Items.graphite, 1, Items.lead, 3)); requirements(Category.power, with(Items.graphite, 1, Items.beryllium, 3));
consumesPower = outputsPower = true; consumesPower = outputsPower = true;
consumes.powerBuffered(1000f); consumes.powerBuffered(1000f);
range = 10; range = 10;
@@ -1420,7 +1420,7 @@ public class Blocks implements ContentList{
//TODO requirements //TODO requirements
beamTower = new BeamNode("beam-tower"){{ beamTower = new BeamNode("beam-tower"){{
requirements(Category.power, with(Items.graphite, 10, Items.lead, 30, Items.beryllium, 30)); requirements(Category.power, with(Items.graphite, 10, Items.beryllium, 30));
size = 3; size = 3;
consumesPower = outputsPower = true; consumesPower = outputsPower = true;
consumes.powerBuffered(40000f); consumes.powerBuffered(40000f);
@@ -1520,7 +1520,7 @@ public class Blocks implements ContentList{
//TODO work on sprite, green bits? //TODO work on sprite, green bits?
turbineCondenser = new ThermalGenerator("turbine-condenser"){{ turbineCondenser = new ThermalGenerator("turbine-condenser"){{
requirements(Category.power, with(Items.graphite, 35, Items.lead, 50, Items.beryllium, 25)); requirements(Category.power, with(Items.graphite, 35, Items.beryllium, 25));
attribute = Attribute.vent; attribute = Attribute.vent;
displayEfficiencyScale = 1f / 9f; displayEfficiencyScale = 1f / 9f;
minEfficiency = 9f - 0.0001f; minEfficiency = 9f - 0.0001f;
@@ -2375,12 +2375,12 @@ public class Blocks implements ContentList{
//region payloads //region payloads
payloadConveyor = new PayloadConveyor("payload-conveyor"){{ payloadConveyor = new PayloadConveyor("payload-conveyor"){{
requirements(Category.units, with(Items.graphite, 10, Items.lead, 10)); requirements(Category.units, with(Items.graphite, 10));
canOverdrive = false; canOverdrive = false;
}}; }};
payloadRouter = new PayloadRouter("payload-router"){{ payloadRouter = new PayloadRouter("payload-router"){{
requirements(Category.units, with(Items.graphite, 15, Items.lead, 15)); requirements(Category.units, with(Items.graphite, 15));
canOverdrive = false; canOverdrive = false;
}}; }};

View File

@@ -2415,6 +2415,7 @@ public class UnitTypes implements ContentList{
spark = new UnitType("spark"){{ spark = new UnitType("spark"){{
defaultController = BuilderAI::new; defaultController = BuilderAI::new;
isCounted = false; isCounted = false;
envDisabled = 0;
lowAltitude = false; lowAltitude = false;
flying = true; flying = true;

View File

@@ -197,7 +197,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{
} }
//not allowed //not allowed
state.rules.hiddenBuildItems.addAll(Items.copper, Items.titanium, Items.coal); state.rules.hiddenBuildItems.addAll(Items.copper, Items.titanium, Items.coal, Items.lead);
//it is very hot //it is very hot
state.rules.attributes.set(Attribute.heat, 0.8f); state.rules.attributes.set(Attribute.heat, 0.8f);

View File

@@ -54,8 +54,8 @@ public class UnitType extends UnlockableContent{
public int envRequired = 0; public int envRequired = 0;
/** The environment flags that this unit can function in. If the env matches any of these, it will be enabled. */ /** The environment flags that this unit can function in. If the env matches any of these, it will be enabled. */
public int envEnabled = Env.terrestrial; public int envEnabled = Env.terrestrial;
/** The environment flags that this unit *cannot* function in. If the env matches any of these, it will be *disabled*. */ /** The environment flags that this unit *cannot* function in. If the env matches any of these, it will explode or be disabled. */
public int envDisabled = 0; public int envDisabled = Env.scorching;
public float speed = 1.1f, boostMultiplier = 1f, rotateSpeed = 5f, baseRotateSpeed = 5f; public float speed = 1.1f, boostMultiplier = 1f, rotateSpeed = 5f, baseRotateSpeed = 5f;
public float drag = 0.3f, accel = 0.5f, landShake = 0f, rippleScale = 1f, riseSpeed = 0.08f, fallSpeed = 0.018f; public float drag = 0.3f, accel = 0.5f, landShake = 0f, rippleScale = 1f, riseSpeed = 0.08f, fallSpeed = 0.018f;