mirror of
https://github.com/rakion99/shelter-editor.git
synced 2026-09-22 18:12:15 +00:00
Added unlock themes
also added missing room to unlock all roms
This commit is contained in:
1 parent
fa4fc2e208
commit
783611dbb4
2 files changed
+15
-1
No files matched your search
@@ -167,6 +167,10 @@ Copyright (C) 2017
|
||||
<label>Remove Dwellers Waiting</label><br />
|
||||
<button type="button" class="btn btn-primary" ng-click="removedwellersWaiting()">Activate</button>
|
||||
</div>
|
||||
<div class="col-sm-4">
|
||||
<label>Unlock Themes</label><br />
|
||||
<button type="button" class="btn btn-primary" ng-click="unlockthemes()">Activate</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
|
||||
+11
-1
@@ -391,6 +391,15 @@ app.controller('dwellerController', function ($scope) {
|
||||
$scope.removedwellersWaiting = function () {
|
||||
$scope.save.dwellerSpawner.dwellersWaiting = [];
|
||||
};
|
||||
|
||||
$scope.unlockthemes = function () {
|
||||
var sum2 = Object.keys($scope.save.survivalW.collectedThemes.themeList).length;
|
||||
for(i=0; i<sum2; i++)
|
||||
{
|
||||
$scope.save.survivalW.collectedThemes.themeList[i].extraData.partsCollectedCount = 9;
|
||||
$scope.save.survivalW.collectedThemes.themeList[i].extraData.IsNew = true;
|
||||
}
|
||||
};
|
||||
|
||||
$scope.colortofos = colortofos;
|
||||
|
||||
@@ -415,7 +424,8 @@ app.controller('dwellerController', function ($scope) {
|
||||
"PowerPlantUnlock",
|
||||
"WaterroomUnlock",
|
||||
"HydroponicUnlock",
|
||||
"NukacolaUnlock"];
|
||||
"NukacolaUnlock",
|
||||
"DesignFactoryUnlock"];
|
||||
};
|
||||
|
||||
$scope.unlockrecipes = function () {
|
||||
|
||||
Reference in new issue
Block a user