a
This commit is contained in:
@@ -18,6 +18,7 @@ public class LiquidExplodeAbility extends Ability{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void death(Unit unit){
|
public void death(Unit unit){
|
||||||
|
//TODO what if noise is radial, so it looks like a splat?
|
||||||
int tx = unit.tileX(), ty = unit.tileY();
|
int tx = unit.tileX(), ty = unit.tileY();
|
||||||
int rad = (int)(unit.hitSize / tilesize * radScale);
|
int rad = (int)(unit.hitSize / tilesize * radScale);
|
||||||
float realNoise = unit.hitSize / noiseMag;
|
float realNoise = unit.hitSize / noiseMag;
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
package mindustry.entities.abilities;
|
||||||
|
|
||||||
|
import mindustry.gen.*;
|
||||||
|
|
||||||
|
public class LiquidRegenAbility extends Ability{
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void update(Unit unit){
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -31,7 +31,7 @@ public class Liquid extends UnlockableContent{
|
|||||||
public float temperature = 0.5f;
|
public float temperature = 0.5f;
|
||||||
/** how much heat this liquid can store. 0.4=water (decent), anything lower is probably less dense and bad at cooling. */
|
/** how much heat this liquid can store. 0.4=water (decent), anything lower is probably less dense and bad at cooling. */
|
||||||
public float heatCapacity = 0.5f;
|
public float heatCapacity = 0.5f;
|
||||||
/** how thick this liquid is. 0.5=water (relatively viscous), 1 would be something like tar (very slow) */
|
/** how thick this liquid is. 0.5=water (relatively viscous), 1 would be something like tar (very slow). */
|
||||||
public float viscosity = 0.5f;
|
public float viscosity = 0.5f;
|
||||||
/** how prone to exploding this liquid is, when heated. 0 = nothing, 1 = nuke */
|
/** how prone to exploding this liquid is, when heated. 0 = nothing, 1 = nuke */
|
||||||
public float explosiveness;
|
public float explosiveness;
|
||||||
|
|||||||
@@ -27,5 +27,6 @@ public class NeoplasmUnitType extends UnitType{
|
|||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
//- liquid regen ability
|
//- liquid regen ability
|
||||||
|
//- new explode effect
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user