Make Unlock All button actually unlock every node. Allow tile fade groups to specify tiles that should be unhidden. NPCs have unlock conditions now. Layers have unlock conditions.
This commit is contained in:
@@ -48,7 +48,7 @@ void Unlock::UnlockArea(std::string mapName){
|
||||
unlocks.insert(mapName);
|
||||
}
|
||||
bool Unlock::IsUnlocked(std::string mapName){
|
||||
return unlocks.count(mapName);
|
||||
return unlocks.count(mapName)||mapName.length()==0;
|
||||
}
|
||||
|
||||
bool Unlock::IsUnlocked(ConnectionPoint&cp){
|
||||
|
||||
Reference in New Issue
Block a user