Added basic text fields to character sheet

This commit is contained in:
Thaum
2014-11-11 08:53:33 +00:00
parent 285cae2090
commit acf05ecd78
6 changed files with 36 additions and 11 deletions

View File

@@ -96,7 +96,9 @@ var strings = [
"personality",
"ideals",
"bonds",
"flaws"
"flaws",
"backstory",
"notes"
];
//Data structure for the character
@@ -126,7 +128,8 @@ Character = function(owner){
canDeathSave: true
};
for(var i = 0, l = string.length; i < l; i++){
this.strings = {};
for(var i = 0, l = strings.length; i < l; i++){
this.strings[strings[i]] = "";
};