This commit is contained in:
Anuken 2021-09-26 15:33:37 -04:00
parent d13c7a959f
commit 8a3d46b4a7
4 changed files with 14 additions and 1 deletions

View File

@ -18,6 +18,7 @@ public class LiquidExplodeAbility extends Ability{
@Override
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 rad = (int)(unit.hitSize / tilesize * radScale);
float realNoise = unit.hitSize / noiseMag;

View File

@ -0,0 +1,11 @@
package mindustry.entities.abilities;
import mindustry.gen.*;
public class LiquidRegenAbility extends Ability{
@Override
public void update(Unit unit){
}
}

View File

@ -31,7 +31,7 @@ public class Liquid extends UnlockableContent{
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. */
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;
/** how prone to exploding this liquid is, when heated. 0 = nothing, 1 = nuke */
public float explosiveness;

View File

@ -27,5 +27,6 @@ public class NeoplasmUnitType extends UnitType{
//TODO
//- liquid regen ability
//- new explode effect
}
}