added alphabet item
- added to database and localization definitions - added sheet - added to talents & abilities tab - removed languages & alphabets from actor properties
This commit is contained in:
parent
1011b85067
commit
737a644ecd
6 changed files with 36 additions and 6 deletions
|
@ -46,6 +46,8 @@
|
||||||
"DS4.ItemTypeRacialAbilityPlural": "Racial Abilities",
|
"DS4.ItemTypeRacialAbilityPlural": "Racial Abilities",
|
||||||
"DS4.ItemTypeLanguage": "Language",
|
"DS4.ItemTypeLanguage": "Language",
|
||||||
"DS4.ItemTypeLanguagePlural": "Languages",
|
"DS4.ItemTypeLanguagePlural": "Languages",
|
||||||
|
"DS4.ItemTypeAlphabet": "Alphabet",
|
||||||
|
"DS4.ItemTypeAlphabetPlural": "Alphabets",
|
||||||
"DS4.ArmorType": "Armor Type",
|
"DS4.ArmorType": "Armor Type",
|
||||||
"DS4.ArmorTypeAbbr": "AT",
|
"DS4.ArmorTypeAbbr": "AT",
|
||||||
"DS4.ArmorMaterialType": "Material Type",
|
"DS4.ArmorMaterialType": "Material Type",
|
||||||
|
|
|
@ -51,6 +51,7 @@ export const DS4 = {
|
||||||
talent: "DS4.ItemTypeTalent",
|
talent: "DS4.ItemTypeTalent",
|
||||||
racialAbility: "DS4.ItemTypeRacialAbility",
|
racialAbility: "DS4.ItemTypeRacialAbility",
|
||||||
language: "DS4.ItemTypeLanguage",
|
language: "DS4.ItemTypeLanguage",
|
||||||
|
alphabet: "DS4.ItemTypeAlphabet",
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -8,7 +8,8 @@ export type DS4ItemDataType =
|
||||||
| DS4Equipment
|
| DS4Equipment
|
||||||
| DS4Talent
|
| DS4Talent
|
||||||
| DS4RacialAbility
|
| DS4RacialAbility
|
||||||
| DS4Language;
|
| DS4Language
|
||||||
|
| DS4Alphabet;
|
||||||
|
|
||||||
// types
|
// types
|
||||||
|
|
||||||
|
@ -36,6 +37,7 @@ interface DS4Trinket extends DS4ItemBase, DS4ItemPhysical, DS4ItemEquipable {}
|
||||||
interface DS4Equipment extends DS4ItemBase, DS4ItemPhysical {}
|
interface DS4Equipment extends DS4ItemBase, DS4ItemPhysical {}
|
||||||
type DS4RacialAbility = DS4ItemBase;
|
type DS4RacialAbility = DS4ItemBase;
|
||||||
type DS4Language = DS4ItemBase;
|
type DS4Language = DS4ItemBase;
|
||||||
|
type DS4Alphabet = DS4ItemBase;
|
||||||
|
|
||||||
// templates
|
// templates
|
||||||
|
|
||||||
|
|
|
@ -97,10 +97,6 @@
|
||||||
"used": 0
|
"used": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"language": {
|
|
||||||
"languages": "",
|
|
||||||
"alphabets": ""
|
|
||||||
},
|
|
||||||
"profile": {
|
"profile": {
|
||||||
"gender": "",
|
"gender": "",
|
||||||
"birthday": "",
|
"birthday": "",
|
||||||
|
@ -115,7 +111,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Item": {
|
"Item": {
|
||||||
"types": ["weapon", "armor", "shield", "trinket", "equipment", "talent", "racialAbility", "language"],
|
"types": [
|
||||||
|
"weapon",
|
||||||
|
"armor",
|
||||||
|
"shield",
|
||||||
|
"trinket",
|
||||||
|
"equipment",
|
||||||
|
"talent",
|
||||||
|
"racialAbility",
|
||||||
|
"language",
|
||||||
|
"alphabet"
|
||||||
|
],
|
||||||
"templates": {
|
"templates": {
|
||||||
"base": {
|
"base": {
|
||||||
"description": ""
|
"description": ""
|
||||||
|
@ -166,6 +172,9 @@
|
||||||
},
|
},
|
||||||
"language": {
|
"language": {
|
||||||
"templates": ["base"]
|
"templates": ["base"]
|
||||||
|
},
|
||||||
|
"alphabet": {
|
||||||
|
"templates": ["base"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,4 +138,12 @@
|
||||||
{{> baseItemListEntry item=item}}
|
{{> baseItemListEntry item=item}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
<h4 class="items-list-title">{{localize 'DS4.ItemTypeAlphabetPlural'}}</h4>
|
||||||
|
<ol class="items-list">
|
||||||
|
{{> baseItemListHeader dataType='alphabet' }}
|
||||||
|
{{#each itemsByType.alphabet as |item id|}}
|
||||||
|
{{> baseItemListEntry item=item}}
|
||||||
|
{{/each}}
|
||||||
|
</ol>
|
||||||
</div>
|
</div>
|
8
src/templates/item/alphabet-sheet.hbs
Normal file
8
src/templates/item/alphabet-sheet.hbs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<form class="{{cssClass}}" autocomplete="off">
|
||||||
|
{{#> systems/ds4/templates/item/partials/sheet-header.hbs}}
|
||||||
|
{{/systems/ds4/templates/item/partials/sheet-header.hbs}}
|
||||||
|
|
||||||
|
{{!-- Common Item body --}}
|
||||||
|
{{> systems/ds4/templates/item/partials/body.hbs}}
|
||||||
|
|
||||||
|
</form>
|
Loading…
Reference in a new issue