mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-06 00:08:10 +07:00
Fires, puddles, feature reimplementations
This commit is contained in:
@ -425,8 +425,7 @@ public class Bullets implements ContentList{
|
||||
if(Mathf.chance(0.04 * Time.delta())){
|
||||
Tile tile = world.tileWorld(b.x(), b.y());
|
||||
if(tile != null){
|
||||
//TODO implement
|
||||
//Fire.create(tile);
|
||||
Fires.create(tile);
|
||||
}
|
||||
}
|
||||
|
||||
@ -521,8 +520,7 @@ public class Bullets implements ContentList{
|
||||
public void hit(Bulletc b, float hitx, float hity){
|
||||
hitEffect.at(hitx, hity, colors[2]);
|
||||
if(Mathf.chance(0.4)){
|
||||
//TODO implement
|
||||
// Fire.create(world.tileWorld(hitx + Mathf.range(5f), hity + Mathf.range(5f)));
|
||||
Fires.create(world.tileWorld(hitx + Mathf.range(5f), hity + Mathf.range(5f)));
|
||||
}
|
||||
}
|
||||
|
||||
@ -641,8 +639,7 @@ public class Bullets implements ContentList{
|
||||
|
||||
for(int i = 0; i < 3; i++){
|
||||
Tile tile = world.tileWorld(x + Mathf.range(8f), y + Mathf.range(8f));
|
||||
//TODO implement
|
||||
//Puddle.deposit(tile, Liquids.oil, 5f);
|
||||
Puddles.deposit(tile, Liquids.oil, 5f);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user