Minor sound changes

This commit is contained in:
Anuken
2020-11-11 18:11:38 -05:00
parent 536a8f6085
commit b1b84fe380
7 changed files with 18 additions and 3 deletions

Binary file not shown.

View File

@ -728,7 +728,7 @@ public class Blocks implements ContentList{
hasItems = hasPower = true;
drawer = new DrawRotator();
ambientSound = Sounds.grinding;
ambientSoundVolume = 0.02f;
ambientSoundVolume = 0.025f;
consumes.item(Items.scrap, 1);
consumes.power(0.50f);
@ -1229,7 +1229,7 @@ public class Blocks implements ContentList{
thoriumReactor = new NuclearReactor("thorium-reactor"){{
requirements(Category.power, with(Items.lead, 300, Items.silicon, 200, Items.graphite, 150, Items.thorium, 150, Items.metaglass, 50));
ambientSound = Sounds.hum;
ambientSoundVolume = 0.2f;
ambientSoundVolume = 0.24f;
size = 3;
health = 700;
itemDuration = 360f;

View File

@ -365,6 +365,7 @@ public class NetClient implements ApplicationListener{
@Remote(variants = Variant.one)
public static void setPosition(float x, float y){
player.unit().set(x, y);
player.set(x, y);
}

View File

@ -67,7 +67,7 @@ public class Drill extends Block{
liquidCapacity = 5f;
hasItems = true;
ambientSound = Sounds.drill;
ambientSoundVolume = 0.015f;
ambientSoundVolume = 0.018f;
}
@Override
@ -209,6 +209,11 @@ public class Drill extends Block{
return efficiency() > 0.01f && items.total() < itemCapacity;
}
@Override
public float ambientVolume(){
return efficiency() * (size * size) / 4f;
}
@Override
public void drawSelect(){
if(dominantItem != null){

View File

@ -2,6 +2,7 @@ package mindustry.world.blocks.production;
import arc.graphics.g2d.*;
import mindustry.annotations.Annotations.*;
import mindustry.gen.*;
import mindustry.graphics.*;
import mindustry.world.meta.*;
@ -15,6 +16,8 @@ public class Fracker extends SolidPump{
public Fracker(String name){
super(name);
hasItems = true;
ambientSound = Sounds.drill;
ambientSoundVolume = 0.03f;
}
@Override

View File

@ -0,0 +1,3 @@
- Fixed server weather-related crash
- Fixed music not loading on certain systems
- Added sounds for quad unit

View File

@ -0,0 +1,3 @@
- Fixed server weather-related crash
- Fixed music not loading on certain systems
- Added sounds for quad unit