mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-24 22:57:50 +07:00
Minor sound changes
This commit is contained in:
Binary file not shown.
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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){
|
||||
|
@ -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
|
||||
|
3
fastlane/metadata/android/en-US/changelogs/29697.txt
Normal file
3
fastlane/metadata/android/en-US/changelogs/29697.txt
Normal file
@ -0,0 +1,3 @@
|
||||
- Fixed server weather-related crash
|
||||
- Fixed music not loading on certain systems
|
||||
- Added sounds for quad unit
|
3
fastlane/metadata/android/en-US/changelogs/29699.txt
Normal file
3
fastlane/metadata/android/en-US/changelogs/29699.txt
Normal file
@ -0,0 +1,3 @@
|
||||
- Fixed server weather-related crash
|
||||
- Fixed music not loading on certain systems
|
||||
- Added sounds for quad unit
|
Reference in New Issue
Block a user