Calm + Weight Settings 0.0.6

This commit is contained in:
Martin Jencka
2020-11-21 21:15:18 -07:00
parent 35666a0faa
commit dbc9ff70cd
9 changed files with 164 additions and 50 deletions
+7
View File
@@ -30,6 +30,13 @@ export class MothershipShipSheet extends ActorSheet {
this._prepareShipItems(data);
}
if (data.data.settings == null) {
data.data.settings = {};
}
data.data.settings.useCalm = game.settings.get("mothership", "useCalm");
data.data.settings.hideWeight = game.settings.get("mothership", "hideWeight");
return data;
}