Place base battery schematics with full charge / Exclude fallback sprites from assetsJar
This commit is contained in:
@@ -309,7 +309,7 @@ project(":core"){
|
||||
task assetsJar(type: Jar, dependsOn: ":tools:pack"){
|
||||
archiveClassifier = 'assets'
|
||||
from files("assets"){
|
||||
exclude "config", "cache", "music", "sounds"
|
||||
exclude "config", "cache", "music", "sounds", "sprites/fallback"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -175,9 +175,13 @@ public class BaseGenerator{
|
||||
if(tiles == null) return;
|
||||
|
||||
for(Tile tile : tiles){
|
||||
if(tile.isCenter() && tile.block() instanceof PowerNode && tile.team() == state.rules.waveTeam){
|
||||
tile.build.configureAny(new Point2[0]);
|
||||
tile.build.placed();
|
||||
if(tile.isCenter() && tile.team() == state.rules.waveTeam){
|
||||
if(tile.block() instanceof PowerNode){
|
||||
tile.build.configureAny(new Point2[0]);
|
||||
tile.build.placed();
|
||||
}else if(tile.block() instanceof Battery){
|
||||
tile.build.power.status = 1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user