WIP arkycite

This commit is contained in:
Anuken
2021-11-30 18:13:34 -05:00
parent a0b7d96f67
commit b3dd7f4b8b
15 changed files with 111 additions and 5 deletions

View File

@@ -57,6 +57,13 @@ public class CargoAI extends AIController{
}
}
}else{
//what if some prankster reconfigures the source while the unit is moving? we can't have that!
if(unloadTarget.item != itemTarget){
unloadTarget = null;
return;
}
moveTo(unloadTarget, moveRange, moveSmoothing);
//deposit in bursts, unloading can take a while