WIP arkycite

This commit is contained in:
Anuken
2021-11-30 18:13:34 -05:00
parent a0b7d96f67
commit b3dd7f4b8b
15 changed files with 111 additions and 5 deletions

View File

@@ -39,6 +39,7 @@ public class Blocks{
//environment
air, spawn, cliff, deepwater, water, taintedWater, deepTaintedWater, tar, slag, cryofluid, stone, craters, charr, sand, darksand, dirt, mud, ice, snow, darksandTaintedWater, space, empty,
dacite, rhyolite, rhyoliteCrater, regolith, yellowStone, redIce,
arkyciteFloor,
redmat, bluemat,
stoneWall, dirtWall, sporeWall, iceWall, daciteWall, sporePine, snowPine, pine, shrubs, whiteTree, whiteTreeDead, sporeCluster,
redweed, purbush, coralChunk, yellowCoral,
@@ -388,6 +389,20 @@ public class Blocks{
attributes.set(Attribute.water, 0.4f);
}};
arkyciteFloor = new Floor("arkycite-floor"){{
speedMultiplier = 0.3f;
variants = 0;
liquidDrop = Liquids.arkycite;
liquidMultiplier = 1.5f;
isLiquid = true;
//TODO status, cache layer for this crap
status = StatusEffects.wet;
statusDuration = 120f;
drownTime = 200f;
cacheLayer = CacheLayer.arkycite;
albedo = 0.9f;
}};
redmat = new Floor("redmat");
bluemat = new Floor("bluemat");

View File

@@ -5,7 +5,7 @@ import mindustry.type.*;
public class Liquids{
public static Liquid water, slag, oil, cryofluid, neoplasm,
gallium,
arkycite, gallium,
ozone, hydrogen, nitrogen, cyanogen;
public static void load(){
@@ -56,6 +56,12 @@ public class Liquids{
colorTo = Color.valueOf("9e172c");
}};
//TODO
arkycite = new Liquid("arkycite", Color.valueOf("59963e")){{
flammability = 0.4f;
viscosity = 0.7f;
}};
gallium = new Liquid("gallium", Color.valueOf("9a9dbf")){{
}};

View File

@@ -2637,6 +2637,9 @@ public class UnitTypes{
engineSize = 2.3f;
engineOffset = 6.5f;
//should not appear anywhere, it's for internal use only and will despawn
hidden = true;
setEnginesMirror(
new UnitEngine(24 / 4f, -24 / 4f, 2.3f, 315f)
);