Implemented additional lava crafting blocks
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 240 B |
BIN
core/assets-raw/sprites/blocks/lavasmelter.png
Normal file
BIN
core/assets-raw/sprites/blocks/lavasmelter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 276 B |
BIN
core/assets-raw/sprites/blocks/stoneformer.png
Normal file
BIN
core/assets-raw/sprites/blocks/stoneformer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 310 B |
@@ -221,16 +221,9 @@ blocks/doubleturret
|
|||||||
orig: 10, 10
|
orig: 10, 10
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/drill
|
|
||||||
rotate: false
|
|
||||||
xy: 449, 263
|
|
||||||
size: 8, 8
|
|
||||||
orig: 8, 8
|
|
||||||
offset: 0, 0
|
|
||||||
index: -1
|
|
||||||
blocks/duriumwall
|
blocks/duriumwall
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 449, 253
|
xy: 449, 263
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -244,7 +237,7 @@ blocks/duriumwall-large
|
|||||||
index: -1
|
index: -1
|
||||||
blocks/duriumwall-large-icon
|
blocks/duriumwall-large-icon
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 476, 421
|
xy: 449, 253
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -258,42 +251,42 @@ blocks/flameturret
|
|||||||
index: -1
|
index: -1
|
||||||
blocks/fluxpump
|
blocks/fluxpump
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 476, 401
|
xy: 476, 411
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/grass1
|
blocks/grass1
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 476, 391
|
xy: 476, 401
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/grass2
|
blocks/grass2
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 490, 431
|
xy: 476, 391
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/grass3
|
blocks/grass3
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 486, 421
|
xy: 490, 431
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/grassblock
|
blocks/grassblock
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 486, 411
|
xy: 486, 421
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/grassblock2
|
blocks/grassblock2
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 486, 401
|
xy: 486, 411
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -307,42 +300,42 @@ blocks/grassedge
|
|||||||
index: -1
|
index: -1
|
||||||
blocks/iron1
|
blocks/iron1
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 483, 381
|
xy: 473, 369
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/iron2
|
blocks/iron2
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 483, 371
|
xy: 483, 381
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/iron3
|
blocks/iron3
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 493, 381
|
xy: 483, 371
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/irondrill
|
blocks/irondrill
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 503, 381
|
xy: 493, 381
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/ironwall
|
blocks/ironwall
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 493, 371
|
xy: 503, 381
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/junction
|
blocks/junction
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 503, 371
|
xy: 493, 371
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -356,7 +349,7 @@ blocks/laserturret
|
|||||||
index: -1
|
index: -1
|
||||||
blocks/lava
|
blocks/lava
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 415, 215
|
xy: 503, 371
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -368,6 +361,13 @@ blocks/lavaedge
|
|||||||
orig: 12, 12
|
orig: 12, 12
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
|
blocks/lavasmelter
|
||||||
|
rotate: false
|
||||||
|
xy: 415, 215
|
||||||
|
size: 8, 8
|
||||||
|
orig: 8, 8
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
blocks/liquiditemjunction
|
blocks/liquiditemjunction
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 415, 205
|
xy: 415, 205
|
||||||
@@ -746,34 +746,41 @@ blocks/stoneedge
|
|||||||
orig: 12, 12
|
orig: 12, 12
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/stonewall
|
blocks/stoneformer
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 497, 351
|
xy: 497, 351
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/teleporter
|
blocks/stonewall
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 477, 339
|
xy: 477, 339
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/teleporter-top
|
blocks/teleporter
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 487, 341
|
xy: 487, 341
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/thermalgenerator
|
blocks/teleporter-top
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 497, 341
|
xy: 497, 341
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
|
blocks/thermalgenerator
|
||||||
|
rotate: false
|
||||||
|
xy: 419, 167
|
||||||
|
size: 8, 8
|
||||||
|
orig: 8, 8
|
||||||
|
offset: 0, 0
|
||||||
|
index: -1
|
||||||
blocks/titancannon
|
blocks/titancannon
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 285, 150
|
xy: 285, 150
|
||||||
@@ -790,49 +797,49 @@ blocks/titancannon-icon
|
|||||||
index: -1
|
index: -1
|
||||||
blocks/titanium1
|
blocks/titanium1
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 419, 167
|
xy: 487, 331
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/titanium2
|
blocks/titanium2
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 487, 331
|
xy: 497, 331
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/titanium3
|
blocks/titanium3
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 497, 331
|
xy: 246, 121
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/titaniumdrill
|
blocks/titaniumdrill
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 246, 121
|
xy: 256, 122
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/titaniumpurifier
|
blocks/titaniumpurifier
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 256, 122
|
xy: 266, 122
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/titaniumshieldwall
|
blocks/titaniumshieldwall
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 266, 122
|
xy: 276, 122
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/titaniumwall
|
blocks/titaniumwall
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 276, 122
|
xy: 286, 122
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -846,7 +853,7 @@ blocks/titaniumwall-large
|
|||||||
index: -1
|
index: -1
|
||||||
blocks/titaniumwall-large-icon
|
blocks/titaniumwall-large-icon
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 286, 122
|
xy: 311, 121
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -860,35 +867,35 @@ blocks/turret
|
|||||||
index: -1
|
index: -1
|
||||||
blocks/uranium1
|
blocks/uranium1
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 331, 121
|
xy: 341, 121
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/uranium2
|
blocks/uranium2
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 341, 121
|
xy: 351, 121
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/uranium3
|
blocks/uranium3
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 351, 121
|
xy: 256, 112
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/uraniumdrill
|
blocks/uraniumdrill
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 256, 112
|
xy: 266, 112
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
blocks/water
|
blocks/water
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 266, 112
|
xy: 276, 112
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -1161,49 +1168,49 @@ enemyarrow
|
|||||||
index: -1
|
index: -1
|
||||||
icon-coal
|
icon-coal
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 486, 391
|
xy: 486, 401
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
icon-dirium
|
icon-dirium
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 496, 421
|
xy: 486, 391
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
icon-iron
|
icon-iron
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 496, 411
|
xy: 496, 421
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
icon-steel
|
icon-steel
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 496, 401
|
xy: 496, 411
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
icon-stone
|
icon-stone
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 496, 391
|
xy: 496, 401
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
icon-titanium
|
icon-titanium
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 473, 379
|
xy: 496, 391
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
index: -1
|
index: -1
|
||||||
icon-uranium
|
icon-uranium
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 473, 369
|
xy: 473, 379
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -1252,7 +1259,7 @@ shot-long
|
|||||||
index: -1
|
index: -1
|
||||||
titanshell
|
titanshell
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 311, 121
|
xy: 321, 121
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -1755,7 +1762,7 @@ weapons/blaster
|
|||||||
index: -1
|
index: -1
|
||||||
weapons/flamer
|
weapons/flamer
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 476, 411
|
xy: 476, 421
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
@@ -1783,7 +1790,7 @@ weapons/railgun
|
|||||||
index: -1
|
index: -1
|
||||||
weapons/triblaster
|
weapons/triblaster
|
||||||
rotate: false
|
rotate: false
|
||||||
xy: 321, 121
|
xy: 331, 121
|
||||||
size: 8, 8
|
size: 8, 8
|
||||||
orig: 8, 8
|
orig: 8, 8
|
||||||
offset: 0, 0
|
offset: 0, 0
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
@@ -49,6 +49,8 @@ public enum Recipe{
|
|||||||
coalpurifier(crafting, ProductionBlocks.coalpurifier, stack(Item.steel, 10), stack(Item.iron, 10)),
|
coalpurifier(crafting, ProductionBlocks.coalpurifier, stack(Item.steel, 10), stack(Item.iron, 10)),
|
||||||
titaniumpurifier(crafting, ProductionBlocks.titaniumpurifier, stack(Item.steel, 30), stack(Item.iron, 30)),
|
titaniumpurifier(crafting, ProductionBlocks.titaniumpurifier, stack(Item.steel, 30), stack(Item.iron, 30)),
|
||||||
oilrefinery(crafting, ProductionBlocks.oilrefinery, stack(Item.steel, 30), stack(Item.iron, 30)),
|
oilrefinery(crafting, ProductionBlocks.oilrefinery, stack(Item.steel, 30), stack(Item.iron, 30)),
|
||||||
|
stoneformer(crafting, ProductionBlocks.stoneformer, stack(Item.steel, 30), stack(Item.iron, 30)),
|
||||||
|
lavasmelter(crafting, ProductionBlocks.lavasmelter, stack(Item.steel, 30), stack(Item.iron, 30)),
|
||||||
|
|
||||||
stonedrill(production, ProductionBlocks.stonedrill, stack(Item.stone, 12)),
|
stonedrill(production, ProductionBlocks.stonedrill, stack(Item.stone, 12)),
|
||||||
irondrill(production, ProductionBlocks.irondrill, stack(Item.stone, 25)),
|
irondrill(production, ProductionBlocks.irondrill, stack(Item.stone, 25)),
|
||||||
|
|||||||
@@ -118,12 +118,11 @@ public class ProductionBlocks{
|
|||||||
stoneformer = new LiquidCrafter("stoneformer"){
|
stoneformer = new LiquidCrafter("stoneformer"){
|
||||||
{
|
{
|
||||||
formalName = "stone former";
|
formalName = "stone former";
|
||||||
input = Item.iron;
|
input = null;
|
||||||
inputAmount = 2;
|
|
||||||
inputLiquid = Liquid.lava;
|
inputLiquid = Liquid.lava;
|
||||||
liquidAmount = 20f;
|
liquidAmount = 16f;
|
||||||
liquidCapacity = 21f;
|
liquidCapacity = 21f;
|
||||||
purifyTime = 10;
|
purifyTime = 12;
|
||||||
output = Item.stone;
|
output = Item.stone;
|
||||||
health = 80;
|
health = 80;
|
||||||
craftEffect = Fx.purifystone;
|
craftEffect = Fx.purifystone;
|
||||||
@@ -135,11 +134,13 @@ public class ProductionBlocks{
|
|||||||
lavasmelter = new LiquidCrafter("lavasmelter"){
|
lavasmelter = new LiquidCrafter("lavasmelter"){
|
||||||
{
|
{
|
||||||
formalName = "lava smelter";
|
formalName = "lava smelter";
|
||||||
|
input = Item.iron;
|
||||||
|
inputAmount = 1;
|
||||||
inputLiquid = Liquid.lava;
|
inputLiquid = Liquid.lava;
|
||||||
liquidAmount = 40f;
|
liquidAmount = 40f;
|
||||||
liquidCapacity = 41f;
|
liquidCapacity = 41f;
|
||||||
purifyTime = 30;
|
purifyTime = 30;
|
||||||
output = Item.stone;
|
output = Item.steel;
|
||||||
health = 80;
|
health = 80;
|
||||||
craftEffect = Fx.purifystone;
|
craftEffect = Fx.purifystone;
|
||||||
description = "Converts iron + lava to steel.";
|
description = "Converts iron + lava to steel.";
|
||||||
|
|||||||
@@ -13,22 +13,25 @@ import io.anuke.ucore.util.Angles;
|
|||||||
import io.anuke.ucore.util.Mathf;
|
import io.anuke.ucore.util.Mathf;
|
||||||
import io.anuke.ucore.util.Strings;
|
import io.anuke.ucore.util.Strings;
|
||||||
|
|
||||||
public class RepairTurret extends Turret{
|
public class RepairTurret extends PowerTurret{
|
||||||
|
|
||||||
public RepairTurret(String name) {
|
public RepairTurret(String name) {
|
||||||
super(name);
|
super(name);
|
||||||
|
powerUsed = 0.1f;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void getStats(Array<String> list){
|
public void getStats(Array<String> list){
|
||||||
list.add("[health]health: " + health);
|
list.add("[health]health: " + health);
|
||||||
|
list.add("[powerinfo]Power Capacity: " + (int)powerCapacity);
|
||||||
|
list.add("[powerinfo]Power/shot: " + Strings.toFixed(powerUsed, 1));
|
||||||
list.add("[turretinfo]Range: " + (int)range);
|
list.add("[turretinfo]Range: " + (int)range);
|
||||||
list.add("[turretinfo]Repairs/Second: " + Strings.toFixed(60f/reload, 1));
|
list.add("[turretinfo]Repairs/Second: " + Strings.toFixed(60f/reload, 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void postInit(){
|
public void postInit(){
|
||||||
description = "[turretinfo]Range: " + (int)range + "\n[description]Heals nearby tiles.";
|
description = "[turretinfo]Range: " + (int)range + "\nPower/unit: "+powerUsed+"\n[description]Heals nearby tiles.";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ public class LiquidCrafter extends LiquidBlock{
|
|||||||
|
|
||||||
float fract = (float)tile.entity.items.get(input, 0) / itemCapacity;
|
float fract = (float)tile.entity.items.get(input, 0) / itemCapacity;
|
||||||
|
|
||||||
Vars.renderer.drawBar(Color.GREEN, tile.worldx(), tile.worldy() + 13, fract);
|
Vars.renderer.drawBar(Color.GREEN, tile.worldx(), tile.worldy() + 6, fract);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user