Changed 'max power' to 'base power', re-scaled display stats of fuel
This commit is contained in:
@@ -315,7 +315,7 @@ text.blocks.powerdamage=Power/Damage
|
|||||||
text.blocks.inputitemcapacity=Input Item Capacity
|
text.blocks.inputitemcapacity=Input Item Capacity
|
||||||
text.blocks.outputitemcapacity=Output Item Capacity
|
text.blocks.outputitemcapacity=Output Item Capacity
|
||||||
text.blocks.itemcapacity=Item Capacity
|
text.blocks.itemcapacity=Item Capacity
|
||||||
text.blocks.maxpowergeneration=Max Power Generation
|
text.blocks.basepowergeneration=Base Power Generation
|
||||||
text.blocks.powertransferspeed=Power Transfer
|
text.blocks.powertransferspeed=Power Transfer
|
||||||
text.blocks.craftspeed=Production Speed
|
text.blocks.craftspeed=Production Speed
|
||||||
text.blocks.inputliquid=Input Liquid
|
text.blocks.inputliquid=Input Liquid
|
||||||
@@ -504,11 +504,10 @@ mech.glaive-ship.name=Glaive
|
|||||||
mech.glaive-ship.description=A large, well-armored gunship. Equipped with an incendiary repeater. Good acceleration and maximum speed.
|
mech.glaive-ship.description=A large, well-armored gunship. Equipped with an incendiary repeater. Good acceleration and maximum speed.
|
||||||
mech.glaive-ship.weapon=Flame Repeater
|
mech.glaive-ship.weapon=Flame Repeater
|
||||||
|
|
||||||
text.item.explosiveness=[LIGHT_GRAY]Explosiveness: {0}
|
text.item.explosiveness=[LIGHT_GRAY]Explosiveness: {0}%
|
||||||
text.item.flammability=[LIGHT_GRAY]Flammability: {0}
|
text.item.flammability=[LIGHT_GRAY]Flammability: {0}%
|
||||||
text.item.radioactivity=[LIGHT_GRAY]Radioactivity: {0}
|
text.item.radioactivity=[LIGHT_GRAY]Radioactivity: {0}%
|
||||||
text.item.fluxiness=[LIGHT_GRAY]Flux Power: {0}
|
text.item.fluxiness=[LIGHT_GRAY]Flux Power: {0}%
|
||||||
text.item.hardness=[LIGHT_GRAY]Hardness: {0}
|
|
||||||
|
|
||||||
text.unit.health=[LIGHT_GRAY]Health: {0}
|
text.unit.health=[LIGHT_GRAY]Health: {0}
|
||||||
text.unit.speed=[LIGHT_GRAY]Speed: {0}
|
text.unit.speed=[LIGHT_GRAY]Speed: {0}
|
||||||
|
|||||||
@@ -271,9 +271,7 @@ public abstract class InputHandler extends InputAdapter{
|
|||||||
&& tile.block() == Blocks.air && player.distanceTo(tile.worldx(), tile.worldy()) <= Player.mineDistance;
|
&& tile.block() == Blocks.air && player.distanceTo(tile.worldx(), tile.worldy()) <= Player.mineDistance;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**Returns the tile at the specified MOUSE coordinates.*/
|
||||||
* Returns the tile at the specified MOUSE coordinates.
|
|
||||||
*/
|
|
||||||
Tile tileAt(float x, float y){
|
Tile tileAt(float x, float y){
|
||||||
return world.tile(tileX(x), tileY(y));
|
return world.tile(tileX(x), tileY(y));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -88,13 +88,13 @@ public class ContentDisplay{
|
|||||||
|
|
||||||
table.left().defaults().fillX();
|
table.left().defaults().fillX();
|
||||||
|
|
||||||
table.add(Bundles.format("text.item.explosiveness", (int) (item.explosiveness * 100)));
|
table.add(Bundles.format("text.item.explosiveness", (int) (item.explosiveness * 100 * 2f)));
|
||||||
table.row();
|
table.row();
|
||||||
table.add(Bundles.format("text.item.flammability", (int) (item.flammability * 100)));
|
table.add(Bundles.format("text.item.flammability", (int) (item.flammability * 100 * 2f)));
|
||||||
table.row();
|
table.row();
|
||||||
table.add(Bundles.format("text.item.radioactivity", (int) (item.radioactivity * 100)));
|
table.add(Bundles.format("text.item.radioactivity", (int) (item.radioactivity * 100 * 2f)));
|
||||||
table.row();
|
table.row();
|
||||||
table.add(Bundles.format("text.item.fluxiness", (int) (item.fluxiness * 100)));
|
table.add(Bundles.format("text.item.fluxiness", (int) (item.fluxiness * 100 * 2f)));
|
||||||
table.row();
|
table.row();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -121,9 +121,9 @@ public class ContentDisplay{
|
|||||||
|
|
||||||
table.left().defaults().fillX();
|
table.left().defaults().fillX();
|
||||||
|
|
||||||
table.add(Bundles.format("text.item.explosiveness", (int) (liquid.explosiveness * 100)));
|
table.add(Bundles.format("text.item.explosiveness", (int) (liquid.explosiveness * 100 * 2f)));
|
||||||
table.row();
|
table.row();
|
||||||
table.add(Bundles.format("text.item.flammability", (int) (liquid.flammability * 100)));
|
table.add(Bundles.format("text.item.flammability", (int) (liquid.flammability * 100 * 2f)));
|
||||||
table.row();
|
table.row();
|
||||||
table.add(Bundles.format("text.liquid.heatcapacity", (int) (liquid.heatCapacity * 100)));
|
table.add(Bundles.format("text.liquid.heatcapacity", (int) (liquid.heatCapacity * 100)));
|
||||||
table.row();
|
table.row();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class FusionReactor extends PowerGenerator{
|
|||||||
public void setStats(){
|
public void setStats(){
|
||||||
super.setStats();
|
super.setStats();
|
||||||
|
|
||||||
stats.add(BlockStat.maxPowerGeneration, maxPowerProduced * 60f, StatUnit.powerSecond);
|
stats.add(BlockStat.basePowerGeneration, maxPowerProduced * 60f, StatUnit.powerSecond);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ public abstract class ItemGenerator extends PowerGenerator{
|
|||||||
public void setStats(){
|
public void setStats(){
|
||||||
super.setStats();
|
super.setStats();
|
||||||
|
|
||||||
stats.add(BlockStat.maxPowerGeneration, powerOutput * 60f, StatUnit.powerSecond);
|
stats.add(BlockStat.basePowerGeneration, powerOutput * 60f * 0.5f, StatUnit.powerSecond);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ public class LiquidHeatGenerator extends LiquidGenerator{
|
|||||||
public void setStats(){
|
public void setStats(){
|
||||||
super.setStats();
|
super.setStats();
|
||||||
|
|
||||||
stats.add(BlockStat.maxPowerGeneration, maxLiquidGenerate * powerPerLiquid * 60f * 0.4f, StatUnit.powerSecond);
|
stats.add(BlockStat.basePowerGeneration, maxLiquidGenerate * powerPerLiquid * 60f * 0.4f, StatUnit.powerSecond);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public class NuclearReactor extends PowerGenerator{
|
|||||||
public void setStats(){
|
public void setStats(){
|
||||||
super.setStats();
|
super.setStats();
|
||||||
stats.add(BlockStat.inputLiquid, new LiquidFilterValue(liquid -> liquid.temperature <= 0.5f));
|
stats.add(BlockStat.inputLiquid, new LiquidFilterValue(liquid -> liquid.temperature <= 0.5f));
|
||||||
stats.add(BlockStat.maxPowerGeneration, powerMultiplier * 60f, StatUnit.powerSecond);
|
stats.add(BlockStat.basePowerGeneration, powerMultiplier * 60f * 0.5f, StatUnit.powerSecond);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class SolarGenerator extends PowerGenerator{
|
|||||||
public void setStats(){
|
public void setStats(){
|
||||||
super.setStats();
|
super.setStats();
|
||||||
|
|
||||||
stats.add(BlockStat.maxPowerGeneration, generation * 60f, StatUnit.powerSecond);
|
stats.add(BlockStat.basePowerGeneration, generation * 60f, StatUnit.powerSecond);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ public enum BlockStat{
|
|||||||
powerDamage(StatCategory.power),
|
powerDamage(StatCategory.power),
|
||||||
powerRange(StatCategory.power),
|
powerRange(StatCategory.power),
|
||||||
powerTransferSpeed(StatCategory.power),
|
powerTransferSpeed(StatCategory.power),
|
||||||
maxPowerGeneration(StatCategory.power),
|
basePowerGeneration(StatCategory.power),
|
||||||
inputLiquidFuel(StatCategory.power),
|
inputLiquidFuel(StatCategory.power),
|
||||||
liquidFuelUse(StatCategory.power),
|
liquidFuelUse(StatCategory.power),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user