the obligatory daily commit
This commit is contained in:
@@ -97,7 +97,7 @@ public class Logic implements ApplicationListener{
|
||||
|
||||
Events.on(PlayEvent.class, e -> {
|
||||
//reset weather on play
|
||||
var randomWeather = state.rules.weather.copy().shuffle();
|
||||
var randomWeather = state.rules.weather.copy().shuffled();
|
||||
float sum = 0f;
|
||||
for(var weather : randomWeather){
|
||||
weather.cooldown = sum + Mathf.random(weather.maxFrequency);
|
||||
|
||||
@@ -29,6 +29,7 @@ public class PayloadRouter extends PayloadConveyor{
|
||||
outputsPayload = true;
|
||||
outputFacing = false;
|
||||
configurable = true;
|
||||
clearOnDoubleTap = true;
|
||||
|
||||
config(Block.class, (PayloadRouterBuild tile, Block item) -> tile.sorted = item);
|
||||
config(UnitType.class, (PayloadRouterBuild tile, UnitType item) -> tile.sorted = item);
|
||||
@@ -163,8 +164,6 @@ public class PayloadRouter extends PayloadConveyor{
|
||||
if(item != null){
|
||||
item.draw();
|
||||
}
|
||||
|
||||
//TODO draw sort item
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user