First alpha release
This commit is contained in:
BIN
assets/icons/armor.webp
Normal file
BIN
assets/icons/armor.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.5 KiB |
@@ -1823,6 +1823,11 @@ i.fvtt-ftl-nomad {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.fvtt-hellborn .weapon-content fieldset .form-group.long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
text-align: left;
|
||||
}
|
||||
.fvtt-hellborn .weapon-content fieldset .form-group input {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
@@ -2088,6 +2093,11 @@ i.fvtt-ftl-nomad {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.fvtt-hellborn .ritual-content fieldset .form-group.long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
text-align: left;
|
||||
}
|
||||
.fvtt-hellborn .ritual-content fieldset .form-group input {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
@@ -2179,6 +2189,11 @@ i.fvtt-ftl-nomad {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.fvtt-hellborn .perk-content fieldset .form-group.long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
text-align: left;
|
||||
}
|
||||
.fvtt-hellborn .perk-content fieldset .form-group input {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
@@ -2274,6 +2289,10 @@ i.fvtt-ftl-nomad {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
}
|
||||
.fvtt-hellborn .malefica-content fieldset .form-group .long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
}
|
||||
.fvtt-hellborn .malefica-content fieldset .form-group select {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
|
||||
20
lang/en.json
20
lang/en.json
@@ -297,11 +297,20 @@
|
||||
"description": {
|
||||
"label": "Description"
|
||||
},
|
||||
"enc": {
|
||||
"label": "Enc"
|
||||
"difficulty": {
|
||||
"label": "Difficulty"
|
||||
},
|
||||
"techAge": {
|
||||
"label": "Tech Age"
|
||||
"threshold": {
|
||||
"label": "Threshold"
|
||||
},
|
||||
"limit": {
|
||||
"label": "Limit"
|
||||
},
|
||||
"nbAttempts": {
|
||||
"label": "Nb Attempts"
|
||||
},
|
||||
"ingredients": {
|
||||
"label": "Ingredients"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -441,6 +450,9 @@
|
||||
"role": {
|
||||
"label": "Role"
|
||||
},
|
||||
"flavorText": {
|
||||
"label": "Flavor Text"
|
||||
},
|
||||
"description": {
|
||||
"label": "Description"
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ export default class HellbornPerkSheet extends HellbornItemSheet {
|
||||
static DEFAULT_OPTIONS = {
|
||||
classes: ["perk"],
|
||||
position: {
|
||||
width: 500,
|
||||
width: 600,
|
||||
},
|
||||
window: {
|
||||
contentClasses: ["perk-content"],
|
||||
|
||||
@@ -6,6 +6,7 @@ export default class HellbornPerk extends foundry.abstract.TypeDataModel {
|
||||
const schema = {}
|
||||
const requiredInteger = { required: true, nullable: false, integer: true }
|
||||
|
||||
schema.flavorText = new fields.StringField({required: true, initial: "", textSearch: true})
|
||||
schema.role = new fields.StringField({ required: true, nullable: false, choices: SYSTEM.PERK_ROLES, initial: "abbetor" })
|
||||
schema.level = new fields.StringField({ required: true, nullable: false, choices: SYSTEM.PERK_LEVELS, initial: "1" })
|
||||
|
||||
|
||||
@@ -5,12 +5,42 @@ export default class HellbornRitual extends foundry.abstract.TypeDataModel {
|
||||
const requiredInteger = { required: true, nullable: false, integer: true }
|
||||
const schema = {}
|
||||
|
||||
schema.ingredients = new fields.StringField({
|
||||
required: true,
|
||||
initial: "",
|
||||
textSearch: true,
|
||||
})
|
||||
schema.difficulty = new fields.NumberField({
|
||||
required: true,
|
||||
initial: 1,
|
||||
min: 1,
|
||||
...requiredInteger,
|
||||
})
|
||||
schema.nbAttempts = new fields.NumberField({
|
||||
required: true,
|
||||
initial: 0,
|
||||
min: 0,
|
||||
...requiredInteger,
|
||||
})
|
||||
schema.threshold = new fields.NumberField({
|
||||
required: true,
|
||||
initial: 0,
|
||||
min: 0,
|
||||
...requiredInteger,
|
||||
})
|
||||
schema.limit = new fields.NumberField({
|
||||
required: false,
|
||||
initial: 0,
|
||||
min: 0,
|
||||
...requiredInteger,
|
||||
})
|
||||
schema.description = new fields.HTMLField({
|
||||
required: false,
|
||||
blank: true,
|
||||
initial: "",
|
||||
textSearch: true,
|
||||
})
|
||||
schema.cost = new fields.NumberField({ required: true, initial: 0, min: 0 })
|
||||
|
||||
return schema
|
||||
}
|
||||
|
||||
@@ -15,6 +15,10 @@
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
}
|
||||
.form-group .long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
}
|
||||
.form-group select {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
|
||||
@@ -11,6 +11,11 @@
|
||||
}
|
||||
.form-group label {
|
||||
}
|
||||
.form-group.long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
text-align: left;
|
||||
}
|
||||
.form-group input {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
|
||||
@@ -11,6 +11,11 @@
|
||||
}
|
||||
.form-group label {
|
||||
}
|
||||
.form-group.long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
text-align: left;
|
||||
}
|
||||
.form-group input {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
}
|
||||
.form-group label {
|
||||
}
|
||||
.form-group.long-input input {
|
||||
min-width: 24rem;
|
||||
max-width: 24rem;
|
||||
text-align: left;
|
||||
}
|
||||
.form-group input {
|
||||
min-width: 12rem;
|
||||
max-width: 12rem;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
</div>
|
||||
|
||||
<fieldset>
|
||||
{{formField systemFields.flavorText value=system.flavorText localize=true classes="long-input"}}
|
||||
{{formField systemFields.role value=system.role localize=true }}
|
||||
{{formField systemFields.level value=system.level localize=true}}
|
||||
</fieldset>
|
||||
|
||||
@@ -5,8 +5,13 @@
|
||||
</div>
|
||||
|
||||
<fieldset>
|
||||
{{formField systemFields.techAge value=system.techAge localize=true}}
|
||||
{{formField systemFields.enc value=system.enc}}
|
||||
{{formField systemFields.difficulty value=system.difficulty localize=true }}
|
||||
|
||||
{{formField systemFields.threshold value=system.threshold}}
|
||||
{{formField systemFields.limit value=system.limit localize=true}}
|
||||
{{formField systemFields.nbAttempts value=system.nbAttempts localize=true}}
|
||||
{{formField systemFields.ingredients value=system.ingredients localize=true classes="long-input"}}
|
||||
|
||||
{{formField systemFields.cost value=system.cost}}
|
||||
</fieldset>
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{{formField systemFields.ammo value=system.ammo localize=true}}
|
||||
{{/if}}
|
||||
|
||||
{{formField systemFields.properties value=system.properties}}
|
||||
{{formField systemFields.properties value=system.properties classes="long-input"}}
|
||||
{{formField systemFields.damage value=system.damage}}
|
||||
|
||||
{{formField systemFields.cost value=system.cost}}
|
||||
|
||||
Reference in New Issue
Block a user