Research system changes, unfinished

This commit is contained in:
Anuken
2020-11-14 13:36:43 -05:00
parent 7559996227
commit c96f4609d0
15 changed files with 246 additions and 149 deletions

View File

@@ -28,6 +28,26 @@ public class Objectives{
}
}
public static class Produce implements Objective{
public UnlockableContent content;
public Produce(UnlockableContent content){
this.content = content;
}
protected Produce(){}
@Override
public boolean complete(){
return content.unlocked();
}
@Override
public String display(){
return Core.bundle.format("requirement.produce", content.emoji() + " " + content.localizedName);
}
}
public static class SectorComplete extends SectorObjective{
public SectorComplete(SectorPreset zone){