From fb10da22fdc04a8ff97dbf5c547bec0c6cb1a557 Mon Sep 17 00:00:00 2001 From: The Happy Anarchist Date: Tue, 18 Aug 2020 00:08:21 -1000 Subject: [PATCH] More replacements of ose and compiled css --- src/LICENSE.txt | 4 +- src/acks.css | 1092 +++++++++++++++++ src/acks.js | 62 +- src/lang/en.json | 498 ++++---- src/lang/es.json | 432 +++---- src/lang/fr.json | 496 ++++---- src/lang/pt-BR.json | 494 ++++---- src/module/actor/actor-sheet.js | 16 +- src/module/actor/character-sheet.js | 34 +- src/module/actor/entity.js | 134 +- src/module/actor/monster-sheet.js | 28 +- src/module/chat.js | 4 +- src/module/combat.js | 30 +- src/module/config.js | 92 +- src/module/dialog/character-creation.js | 30 +- src/module/dialog/character-modifiers.js | 8 +- src/module/dialog/entity-tweaks.js | 10 +- src/module/dialog/party-sheet.js | 22 +- src/module/dice.js | 40 +- src/module/helpers.js | 4 +- src/module/item/entity.js | 38 +- src/module/item/item-sheet.js | 8 +- src/module/macros.js | 6 +- src/module/party.js | 12 +- src/module/preloadTemplates.js | 20 +- src/module/settings.js | 36 +- src/module/treasure.js | 12 +- src/scss/actor-base.scss | 2 +- src/scss/apps.scss | 18 +- src/scss/character.scss | 8 +- src/scss/core.scss | 2 +- src/scss/item.scss | 2 +- src/scss/monster.scss | 2 +- src/scss/variables.scss | 2 +- src/templates/actors/character-sheet.html | 22 +- src/templates/actors/dialogs/lang-create.html | 4 +- .../actors/dialogs/modifiers-dialog.html | 36 +- .../actors/dialogs/monster-saves.html | 4 +- .../actors/dialogs/tweaks-dialog.html | 22 +- src/templates/actors/monster-sheet.html | 14 +- .../partials/character-abilities-tab.html | 18 +- .../partials/character-attributes-tab.html | 102 +- .../actors/partials/character-header.html | 14 +- .../partials/character-inventory-tab.html | 42 +- .../actors/partials/character-notes-tab.html | 10 +- .../actors/partials/character-spells-tab.html | 22 +- .../partials/monster-attributes-tab.html | 64 +- .../actors/partials/monster-header.html | 22 +- src/templates/apps/party-select.html | 2 +- src/templates/apps/party-sheet.html | 26 +- src/templates/chat/item-card.html | 12 +- src/templates/chat/roll-attack.html | 10 +- src/templates/chat/roll-creation.html | 4 +- src/templates/chat/roll-dialog.html | 10 +- src/templates/chat/roll-result.html | 10 +- src/templates/chat/roll-treasure.html | 4 +- src/templates/items/ability-sheet.html | 12 +- src/templates/items/armor-sheet.html | 10 +- src/templates/items/item-sheet.html | 8 +- src/templates/items/spell-sheet.html | 12 +- src/templates/items/weapon-sheet.html | 24 +- 61 files changed, 2665 insertions(+), 1573 deletions(-) create mode 100644 src/acks.css diff --git a/src/LICENSE.txt b/src/LICENSE.txt index 26039bc..cf1d586 100644 --- a/src/LICENSE.txt +++ b/src/LICENSE.txt @@ -593,7 +593,7 @@ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +PURPACKS. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. @@ -641,7 +641,7 @@ the "copyright" line and a pointer to where the full notice is found. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPACKS. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License diff --git a/src/acks.css b/src/acks.css new file mode 100644 index 0000000..d699d6f --- /dev/null +++ b/src/acks.css @@ -0,0 +1,1092 @@ +/* ----------------------------------------- */ +/* Sheet Styles */ +/* ----------------------------------------- */ +@keyframes notify { + from { + text-shadow: none; + } + to { + text-shadow: -1px -1px 4px #4b4a44, 1px -1px 4px #4b4a44, -1px 1px 4px #4b4a44, 1px 1px 4px #4b4a44; + } +} +.acks.sheet.actor { + /* Header Summary Details */ +} +.acks.sheet.actor .blinking { + font-weight: bold; + animation: 0.8s ease-in 1s infinite alternate notify; +} +.acks.sheet.actor .panel { + border: 1px solid rgba(0, 0, 0, 0.9); +} +.acks.sheet.actor .panel .panel-title { + color: whitesmoke; + background: url("/systems/acks/assets/back.png"); + line-height: 12px; + height: 20px; + text-align: center; + margin: 0; + padding: 4px; + display: flex; +} +.acks.sheet.actor .panel .panel-title h4 { + flex: 1; +} +.acks.sheet.actor .panel .panel-title .item-controls { + font-size: 12px; + flex: 0 0 18px; +} +.acks.sheet.actor .panel .panel-content { + margin: 0; + padding: 0; +} +.acks.sheet.actor .header-details h1 input { + margin: 0 0 10px 0; +} +.acks.sheet.actor .profile-img { + border: 0; + flex: 0 0 145px; + height: 145px; +} +.acks.sheet.actor .summary { + flex: 0 0 100%; + height: 44px; + margin: 0; + padding: 0; + list-style: none; + border-top: none; +} +.acks.sheet.actor .summary li { + height: calc(100% - 6px); + float: left; + margin: 2px 0; + padding: 0; + line-height: 30px; + color: #4b4a44; + position: relative; +} +.acks.sheet.actor .summary li label { + line-height: 10px; + position: absolute; + font-size: 10px; + color: #4b4a44; + bottom: 0; + left: 12px; +} +.acks.sheet.actor .summary li.notify input { + font-weight: bold; + animation: 0.8s ease-in 1s infinite alternate notify; +} +.acks.sheet.actor .sheet-tabs { + position: absolute; + transform: rotate(90deg); + top: 365px; + right: -169px; + width: 320px; + z-index: -1; +} +.acks.sheet.actor .sheet-tabs .item { + padding: 2px 10px 0; + margin-left: -5px; + text-indent: 4px; + background: url("/ui/parchment.jpg"); + border-top-right-radius: 4px; + border-top-left-radius: 80px; + box-shadow: 0 0 6px 1px rgba(0, 0, 0, 0.9); + font-size: 12px; + filter: brightness(0.9); +} +.acks.sheet.actor .sheet-tabs .item.active { + filter: none; + z-index: 1; + font-weight: bold; + text-shadow: none; + margin-bottom: -1px; +} +.acks.sheet.actor .sheet-body { + padding: 5px 0; + height: calc(100% - 140px); +} +.acks.sheet.actor .sheet-body .tab { + height: 100%; +} +.acks.sheet.actor .sheet-body .attributes { + list-style: none; + margin: 0; + padding: 0; + justify-content: space-evenly; +} +.acks.sheet.actor .sheet-body .attributes .attribute { + position: relative; + border: 1px solid #7a7971; + box-shadow: 0 0 2px #7a7971; +} +.acks.sheet.actor .sheet-body .attributes .attribute .attribute-name { + color: whitesmoke; + padding: 2px; + margin: 0; + border: 1px solid rgba(0, 0, 0, 0.9); + background: url("/systems/acks/assets/back.png"); + text-align: center; +} +.acks.sheet.actor .sheet-body .attributes .attribute.ability-score { + height: 40px; +} +.acks.sheet.actor .sheet-body .attributes .attribute.ability-score .attribute-value { + line-height: 36px; +} +.acks.sheet.actor .sheet-body .attributes .attribute .attribute-value { + text-align: center; + padding: 4px; +} +.acks.sheet.actor .sheet-body .attributes .attribute .attribute-value .sep { + flex: 0 0 5px; + line-height: 24px; +} +.acks.sheet.actor .sheet-body .attribute-group { + flex: 0 0 88px; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes { + display: flex; + flex-direction: column; + justify-content: space-evenly; + height: 100%; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes .attribute { + display: flex; + flex-direction: row; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes .attribute .attribute-name { + width: 40px; + margin: 0; + line-height: 35px; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes .attribute .attribute-name a { + margin: auto; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes .attribute.saving-throw .attribute-name { + line-height: 16px; + width: 80px; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes .attribute.saving-throw .attribute-value { + line-height: 29px; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes .attribute .attribute-value { + width: 45px; + flex-grow: 0; +} +.acks.sheet.actor .sheet-body .attribute-group .attributes .attribute .attribute-value input { + padding: 0; +} +.acks.sheet.actor .sheet-body .inventory { + overflow: auto; +} +.acks.sheet.actor .sheet-body .inventory .header-spells { + line-height: 30px; +} +.acks.sheet.actor .sheet-body .inventory .item-titles { + text-align: center; + padding: 4px 0; + border: 1px solid rgba(0, 0, 0, 0.9); + box-shadow: 0 0 5px rgba(0, 0, 0, 0.9); + font-weight: 300; + font-size: 13px; + background: url("/systems/acks/assets/back.png"); + color: white; +} +.acks.sheet.actor .sheet-body .inventory .item-titles .item-name { + text-align: left; + text-indent: 8px; +} +.acks.sheet.actor .sheet-body .inventory .item-titles input { + color: white; + margin: auto; +} +.acks.sheet.actor .sheet-body .inventory .item-list { + list-style: none; + margin: 0; + padding: 0; +} +.acks.sheet.actor .sheet-body .inventory .item-list > * { + line-height: 30px; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-summary { + font-size: 13px; + padding: 0 4px; + line-height: 20px; + box-shadow: 0 0 3px rgba(0, 0, 0, 0.9); +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-summary .tag-list { + padding: 0; + margin: 0; + list-style: none; + display: flex; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-summary .tag-list .tag { + margin: 1px 2px; + border: 1px solid #d8d6c9; + font-size: 11px; + line-height: 14px; + background: #4b4a44; + padding: 1px 4px; + color: whitesmoke; + border-radius: 3px; + box-shadow: 0 0 1px #d8d6c9; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-header { + padding: 0px; + margin-bottom: 0px; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-entry:nth-child(even) .item { + background: rgba(0, 0, 0, 0.1); +} +.acks.sheet.actor .sheet-body .inventory .item-list .item { + line-height: 30px; + height: 30px; + overflow: hidden; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-equipped { + grid-area: item-equipped; + justify-self: center; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-rollable:hover .item-image { + background-image: url("/icons/svg/d20-grey.svg") !important; + cursor: pointer; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-rollable .item-image:hover { + background-image: url("/icons/svg/d20-black.svg") !important; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-name { + text-indent: 8px; + text-align: left; + overflow: hidden; + height: 30px; + margin: 0; + line-height: 30px; + flex-basis: 90px; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-name .item-image { + flex-basis: 30px; + flex-grow: 0; + background-size: contain; + background-repeat: no-repeat; +} +.acks.sheet.actor .sheet-body .inventory .item-list .item-name h4 { + margin: 0; +} +.acks.sheet.actor .sheet-body .inventory .icon-row img { + border: none; + margin: 3px 1px; + flex: 0 0 24px; +} +.acks.sheet.actor .sheet-body .inventory .icon-row span { + font-size: 12px; + flex-grow: 0; +} +.acks.sheet.actor .sheet-body .inventory .field-flex { + flex: 1; + text-align: left; + font-size: 12px; + text-indent: 8px; +} +.acks.sheet.actor .sheet-body .inventory .field-longer { + text-indent: 8px; + text-align: left; + flex-basis: 90px; + font-size: 12px; +} +.acks.sheet.actor .sheet-body .inventory .field-long { + flex-basis: 65px; + flex-grow: 0; + text-align: center; + font-size: 12px; +} +.acks.sheet.actor .sheet-body .inventory .field-long.memorize input { + border-bottom: none; + margin: 3px 0; +} +.acks.sheet.actor .sheet-body .inventory .field-short { + font-size: 12px; + flex-basis: 45px; + flex-grow: 0; + text-align: center; +} +.acks.sheet.actor .sheet-body .inventory .field-short.quantity { + display: flex; +} +.acks.sheet.actor .sheet-body .inventory .field-short.quantity input { + margin: 3px 0; + border-bottom: none; +} +.acks.sheet.actor .sheet-body .inventory .item-caret { + flex: 0 0 10px; + margin: 0 4px; + cursor: pointer; +} +.acks.sheet.actor .sheet-body .inventory .item-controls { + font-size: 12px; + flex-basis: 50px; + flex-grow: 0; + text-align: right; + margin-right: 4px; +} +.acks.sheet.actor .sheet-body .inventory .item-controls .item-unequipped { + color: rgba(0, 0, 0, 0.2); +} +.acks.sheet.actor .sheet-body .inventory .item-controls a:hover { + color: #44191A; + text-shadow: 0 0 5px #d8d6c9, 1px 0 5px #d8d6c9, 0 1px 5px #d8d6c9, 1px 1px 5px #d8d6c9; +} +.acks.sheet.actor .sheet-body .inventory.spells .item-titles { + line-height: 24px; +} +.acks.sheet.actor .sheet-body .inventory.spells .item-controls { + flex-basis: 45px; +} +.acks.sheet.actor .sheet-body .editor { + height: 300px; + padding: 4px; +} + +.acks.roll-dialog .roll-details { + font-weight: bold; + text-align: center; +} + +.acks.dialog.creator .attribute-list .form-fields { + flex: 0 0 50px; +} +.acks.dialog.creator .attribute-list .form-fields input { + text-align: center; + font-weight: bold; +} +.acks.dialog.creator .roll-stats { + flex: 0 0 65px; + padding: 5px; + margin-left: 4px; + border-left: 1px solid #7a7971; +} +.acks.dialog.creator .roll-stats .form-group .form-fields span { + text-align: center; + line-height: 24px; + flex: 0; +} + +.acks.dialog.party-sheet { + min-width: 250px; + min-height: 250px; +} +.acks.dialog.party-sheet .window-content { + padding: 0; +} +.acks.dialog.party-sheet .header { + color: whitesmoke; + background: url("/systems/acks/assets/back.png"); + padding: 4px 0; + line-height: 20px; + text-align: left; + padding: 2px 10px; +} +.acks.dialog.party-sheet .header .item-controls .item-control { + padding: 0 2px; +} +.acks.dialog.party-sheet .header .item-controls .item-control button { + line-height: 15px; + margin: 0 1px; + background: rgba(255, 255, 240, 0.8); + border: 1px solid #b5b3a4; +} +.acks.dialog.party-sheet .actor-list { + margin: 0; + overflow: auto; + list-style: none; + padding: 0; +} +.acks.dialog.party-sheet .actor-list .actor { + border-bottom: 1px solid #7a7971; + border-top: 1px solid #7a7971; + margin-bottom: 2px; + font-size: 12px; + text-align: center; +} +.acks.dialog.party-sheet .actor-list .actor .fas { + padding: 0 2px; + font-size: 10px; +} +.acks.dialog.party-sheet .actor-list .actor .fields .field-row:nth-child(odd) { + background-color: rgba(0, 0, 0, 0.1); +} +.acks.dialog.party-sheet .actor-list .actor .field-img { + flex: 0 0 50px; + position: relative; +} +.acks.dialog.party-sheet .actor-list .actor .field-img:hover .img-btns button { + display: block; +} +.acks.dialog.party-sheet .actor-list .actor .field-img img { + border: none; + width: 45px; + height: 45px; +} +.acks.dialog.party-sheet .actor-list .actor .field-img .img-btns { + position: absolute; + bottom: 6px; + left: 3px; + width: 45px; + height: 12px; +} +.acks.dialog.party-sheet .actor-list .actor .field-img .img-btns button { + display: none; + cursor: pointer; + font-size: 10px; + height: 18px; + width: 14px; + line-height: 13px; + margin: 0 1px; + border: 1px solid #4b4a44; + padding: 2px; + background: #d8d6c9; + box-shadow: inset 0 0px 3px #7a7971; +} +.acks.dialog.party-sheet .field-name { + text-align: left; + text-indent: 10px; +} + +#sidebar #actors .directory-header .header-search .acks-party-sheet { + width: 32px; + text-align: center; + line-height: 20px; +} +#sidebar #actors .directory-header .header-search input { + width: calc(100% - 45px); +} + +.acks.dialog.modifiers .attribute-bonuses label { + font-weight: bold; +} +.acks.dialog.modifiers .attribute-bonuses ol { + list-style: outside; +} + +.sheet.roll-table-config .sheet-header .toggle-treasure { + flex: 0 0 30px; + font-size: 26px; + line-height: 25px; + color: white; + margin: 0 2px 5px 8px; + border-radius: 8px; + background: url("/systems/acks/assets/treasure.png") no-repeat center; + background-size: cover; + padding: 5px 8px; + cursor: pointer; + filter: grayscale(1) opacity(0.5); +} +.sheet.roll-table-config .sheet-header .toggle-treasure.active, .sheet.roll-table-config .sheet-header .toggle-treasure:hover { + filter: none; +} +@keyframes activated { + from { + background: none; + } + to { + background: rgba(0, 0, 0, 0.12); + } +} +.sheet.roll-table-config .results .table-result.active { + animation: 0.7s infinite alternate activated; +} + +#settings .acks.game-license { + font-size: 12px; +} +#settings .acks.game-license .button { + text-align: center; + margin: 4px; +} +#settings .acks.game-license .footer { + text-align: right; +} + +.acks.chat-block { + margin: 0; +} +.acks.chat-block .chat-header { + height: 46px; + margin: 4px 0; + background: url("/systems/acks/assets/back.png"); + border: 1px solid black; + border-radius: 3px; + color: white; + padding: 2px; + box-shadow: 0 0 2px #fff inset; +} +.acks.chat-block .chat-header .chat-title { + margin: 4px 0; + height: 30px; + overflow: hidden; +} +.acks.chat-block .chat-header .chat-title h2 { + border: none; + line-height: 34px; + margin: 0; + text-indent: 10px; + font-size: 16px; + word-break: break-all; +} +.acks.chat-block .chat-header .chat-img { + flex: 0 0 42px; + background-size: cover; +} +.acks.chat-block .chat-target { + text-align: right; + font-style: italic; + padding: 2px; +} +.acks.chat-block .chat-details { + padding: 4px; + font-size: 13px; +} +.acks.chat-block .roll-result { + font-size: 13px; + text-align: center; +} +.acks.chat-block .roll-result.roll-success { + color: #18520b; +} +.acks.chat-block .roll-result.roll-fail { + color: #aa0200; +} +.acks.chat-block .damage-roll { + position: relative; +} +.acks.chat-block .damage-roll .dice-damage { + display: none; + position: absolute; + line-height: 24px; + text-align: center; + background: rgba(0, 0, 0, 0.1); + border-radius: 3px; + box-shadow: 0 0 2px #fff inset; + bottom: 1px; + right: 10px; +} +.acks.chat-block .damage-roll .dice-damage button { + padding: 2px 5px; + width: 22px; + line-height: 14px; + height: 22px; + cursor: pointer; +} +.acks.chat-block .damage-roll:hover .dice-damage { + display: block; +} + +.acks.chat-card { + font-style: normal; + font-size: 12px; +} +.acks.chat-card .card-header { + padding: 3px 0; + border-top: 2px groove #fff; + border-bottom: 2px groove #fff; +} +.acks.chat-card .card-header img { + flex: 0 0 36px; + margin-right: 5px; + border: none; +} +.acks.chat-card .card-header h3 { + flex: 1; + margin: 0; + line-height: 36px; + color: #4b4a44; +} +.acks.chat-card .card-header h3:hover { + color: #111; +} +.acks.chat-card .card-content { + margin: 5px 0; +} +.acks.chat-card .card-content .treasure-list { + padding: 0; + list-style: none; +} +.acks.chat-card .card-content .treasure-list .treasure { + line-height: 36px; +} +.acks.chat-card .card-content .treasure-list .treasure img { + flex: 0 0 36px; + border: none; +} +.acks.chat-card .card-content .treasure-list .treasure div { + text-indent: 10px; + font-size: 14px; + font-weight: bold; +} +.acks.chat-card .card-content h3 { + font-size: 12px; + margin: 0; + font-weight: bold; +} +.acks.chat-card .card-content > * { + -webkit-user-select: text; + -moz-user-select: text; + -ms-user-select: text; + user-select: text; +} +.acks.chat-card .card-buttons { + margin: 5px 0; +} +.acks.chat-card .card-buttons span { + display: block; + line-height: 28px; + text-align: center; + border: 1px solid #7a7971; +} +.acks.chat-card .card-buttons button { + font-size: 12px; + height: 24px; + line-height: 20px; + margin: 2px 0; +} +.acks.chat-card .card-footer { + padding: 3px 0 0; + border-top: 2px groove #fff; +} +.acks.chat-card .card-footer span { + border-right: 2px groove #fff; + padding: 0 5px 0 0; + font-size: 10px; +} +.acks.chat-card .card-footer span:last-child { + border-right: none; + padding-right: 0; +} + +.dice-roll .dice-total.success { + color: inherit; + background: #c7d0c0; + border: 1px solid #006c00; +} +.dice-roll .dice-total.failure { + color: inherit; + background: #ffdddd; + border: 1px solid #6e0000; +} +.dice-roll .dice-total.critical { + color: green; +} +.dice-roll .dice-total.fumble { + color: red; +} + +/* ----------------------------------------- */ +/* Sheet Styles */ +/* ----------------------------------------- */ +/* ----------------------------------------- */ +/* Basic Structure */ +/* ----------------------------------------- */ +.acks.sheet.actor.character { + min-width: 450px; + min-height: 550px; + /* ----------------------------------------- */ + /* Sheet Header */ + /* ----------------------------------------- */ + /* ----------------------------------------- */ + /* Sheet Body */ + /* ----------------------------------------- */ + /* Encumbrance Bar */ + /* ----------------------------------------- */ + /* Item Controls */ + /* ----------------------------------------- */ +} +.acks.sheet.actor.character .sheet-header .xp-bonus { + top: -15px; + right: 3px; + color: #7a7971; + font-size: 10px; + position: absolute; +} +.acks.sheet.actor.character .sheet-body .tab { + height: 100%; +} +.acks.sheet.actor.character .sheet-body .attributes-tab { + justify-content: space-between; + height: 100%; +} +.acks.sheet.actor.character .sheet-body .attributes-tab .attribute-group { + position: relative; +} +.acks.sheet.actor.character .sheet-body .attributes-tab .attribute-group .modifiers-btn { + position: absolute; + left: 0; + top: -8px; +} +.acks.sheet.actor.character .sheet-body .resources { + display: flex; + justify-content: space-evenly; + flex-direction: column; +} +.acks.sheet.actor.character .sheet-body .resources .attribute { + flex: 0 0 55px; +} +.acks.sheet.actor.character .sheet-body .resources .attribute.attribute-secondaries { + flex: 0 0 40px; + margin-bottom: 5px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .languages { + margin: 2px; + flex: 0 0 130px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .languages .item-titles .item-controls { + flex: 0 0 20px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .languages ol { + height: 100px; + overflow: auto; + list-style: none; + padding: 5px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .languages ol li { + margin: 0; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .languages ol li:hover .item-controls { + display: flex; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .languages ol li .item-controls { + flex: 0 0 20px; + display: none; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .description { + margin: 2px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .description .editor { + height: 110px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory .description .editor .tox .tox-tbtn { + height: 24px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory.notes { + margin: 2px; +} +.acks.sheet.actor.character .sheet-body .notes-tab .inventory.notes .editor { + height: 150px; +} +.acks.sheet.actor.character .sheet-body .health { + height: 70px; + position: relative; +} +.acks.sheet.actor.character .sheet-body .health.armor-class { + background: url("/systems/acks/assets/shield.png") no-repeat center; + background-size: 70px; +} +.acks.sheet.actor.character .sheet-body .health.armor-class .shield { + text-align: right; + padding: 0 14px; + font-size: 18px; +} +.acks.sheet.actor.character .sheet-body .health .health-value { + font-size: 16px; + text-align: center; + font-weight: bolder; + text-shadow: 0 0 2px white, 0 1px 2px white, 1px 0 2px white, 1px 1px 2px white; +} +.acks.sheet.actor.character .sheet-body .health .health-top { + border-bottom: none; + position: absolute; + font-size: 24px; + top: 10px; + width: 70px; + left: calc(50% - 35px); +} +.acks.sheet.actor.character .sheet-body .health .health-bottom { + border-bottom: none; + position: absolute; + bottom: 8px; + width: 40px; + right: calc(50% + -20px); +} +.acks.sheet.actor.character .sheet-body .health .health-empty { + background: url("/systems/acks/assets/heart_empty.png") no-repeat center; + background-size: 70px; + background-position: top; +} +.acks.sheet.actor.character .sheet-body .health .health-full { + background: url("/systems/acks/assets/heart_full.png") no-repeat center; + background-size: 70px; + background-position: bottom; +} +.acks.sheet.actor.character .sheet-body .saving-throw .attribute-value.flat { + line-height: 30px; +} +.acks.sheet.actor.character .sheet-body .exploration .attribute { + margin: 4px; +} +.acks.sheet.actor.character .sheet-body .exploration .attribute .attribute-name { + text-align: left; + flex: 1 0 60px; + line-height: 25px; + font-size: 12px; +} +.acks.sheet.actor.character .encumbrance { + height: 12px; + background: url("/systems/acks/assets/back.png"); + margin: 1px 15px 0 1px; + border: 1px solid rgba(0, 0, 0, 0.9); + border-radius: 3px; + position: relative; +} +.acks.sheet.actor.character .encumbrance .encumbrance-bar { + position: absolute; + background: rgba(255, 0, 0, 0.6); + height: 10px; + border: 1px solid #777; + border-radius: 2px; +} +.acks.sheet.actor.character .encumbrance .encumbrance-label { + height: 10px; + padding: 0 5px; + position: absolute; + top: 0; + right: 10px; + font-size: 13px; + line-height: 12px; + text-align: right; + color: #EEE; + text-shadow: 0 0 5px #000; +} +.acks.sheet.actor.character .encumbrance .encumbrance-breakpoint { + display: block; + position: absolute; +} +.acks.sheet.actor.character .encumbrance .encumbrance-breakpoint.encumbrance-25 { + left: 25%; +} +.acks.sheet.actor.character .encumbrance .encumbrance-breakpoint.encumbrance-50 { + left: 50%; +} +.acks.sheet.actor.character .encumbrance .encumbrance-breakpoint.encumbrance-75 { + left: 75%; +} +.acks.sheet.actor.character .encumbrance .arrow-up { + bottom: 0; + width: 0; + height: 0; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-bottom: 4px solid #d8d6c9; +} +.acks.sheet.actor.character .encumbrance .arrow-down { + top: 0; + width: 0; + height: 0; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #d8d6c9; +} +.acks.sheet.actor.character .encumbrance.encumbered .arrow-up { + border-bottom: 4px solid rgba(0, 0, 0, 0.9); +} +.acks.sheet.actor.character .encumbrance.encumbered .arrow-down { + border-top: 4px solid rgba(0, 0, 0, 0.9); +} + +.acks.window-content .collapsed { + display: none; +} +.acks.window-content .margin { + margin: 5px; +} +.acks.window-content input { + text-align: center; +} +.acks.window-content input[type=number] { + -moz-appearance: textfield; +} +.acks.window-content input[type=number]::-webkit-inner-spin-button, +.acks.window-content input[type=number]::-webkit-outer-spin-button { + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + margin: 0; +} +.acks.window-content input:not([type=checkbox]) { + background: none; + border: none; + border-radius: 0; + border-bottom: 1px solid #7a7971; +} +.acks.window-content input:not([type=checkbox]):hover:not(:disabled), .acks.window-content input:not([type=checkbox]):focus:not(:disabled) { + box-shadow: none; + background: linear-gradient(transparent, rgba(0, 0, 0, 0.1)); +} +.acks.window-content a:hover { + text-shadow: none; +} +.acks.window-content .resizable { + overflow: auto; +} + +.acks.sheet.item .sheet-header h1 input { + margin: 6px 2%; +} +.acks.sheet.item .sheet-header .details { + flex: 0 0 70px; +} +.acks.sheet.item .sheet-header .details label { + flex: 0 0 20px; +} +.acks.sheet.item .sheet-header .profile-img { + border: none; + flex: 0 0 84px; + height: 84px; +} +.acks.sheet.item .sheet-header .tag-list { + margin: 0; + height: 24px; + overflow: auto; + list-style: none; + padding: 1px; + display: flex; + flex-wrap: wrap; +} +.acks.sheet.item .sheet-header .tag-list .tag { + background: #4b4a44; + border-radius: 5px; + color: whitesmoke; + padding: 1px 5px; + height: 18px; + box-shadow: 0 0 3px #d8d6c9; + margin: 0 2px; +} +.acks.sheet.item .sheet-header .tag-list .tag i { + font-size: 8px; + vertical-align: top; + color: #d8d6c9; +} +.acks.sheet.item .sheet-body .stats { + flex: 0 0 80px; + border-right: 1px groove rgba(0, 0, 0, 0.2); + padding-right: 2px; + font-size: 13px; +} +.acks.sheet.item .sheet-body .stats .form-group { + margin: 1px; + border: 1px solid rgba(0, 0, 0, 0.15); +} +.acks.sheet.item .sheet-body .stats .form-group label { + background: rgba(0, 0, 0, 0.1); + padding: 0 4px; +} +.acks.sheet.item .sheet-body .stats .form-group input { + border-bottom: none; + margin: auto 0; +} +.acks.sheet.item .sheet-body .stats .form-group .form-fields.range .sep { + flex: 0 0 1px; + background: #7a7971; + margin: 4px 0; +} +.acks.sheet.item .sheet-body .stats .form-group.attack-type { + text-align: center; + padding: 2px; + font-size: 15px; +} +.acks.sheet.item .sheet-body .stats .form-group.attack-type a { + color: #969696; +} +.acks.sheet.item .sheet-body .stats .form-group.attack-type a.active, .acks.sheet.item .sheet-body .stats .form-group.attack-type a :hover { + color: rgba(0, 0, 0, 0.9); +} +.acks.sheet.item .sheet-body .stats .block-input { + display: flex; + flex-direction: column; + text-align: center; +} +.acks.sheet.item .sheet-body .stats.narrow .form-group input { + height: 18px; +} +.acks.sheet.item .sheet-body .description .editor { + height: 250px; +} +.acks.sheet.item .sheet-body .description .editor .editor-content { + padding: 0 5px; +} + +.acks.actor.monster { + min-height: 565px; + min-width: 460px; +} +.acks.actor.monster .header-details .summary .treasure-table { + text-align: center; +} +.acks.actor.monster .header-details .summary .check-field:hover .check { + display: block; +} +.acks.actor.monster .header-details .summary .check-field .check { + display: none; + line-height: 35px; + flex: 0 0 20px; + position: absolute; + font-size: 12px; +} +.acks.actor.monster .header-details .summary .check-field .check:hover { + color: rgba(0, 0, 0, 0.9); +} +.acks.actor.monster .sheet-body .editor { + height: 300px; +} +.acks.actor.monster .sheet-body .attributes-tab { + display: flex; + justify-content: space-around; + flex-direction: column; + height: 100%; +} +.acks.actor.monster .sheet-body .attributes-tab .attribute-row .attributes { + justify-content: space-between; +} +.acks.actor.monster .sheet-body .attributes-tab .attribute-row .attribute-group { + margin: 5px; +} +.acks.actor.monster .sheet-body .attributes-tab .attributes .attribute { + flex: 0 0 60px; +} +.acks.actor.monster .sheet-body .attributes-tab .attributes .attribute.health { + flex: 0 0 85px; +} +.acks.actor.monster .sheet-body .attributes-tab .attributes .attribute.saving-throw { + flex: 0 0 40px; +} +.acks.actor.monster .attributes .attribute.health { + position: relative; +} +.acks.actor.monster .attributes .attribute.health .attribute-name .hp-roll { + font-size: 12px; + position: absolute; + right: 5px; + top: 5px; + color: #d8d6c9; +} +.acks.actor.monster .attributes .attribute.health .attribute-name .hp-roll:hover { + color: white; +} +.acks.actor.monster .attribute-group .attacks-description { + margin: 2px; + padding: 0; + text-align: center; +} +.acks.actor.monster .attribute-group .attacks-description label { + color: #7a7971; + font-size: 10px; +} +.acks.actor.monster .panel.abilities .item-list .item-entry .item-pattern { + flex: 0 0 15px; + cursor: pointer; +} + +/* ----------------------------------------- */ +/* Sheet Styles */ +/* ----------------------------------------- */ + +/*# sourceMappingURL=acks.css.map */ diff --git a/src/acks.js b/src/acks.js index 7ab7e14..13cc593 100644 --- a/src/acks.js +++ b/src/acks.js @@ -1,18 +1,18 @@ // Import Modules -import { OseItemSheet } from "./module/item/item-sheet.js"; -import { OseActorSheetCharacter } from "./module/actor/character-sheet.js"; -import { OseActorSheetMonster } from "./module/actor/monster-sheet.js"; +import { AcksItemSheet } from "./module/item/item-sheet.js"; +import { AcksActorSheetCharacter } from "./module/actor/character-sheet.js"; +import { AcksActorSheetMonster } from "./module/actor/monster-sheet.js"; import { preloadHandlebarsTemplates } from "./module/preloadTemplates.js"; -import { OseActor } from "./module/actor/entity.js"; -import { OseItem } from "./module/item/entity.js"; -import { OSE } from "./module/config.js"; +import { AcksActor } from "./module/actor/entity.js"; +import { AcksItem } from "./module/item/entity.js"; +import { ACKS } from "./module/config.js"; import { registerSettings } from "./module/settings.js"; import { registerHelpers } from "./module/helpers.js"; import * as chat from "./module/chat.js"; import * as treasure from "./module/treasure.js"; import * as macros from "./module/macros.js"; import * as party from "./module/party.js"; -import { OseCombat } from "./module/combat.js"; +import { AcksCombat } from "./module/combat.js"; /* -------------------------------------------- */ /* Foundry VTT Initialization */ @@ -28,9 +28,9 @@ Hooks.once("init", async function () { decimals: 2, }; - CONFIG.OSE = OSE; + CONFIG.ACKS = ACKS; - game.ose = { + game.acks = { rollItemMacro: macros.rollItemMacro, }; @@ -40,21 +40,21 @@ Hooks.once("init", async function () { // Register custom system settings registerSettings(); - CONFIG.Actor.entityClass = OseActor; - CONFIG.Item.entityClass = OseItem; + CONFIG.Actor.entityClass = AcksActor; + CONFIG.Item.entityClass = AcksItem; // Register sheet application classes Actors.unregisterSheet("core", ActorSheet); - Actors.registerSheet("ose", OseActorSheetCharacter, { + Actors.registerSheet("acks", AcksActorSheetCharacter, { types: ["character"], makeDefault: true, }); - Actors.registerSheet("ose", OseActorSheetMonster, { + Actors.registerSheet("acks", AcksActorSheetMonster, { types: ["monster"], makeDefault: true, }); Items.unregisterSheet("core", ItemSheet); - Items.registerSheet("ose", OseItemSheet, { makeDefault: true }); + Items.registerSheet("acks", AcksItemSheet, { makeDefault: true }); await preloadHandlebarsTemplates(); }); @@ -66,19 +66,19 @@ Hooks.once("setup", function () { // Localize CONFIG objects once up-front const toLocalize = ["saves_short", "saves_long", "scores", "armor", "colors", "tags"]; for (let o of toLocalize) { - CONFIG.OSE[o] = Object.entries(CONFIG.OSE[o]).reduce((obj, e) => { + CONFIG.ACKS[o] = Object.entries(CONFIG.ACKS[o]).reduce((obj, e) => { obj[e[0]] = game.i18n.localize(e[1]); return obj; }, {}); } - for (let l of CONFIG.OSE.languages) { - CONFIG.OSE.languages[l] = game.i18n.localize(CONFIG.OSE.languages[l]); + for (let l of CONFIG.ACKS.languages) { + CONFIG.ACKS.languages[l] = game.i18n.localize(CONFIG.ACKS.languages[l]); } }); Hooks.once("ready", async () => { Hooks.on("hotbarDrop", (bar, data, slot) => - macros.createOseMacro(data, slot) + macros.createAcksMacro(data, slot) ); }); @@ -90,18 +90,18 @@ Hooks.on("renderSidebarTab", async (object, html) => { if (object instanceof Settings) { let gamesystem = html.find(".game-system"); // SRD Link - let ose = gamesystem.find('h4').last(); - ose.append(` SRD`); + let acks = gamesystem.find('h4').last(); + acks.append(` SRD`); // License text - const template = "systems/ose/templates/chat/license.html"; + const template = "systems/acks/templates/chat/license.html"; const rendered = await renderTemplate(template); gamesystem.append(rendered); // User guide let docs = html.find("button[data-action='docs']"); const styling = "border:none;margin-right:2px;vertical-align:middle;margin-bottom:5px"; - $(``).insertAfter(docs); + $(``).insertAfter(docs); html.find('button[data-action="userguide"]').click(ev => { new FrameViewer('https://mesfoliesludiques.gitlab.io/foundryvtt-ose', {resizable: true}).render(true); }); @@ -109,35 +109,35 @@ Hooks.on("renderSidebarTab", async (object, html) => { }); Hooks.on("preCreateCombatant", (combat, data, options, id) => { - let init = game.settings.get("ose", "initiative"); + let init = game.settings.get("acks", "initiative"); if (init == "group") { - OseCombat.addCombatant(combat, data, options, id); + AcksCombat.addCombatant(combat, data, options, id); } }); Hooks.on("preUpdateCombatant", (combat, combatant, data) => { - OseCombat.updateCombatant(combat, combatant, data); + AcksCombat.updateCombatant(combat, combatant, data); }); Hooks.on("renderCombatTracker", (object, html, data) => { - OseCombat.format(object, html, data); + AcksCombat.format(object, html, data); }); Hooks.on("preUpdateCombat", async (combat, data, diff, id) => { - let init = game.settings.get("ose", "initiative"); + let init = game.settings.get("acks", "initiative"); if (!data.round) { return; } if (init === "group") { - OseCombat.rollInitiative(combat, data, diff, id); + AcksCombat.rollInitiative(combat, data, diff, id); } else if (init === "rerolled") { - OseCombat.individualInitiative(combat, data, diff, id); + AcksCombat.individualInitiative(combat, data, diff, id); } else if (init === "reset") { - OseCombat.resetInitiative(combat, data, diff, id); + AcksCombat.resetInitiative(combat, data, diff, id); } }); -Hooks.on("renderChatLog", (app, html, data) => OseItem.chatListeners(html)); +Hooks.on("renderChatLog", (app, html, data) => AcksItem.chatListeners(html)); Hooks.on("getChatLogEntryContext", chat.addChatMessageContextOptions); Hooks.on("renderChatMessage", chat.addChatMessageButtons); Hooks.on("renderRollTableConfig", treasure.augmentTable); diff --git a/src/lang/en.json b/src/lang/en.json index 431131a..85eb4f6 100644 --- a/src/lang/en.json +++ b/src/lang/en.json @@ -1,276 +1,276 @@ { - "OSE.Edit": "Edit", - "OSE.Delete": "Delete", - "OSE.Show": "Show", - "OSE.Add": "Add", - "OSE.Ok": "Ok", - "OSE.Update": "Update", - "OSE.Reset": "Reset", - "OSE.Cancel": "Cancel", - "OSE.Roll": "Roll", - "OSE.Success": "Success", - "OSE.Failure": "Failure", + "ACKS.Edit": "Edit", + "ACKS.Delete": "Delete", + "ACKS.Show": "Show", + "ACKS.Add": "Add", + "ACKS.Ok": "Ok", + "ACKS.Update": "Update", + "ACKS.Reset": "Reset", + "ACKS.Cancel": "Cancel", + "ACKS.Roll": "Roll", + "ACKS.Success": "Success", + "ACKS.Failure": "Failure", - "OSE.dialog.tweaks": "Tweaks", - "OSE.dialog.partysheet": "Party Overview", - "OSE.dialog.selectActors": "Select PCs", - "OSE.dialog.dealXP": "Deal XP", - "OSE.dialog.generator": "Character generator", - "OSE.dialog.generateSaves": "Generate Saves", - "OSE.dialog.generateScores": "Generate Scores", - "OSE.dialog.generateScore": "Rolling {score} ({count})", + "ACKS.dialog.tweaks": "Tweaks", + "ACKS.dialog.partysheet": "Party Overview", + "ACKS.dialog.selectActors": "Select PCs", + "ACKS.dialog.dealXP": "Deal XP", + "ACKS.dialog.generator": "Character generator", + "ACKS.dialog.generateSaves": "Generate Saves", + "ACKS.dialog.generateScores": "Generate Scores", + "ACKS.dialog.generateScore": "Rolling {score} ({count})", - "OSE.Formula": "Formula", - "OSE.SitMod": "Situational Modifier", - "OSE.Modifier": "Modifier", - "OSE.Modifiers": "Modifiers", - "OSE.RollMode": "Roll Mode", - "OSE.RollExample": "e.g. +1d4", + "ACKS.Formula": "Formula", + "ACKS.SitMod": "Situational Modifier", + "ACKS.Modifier": "Modifier", + "ACKS.Modifiers": "Modifiers", + "ACKS.RollMode": "Roll Mode", + "ACKS.RollExample": "e.g. +1d4", - "OSE.roll.formula": "{label} roll", - "OSE.roll.appearing": "Appearing roll ({type})", - "OSE.roll.morale": "Morale check", - "OSE.roll.hd": "Hit Dice roll", - "OSE.roll.attacksWith": "Attacks with {name}", - "OSE.roll.attacks": "{name} attacks!", - "OSE.roll.save": "{save} Save", - "OSE.roll.details.save": "Roll 1d20 >= {save} for success", - "OSE.roll.attribute": "{attribute} check", - "OSE.roll.details.attribute": "Roll 1d20 <= {score} for success", - "OSE.roll.exploration": "{exploration} test", - "OSE.roll.details.exploration": "Roll 1d6 <= {expl} for success", - "OSE.roll.reaction": "Reaction roll", - "OSE.roll.initiative": "Group {group} rolls for Initiative!", - "OSE.roll.individualInit": "{name} rolls for Initiative!", + "ACKS.roll.formula": "{label} roll", + "ACKS.roll.appearing": "Appearing roll ({type})", + "ACKS.roll.morale": "Morale check", + "ACKS.roll.hd": "Hit Dice roll", + "ACKS.roll.attacksWith": "Attacks with {name}", + "ACKS.roll.attacks": "{name} attacks!", + "ACKS.roll.save": "{save} Save", + "ACKS.roll.details.save": "Roll 1d20 >= {save} for success", + "ACKS.roll.attribute": "{attribute} check", + "ACKS.roll.details.attribute": "Roll 1d20 <= {score} for success", + "ACKS.roll.exploration": "{exploration} test", + "ACKS.roll.details.exploration": "Roll 1d6 <= {expl} for success", + "ACKS.roll.reaction": "Reaction roll", + "ACKS.roll.initiative": "Group {group} rolls for Initiative!", + "ACKS.roll.individualInit": "{name} rolls for Initiative!", - "OSE.table.treasure.roll": "Roll Treasure", + "ACKS.table.treasure.roll": "Roll Treasure", - "OSE.details.name": "Name", - "OSE.details.class": "Class", - "OSE.details.title": "Title", - "OSE.details.alignment": "Alignment", - "OSE.details.level": "Level", - "OSE.details.experience.base": "Experience", - "OSE.details.experience.bonus": "Bonus Experience", - "OSE.details.experience.next": "Next level", - "OSE.details.experience.share": "Experience Share", - "OSE.details.experience.award": "XP Award", - "OSE.details.treasure": "Treasure type", - "OSE.details.treasureTable": "Table", - "OSE.details.treasureTableHint": "Drop a rollable table here to roll the monster treasure", - "OSE.details.morale": "Morale", - "OSE.details.reaction": "Reaction", - "OSE.details.appearing": "NA", + "ACKS.details.name": "Name", + "ACKS.details.class": "Class", + "ACKS.details.title": "Title", + "ACKS.details.alignment": "Alignment", + "ACKS.details.level": "Level", + "ACKS.details.experience.base": "Experience", + "ACKS.details.experience.bonus": "Bonus Experience", + "ACKS.details.experience.next": "Next level", + "ACKS.details.experience.share": "Experience Share", + "ACKS.details.experience.award": "XP Award", + "ACKS.details.treasure": "Treasure type", + "ACKS.details.treasureTable": "Table", + "ACKS.details.treasureTableHint": "Drop a rollable table here to roll the monster treasure", + "ACKS.details.morale": "Morale", + "ACKS.details.reaction": "Reaction", + "ACKS.details.appearing": "NA", - "OSE.Attack": "Attack", - "OSE.Encumbrance": "Encumbrance", + "ACKS.Attack": "Attack", + "ACKS.Encumbrance": "Encumbrance", - "OSE.Retainer": "Retainer", - "OSE.RetainerWage": "Wage", - "OSE.RetainerUpkeep": "Upkeep", - "OSE.Loyalty": "Loyalty Rating", - "OSE.LoyaltyShort": "LR", + "ACKS.Retainer": "Retainer", + "ACKS.RetainerWage": "Wage", + "ACKS.RetainerUpkeep": "Upkeep", + "ACKS.Loyalty": "Loyalty Rating", + "ACKS.LoyaltyShort": "LR", - "OSE.scores.str.long": "Strength", - "OSE.scores.str.short": "STR", - "OSE.scores.wis.long": "Wisdom", - "OSE.scores.wis.short": "WIS", - "OSE.scores.int.long": "Intelligence", - "OSE.scores.int.short": "INT", - "OSE.scores.dex.long": "Dexterity", - "OSE.scores.dex.short": "DEX", - "OSE.scores.con.long": "Constitution", - "OSE.scores.con.short": "CON", - "OSE.scores.cha.long": "Charisma", - "OSE.scores.cha.short": "CHA", + "ACKS.scores.str.long": "Strength", + "ACKS.scores.str.short": "STR", + "ACKS.scores.wis.long": "Wisdom", + "ACKS.scores.wis.short": "WIS", + "ACKS.scores.int.long": "Intelligence", + "ACKS.scores.int.short": "INT", + "ACKS.scores.dex.long": "Dexterity", + "ACKS.scores.dex.short": "DEX", + "ACKS.scores.con.long": "Constitution", + "ACKS.scores.con.short": "CON", + "ACKS.scores.cha.long": "Charisma", + "ACKS.scores.cha.short": "CHA", - "OSE.saves.death.short": "D", - "OSE.saves.death.long": "Death Poison", - "OSE.saves.wand.short": "W", - "OSE.saves.wand.long": "Wands", - "OSE.saves.paralysis.short": "P", - "OSE.saves.paralysis.long": "Paralysis Petrify", - "OSE.saves.breath.short": "B", - "OSE.saves.breath.long": "Breath Attacks", - "OSE.saves.spell.short": "S", - "OSE.saves.spell.long": "Spells Rods Staves", - "OSE.saves.magic.long": "Bonus vs Magic", + "ACKS.saves.death.short": "D", + "ACKS.saves.death.long": "Death Poison", + "ACKS.saves.wand.short": "W", + "ACKS.saves.wand.long": "Wands", + "ACKS.saves.paralysis.short": "P", + "ACKS.saves.paralysis.long": "Paralysis Petrify", + "ACKS.saves.breath.short": "B", + "ACKS.saves.breath.long": "Breath Attacks", + "ACKS.saves.spell.short": "S", + "ACKS.saves.spell.long": "Spells Rods Staves", + "ACKS.saves.magic.long": "Bonus vs Magic", - "OSE.Health": "Hit Points", - "OSE.HealthMax": "Maximum Hit Points", - "OSE.HealthShort": "HP", - "OSE.HitDice": "Hit Dice", - "OSE.HitDiceShort": "HD", + "ACKS.Health": "Hit Points", + "ACKS.HealthMax": "Maximum Hit Points", + "ACKS.HealthShort": "HP", + "ACKS.HitDice": "Hit Dice", + "ACKS.HitDiceShort": "HD", - "OSE.movement.base": "Movement Rate", - "OSE.movement.short": "MV", - "OSE.movement.details": "Movement Details", - "OSE.movement.encounter.long": "Encounter Movement Rate", - "OSE.movement.encounter.short": "En", - "OSE.movement.overland.long": "Overland Movement Rate", - "OSE.movement.overland.short": "Ov", - "OSE.movement.exploration.short": "Ex", - "OSE.movement.exploration.long": "Exploration Movement Rate", + "ACKS.movement.base": "Movement Rate", + "ACKS.movement.short": "MV", + "ACKS.movement.details": "Movement Details", + "ACKS.movement.encounter.long": "Encounter Movement Rate", + "ACKS.movement.encounter.short": "En", + "ACKS.movement.overland.long": "Overland Movement Rate", + "ACKS.movement.overland.short": "Ov", + "ACKS.movement.exploration.short": "Ex", + "ACKS.movement.exploration.long": "Exploration Movement Rate", - "OSE.ArmorClassNaked": "Naked Armor Class", - "OSE.ArmorClass": "Armor Class", - "OSE.ArmorClassShort": "AC", - "OSE.AscArmorClassShort": "AAC", - "OSE.ArmorClassBonus": "Armor Class Bonus", - "OSE.Thac0": "THAC0", - "OSE.ABShort": "AB", - "OSE.AB": "Attack Bonus", - "OSE.MeleeShort": "MEL", - "OSE.Melee": "Melee", - "OSE.MeleeBonus": "Melee Bonus", - "OSE.MissileShort": "MIS", - "OSE.Missile": "Missile", - "OSE.MissileBonus": "Missile Bonus", - "OSE.Initiative": "Initiative", - "OSE.InitiativeBonus": "Initiative Bonus", - "OSE.InitiativeShort": "INIT", - "OSE.Attacks": "Attacks Usable per Round", - "OSE.AttacksShort": "ATT", - "OSE.Damage": "Damage", - "OSE.Spellcaster": "Spellcaster", + "ACKS.ArmorClassNaked": "Naked Armor Class", + "ACKS.ArmorClass": "Armor Class", + "ACKS.ArmorClassShort": "AC", + "ACKS.AscArmorClassShort": "AAC", + "ACKS.ArmorClassBonus": "Armor Class Bonus", + "ACKS.Thac0": "THAC0", + "ACKS.ABShort": "AB", + "ACKS.AB": "Attack Bonus", + "ACKS.MeleeShort": "MEL", + "ACKS.Melee": "Melee", + "ACKS.MeleeBonus": "Melee Bonus", + "ACKS.MissileShort": "MIS", + "ACKS.Missile": "Missile", + "ACKS.MissileBonus": "Missile Bonus", + "ACKS.Initiative": "Initiative", + "ACKS.InitiativeBonus": "Initiative Bonus", + "ACKS.InitiativeShort": "INIT", + "ACKS.Attacks": "Attacks Usable per Round", + "ACKS.AttacksShort": "ATT", + "ACKS.Damage": "Damage", + "ACKS.Spellcaster": "Spellcaster", - "OSE.Language": "Language", - "OSE.SpokenLanguages": "Spoken Languages", - "OSE.Literacy": "Literacy", - "OSE.Literate": "Literate", - "OSE.LiteracyBasic": "Basic", - "OSE.Illiterate": "Illiterate", - "OSE.NativeBroken": "Native (Broken)", - "OSE.Native": "Native", - "OSE.NativePlus1": "Native + 1", - "OSE.NativePlus2": "Native + 2", - "OSE.NativePlus3": "Native + 3", + "ACKS.Language": "Language", + "ACKS.SpokenLanguages": "Spoken Languages", + "ACKS.Literacy": "Literacy", + "ACKS.Literate": "Literate", + "ACKS.LiteracyBasic": "Basic", + "ACKS.Illiterate": "Illiterate", + "ACKS.NativeBroken": "Native (Broken)", + "ACKS.Native": "Native", + "ACKS.NativePlus1": "Native + 1", + "ACKS.NativePlus2": "Native + 2", + "ACKS.NativePlus3": "Native + 3", - "OSE.NPCReaction": "NPC Reaction", - "OSE.RetainersMax": "#Retainers", + "ACKS.NPCReaction": "NPC Reaction", + "ACKS.RetainersMax": "#Retainers", - "OSE.category.saves": "Saves", - "OSE.category.attributes": "Attributes", - "OSE.category.inventory": "Inventory", - "OSE.category.abilities": "Abilities", - "OSE.category.spells": "Spells", - "OSE.category.notes": "Notes", - "OSE.category.languages": "Languages", - "OSE.category.description": "Description", - "OSE.category.equipment": "Equipment", + "ACKS.category.saves": "Saves", + "ACKS.category.attributes": "Attributes", + "ACKS.category.inventory": "Inventory", + "ACKS.category.abilities": "Abilities", + "ACKS.category.spells": "Spells", + "ACKS.category.notes": "Notes", + "ACKS.category.languages": "Languages", + "ACKS.category.description": "Description", + "ACKS.category.equipment": "Equipment", - "OSE.Setting.Initiative": "Initiative", - "OSE.Setting.InitiativeHint": "Grouped or individual initiative. Unique individual is only rolled at the start of the combat", - "OSE.Setting.InitiativeOnce": "Unique individual Initiative", - "OSE.Setting.InitiativeReroll": "Roll individual Initiative each Round", - "OSE.Setting.InitiativeReset": "Reset individual Initiative each Round", - "OSE.Setting.InitiativeGroup": "Grouped Initiative", - "OSE.Setting.AscendingAC": "Ascending Armor Class", - "OSE.Setting.AscendingACHint": "The more the better", - "OSE.Setting.Morale": "Enable monsters Morale Rating", - "OSE.Setting.MoraleHint": "Morale Rating is shown on monster sheets", - "OSE.Setting.Encumbrance": "Encumbrance", - "OSE.Setting.EncumbranceHint": "Choose the way encumbrance is calculated", - "OSE.Setting.EncumbranceDisabled": "Disabled", - "OSE.Setting.EncumbranceBasic": "Basic", - "OSE.Setting.EncumbranceDetailed": "Detailed", - "OSE.Setting.EncumbranceComplete": "Complete", - "OSE.Setting.MovementAuto": "Calculate Movement", - "OSE.Setting.SignificantTreasure": "Significant Treasure Weight", - "OSE.Setting.SignificantTreasureHint": "Weight at which treasure will reduce the movement, only useful for basic encumbrance", + "ACKS.Setting.Initiative": "Initiative", + "ACKS.Setting.InitiativeHint": "Grouped or individual initiative. Unique individual is only rolled at the start of the combat", + "ACKS.Setting.InitiativeOnce": "Unique individual Initiative", + "ACKS.Setting.InitiativeReroll": "Roll individual Initiative each Round", + "ACKS.Setting.InitiativeReset": "Reset individual Initiative each Round", + "ACKS.Setting.InitiativeGroup": "Grouped Initiative", + "ACKS.Setting.AscendingAC": "Ascending Armor Class", + "ACKS.Setting.AscendingACHint": "The more the better", + "ACKS.Setting.Morale": "Enable monsters Morale Rating", + "ACKS.Setting.MoraleHint": "Morale Rating is shown on monster sheets", + "ACKS.Setting.Encumbrance": "Encumbrance", + "ACKS.Setting.EncumbranceHint": "Choose the way encumbrance is calculated", + "ACKS.Setting.EncumbranceDisabled": "Disabled", + "ACKS.Setting.EncumbranceBasic": "Basic", + "ACKS.Setting.EncumbranceDetailed": "Detailed", + "ACKS.Setting.EncumbranceComplete": "Complete", + "ACKS.Setting.MovementAuto": "Calculate Movement", + "ACKS.Setting.SignificantTreasure": "Significant Treasure Weight", + "ACKS.Setting.SignificantTreasureHint": "Weight at which treasure will reduce the movement, only useful for basic encumbrance", - "OSE.items.Equip": "Equip", - "OSE.items.Unequip": "Unequip", - "OSE.items.Misc": "Misc", - "OSE.items.Weapons": "Weapons", - "OSE.items.Treasure": "Treasure", - "OSE.items.Armors": "Armors", - "OSE.items.Weight": "Wgt.", - "OSE.items.Qualities": "Qualities", - "OSE.items.Notes": "Notes", - "OSE.items.Cost": "Cost", - "OSE.items.Quantity": "Qt.", - "OSE.items.Roll": "Roll", - "OSE.items.BlindRoll": "Blind", - "OSE.items.RollTarget": "Target", - "OSE.items.RollType": "Type", - "OSE.items.Damage": "Damage", - "OSE.items.ArmorAC": "AC", - "OSE.items.ArmorAAC": "AAC", - "OSE.items.Bonus": "Bonus", - "OSE.items.AtkBonus": "Attack Bonus", - "OSE.items.roundAttacks": "Attacks Spent this Round", - "OSE.items.roundAttacksMax": "Maximum Attacks per Round", - "OSE.items.resetAttacks": "Reset all Attacks per Round", - "OSE.items.hasShield": "Has a Shield bonus", - "OSE.items.typeTag": "Type a comma separated list of tag e.g 'Melee,Missile (5’–10’ / 11’–20’ / 21’–30’)' and press ENTER", - "OSE.items.enterTag": "Tags", - "OSE.items.pattern": "Attack pattern marker", + "ACKS.items.Equip": "Equip", + "ACKS.items.Unequip": "Unequip", + "ACKS.items.Misc": "Misc", + "ACKS.items.Weapons": "Weapons", + "ACKS.items.Treasure": "Treasure", + "ACKS.items.Armors": "Armors", + "ACKS.items.Weight": "Wgt.", + "ACKS.items.Qualities": "Qualities", + "ACKS.items.Notes": "Notes", + "ACKS.items.Cost": "Cost", + "ACKS.items.Quantity": "Qt.", + "ACKS.items.Roll": "Roll", + "ACKS.items.BlindRoll": "Blind", + "ACKS.items.RollTarget": "Target", + "ACKS.items.RollType": "Type", + "ACKS.items.Damage": "Damage", + "ACKS.items.ArmorAC": "AC", + "ACKS.items.ArmorAAC": "AAC", + "ACKS.items.Bonus": "Bonus", + "ACKS.items.AtkBonus": "Attack Bonus", + "ACKS.items.roundAttacks": "Attacks Spent this Round", + "ACKS.items.roundAttacksMax": "Maximum Attacks per Round", + "ACKS.items.resetAttacks": "Reset all Attacks per Round", + "ACKS.items.hasShield": "Has a Shield bonus", + "ACKS.items.typeTag": "Type a comma separated list of tag e.g 'Melee,Missile (5’–10’ / 11’–20’ / 21’–30’)' and press ENTER", + "ACKS.items.enterTag": "Tags", + "ACKS.items.pattern": "Attack pattern marker", - "OSE.items.Range": "Range", - "OSE.items.Melee": "Melee", - "OSE.items.Missile": "Missile", - "OSE.items.Slow": "Slow", - "OSE.items.TwoHanded": "Two-handed", - "OSE.items.Blunt": "Blunt", - "OSE.items.Brace": "Brace", - "OSE.items.Splash": "Splash weapon", - "OSE.items.Reload": "Reload", - "OSE.items.Charge": "Charge", + "ACKS.items.Range": "Range", + "ACKS.items.Melee": "Melee", + "ACKS.items.Missile": "Missile", + "ACKS.items.Slow": "Slow", + "ACKS.items.TwoHanded": "Two-handed", + "ACKS.items.Blunt": "Blunt", + "ACKS.items.Brace": "Brace", + "ACKS.items.Splash": "Splash weapon", + "ACKS.items.Reload": "Reload", + "ACKS.items.Charge": "Charge", - "OSE.armor.type": "Armor Type", - "OSE.armor.unarmored": "Unarmored", - "OSE.armor.light": "Light", - "OSE.armor.heavy": "Heavy", - "OSE.armor.shield": "Shield", + "ACKS.armor.type": "Armor Type", + "ACKS.armor.unarmored": "Unarmored", + "ACKS.armor.light": "Light", + "ACKS.armor.heavy": "Heavy", + "ACKS.armor.shield": "Shield", - "OSE.spells.spend": "{speaker} is casting {name}!", - "OSE.spells.Memorized": "Memorized", - "OSE.spells.Cast": "Cast", - "OSE.spells.Range": "Range", - "OSE.spells.Slots": "Slots", - "OSE.spells.Class": "Class", - "OSE.spells.Duration": "Duration", - "OSE.spells.Level": "Level", - "OSE.spells.Save": "Save", - "OSE.spells.ResetSlots": "Reset Spell slots", + "ACKS.spells.spend": "{speaker} is casting {name}!", + "ACKS.spells.Memorized": "Memorized", + "ACKS.spells.Cast": "Cast", + "ACKS.spells.Range": "Range", + "ACKS.spells.Slots": "Slots", + "ACKS.spells.Class": "Class", + "ACKS.spells.Duration": "Duration", + "ACKS.spells.Level": "Level", + "ACKS.spells.Save": "Save", + "ACKS.spells.ResetSlots": "Reset Spell slots", - "OSE.abilities.Requirements": "Requirements", + "ACKS.abilities.Requirements": "Requirements", - "OSE.exploration.ld.long": "Listen at Door", - "OSE.exploration.ld.short": "Listen Door", - "OSE.exploration.ld.abrev": "LD", - "OSE.exploration.od.long": "Open Stuck Door", - "OSE.exploration.od.short": "Open Door", - "OSE.exploration.od.abrev": "OD", - "OSE.exploration.sd.long": "Find Secret Door", - "OSE.exploration.sd.short": "Secret Door", - "OSE.exploration.sd.abrev": "SD", - "OSE.exploration.ft.long": "Find Room Trap", - "OSE.exploration.ft.short": "Find Trap", - "OSE.exploration.ft.abrev": "FT", + "ACKS.exploration.ld.long": "Listen at Door", + "ACKS.exploration.ld.short": "Listen Door", + "ACKS.exploration.ld.abrev": "LD", + "ACKS.exploration.od.long": "Open Stuck Door", + "ACKS.exploration.od.short": "Open Door", + "ACKS.exploration.od.abrev": "OD", + "ACKS.exploration.sd.long": "Find Secret Door", + "ACKS.exploration.sd.short": "Secret Door", + "ACKS.exploration.sd.abrev": "SD", + "ACKS.exploration.ft.long": "Find Room Trap", + "ACKS.exploration.ft.short": "Find Trap", + "ACKS.exploration.ft.abrev": "FT", - "OSE.messages.GetExperience": "{name} gained {value} experience points!", - "OSE.messages.AttackSuccess": "Hits AC {result}! ({bonus})", - "OSE.messages.AttackAscendingSuccess": "Hits AC {result}!", - "OSE.messages.AttackFailure": "Attack fails ({bonus})", - "OSE.messages.AttackAscendingFailure": "Attack fails", - "OSE.messages.InflictsDamage": "Inflicts damage!", - "OSE.messages.applyDamage": "Apply Damage", - "OSE.messages.applyHealing": "Apply Healing", + "ACKS.messages.GetExperience": "{name} gained {value} experience points!", + "ACKS.messages.AttackSuccess": "Hits AC {result}! ({bonus})", + "ACKS.messages.AttackAscendingSuccess": "Hits AC {result}!", + "ACKS.messages.AttackFailure": "Attack fails ({bonus})", + "ACKS.messages.AttackAscendingFailure": "Attack fails", + "ACKS.messages.InflictsDamage": "Inflicts damage!", + "ACKS.messages.applyDamage": "Apply Damage", + "ACKS.messages.applyHealing": "Apply Healing", - "OSE.colors.green": "Green", - "OSE.colors.red": "Red", - "OSE.colors.yellow": "Yellow", - "OSE.colors.purple": "Purple", - "OSE.colors.blue": "Blue", - "OSE.colors.orange": "Orange", - "OSE.colors.white": "White", + "ACKS.colors.green": "Green", + "ACKS.colors.red": "Red", + "ACKS.colors.yellow": "Yellow", + "ACKS.colors.purple": "Purple", + "ACKS.colors.blue": "Blue", + "ACKS.colors.orange": "Orange", + "ACKS.colors.white": "White", - "OSE.reaction.check": "Reaction Check", - "OSE.reaction.Hostile": "{name} is Hostile", - "OSE.reaction.Unfriendly": "{name} is Unfriendly", - "OSE.reaction.Neutral": "{name} is Neutral", - "OSE.reaction.Indifferent": "{name} is Indifferent", - "OSE.reaction.Friendly": "{name} is Friendly" + "ACKS.reaction.check": "Reaction Check", + "ACKS.reaction.Hostile": "{name} is Hostile", + "ACKS.reaction.Unfriendly": "{name} is Unfriendly", + "ACKS.reaction.Neutral": "{name} is Neutral", + "ACKS.reaction.Indifferent": "{name} is Indifferent", + "ACKS.reaction.Friendly": "{name} is Friendly" } diff --git a/src/lang/es.json b/src/lang/es.json index 3afb61c..70052cc 100644 --- a/src/lang/es.json +++ b/src/lang/es.json @@ -1,241 +1,241 @@ { - "OSE.Edit": "Editar", - "OSE.Delete": "Borrar", - "OSE.Show": "Ver", - "OSE.Add": "Añadir", - "OSE.Ok": "Ok", - "OSE.Reset": "Reinciar", - "OSE.Cancel": "Cancelar", - "OSE.Roll": "Tirada", - "OSE.Success": "Éxito", - "OSE.Failure": "Fallo", + "ACKS.Edit": "Editar", + "ACKS.Delete": "Borrar", + "ACKS.Show": "Ver", + "ACKS.Add": "Añadir", + "ACKS.Ok": "Ok", + "ACKS.Reset": "Reinciar", + "ACKS.Cancel": "Cancelar", + "ACKS.Roll": "Tirada", + "ACKS.Success": "Éxito", + "ACKS.Failure": "Fallo", - "OSE.dialog.tweaks": "Ajustes", - "OSE.dialog.partysheet": "Party Sheet", + "ACKS.dialog.tweaks": "Ajustes", + "ACKS.dialog.partysheet": "Party Sheet", - "OSE.Formula": "Formula", - "OSE.SitMod": "Mod. Situational", - "OSE.Modifier": "Modificador", - "OSE.Modifiers": "Modificadors", - "OSE.RollMode": "Modo Tirada", - "OSE.RollExample": "ej. +1d4", + "ACKS.Formula": "Formula", + "ACKS.SitMod": "Mod. Situational", + "ACKS.Modifier": "Modificador", + "ACKS.Modifiers": "Modificadors", + "ACKS.RollMode": "Modo Tirada", + "ACKS.RollExample": "ej. +1d4", - "OSE.roll.formula": "{label} tirada", - "OSE.roll.appearing": "Aparición", - "OSE.roll.morale": "Moral tirada", - "OSE.roll.hd": "Tirada de Puntos de Golpe", - "OSE.roll.attacksWith": "Ataca con {name}", - "OSE.roll.attacks": "{name} ataca !", - "OSE.roll.save": "Salv. {save}", - "OSE.roll.details.save": "Tira 1d20 >= {save} para éxito", - "OSE.roll.attribute": "Prueba de {attribute}", - "OSE.roll.details.attribute": "Tira 1d20 <= {score} para éxito", - "OSE.roll.exploration": "Prueba de {exploration}", - "OSE.roll.details.exploration": "Tirar 1d6 <= {expl} para éxito", - "OSE.roll.reaction": "Tirada de Reacción", + "ACKS.roll.formula": "{label} tirada", + "ACKS.roll.appearing": "Aparición", + "ACKS.roll.morale": "Moral tirada", + "ACKS.roll.hd": "Tirada de Puntos de Golpe", + "ACKS.roll.attacksWith": "Ataca con {name}", + "ACKS.roll.attacks": "{name} ataca !", + "ACKS.roll.save": "Salv. {save}", + "ACKS.roll.details.save": "Tira 1d20 >= {save} para éxito", + "ACKS.roll.attribute": "Prueba de {attribute}", + "ACKS.roll.details.attribute": "Tira 1d20 <= {score} para éxito", + "ACKS.roll.exploration": "Prueba de {exploration}", + "ACKS.roll.details.exploration": "Tirar 1d6 <= {expl} para éxito", + "ACKS.roll.reaction": "Tirada de Reacción", - "OSE.table.treasure.roll": "Roll Treasure", + "ACKS.table.treasure.roll": "Roll Treasure", - "OSE.details.name": "Nombre", - "OSE.details.class": "Clase", - "OSE.details.title": "Titulo", - "OSE.details.alignment": "Alineamiento", - "OSE.details.level": "Nivel", - "OSE.details.experience.base": "Experiencia", - "OSE.details.experience.bonus": "Bonus Experiencia", - "OSE.details.experience.next": "Siguiente nivel", - "OSE.details.experience.award": "Premio EXP", - "OSE.details.treasure": "Tipo de Tesoro", - "OSE.details.treasureTable": "Tabla", - "OSE.details.treasureTableHint": "Arrastra una tabla aquí para tirar el tesoro del monstruo", - "OSE.details.morale": "Moral", - "OSE.details.reaction": "Reacción", - "OSE.details.appearing": "NA", + "ACKS.details.name": "Nombre", + "ACKS.details.class": "Clase", + "ACKS.details.title": "Titulo", + "ACKS.details.alignment": "Alineamiento", + "ACKS.details.level": "Nivel", + "ACKS.details.experience.base": "Experiencia", + "ACKS.details.experience.bonus": "Bonus Experiencia", + "ACKS.details.experience.next": "Siguiente nivel", + "ACKS.details.experience.award": "Premio EXP", + "ACKS.details.treasure": "Tipo de Tesoro", + "ACKS.details.treasureTable": "Tabla", + "ACKS.details.treasureTableHint": "Arrastra una tabla aquí para tirar el tesoro del monstruo", + "ACKS.details.morale": "Moral", + "ACKS.details.reaction": "Reacción", + "ACKS.details.appearing": "NA", - "OSE.Attack": "Ataque", - "OSE.Encumbrance": "Carga", + "ACKS.Attack": "Ataque", + "ACKS.Encumbrance": "Carga", - "OSE.Retainer": "Seguidores", - "OSE.RetainerWage": "Salario", - "OSE.RetainerUpkeep": "Mantenimiento", - "OSE.Loyalty": "Puntuación Lealtad", - "OSE.LoyaltyShort": "PL", + "ACKS.Retainer": "Seguidores", + "ACKS.RetainerWage": "Salario", + "ACKS.RetainerUpkeep": "Mantenimiento", + "ACKS.Loyalty": "Puntuación Lealtad", + "ACKS.LoyaltyShort": "PL", - "OSE.scores.str.long": "Fuerza", - "OSE.scores.str.short": "FUE", - "OSE.scores.wis.long": "Sabiduría", - "OSE.scores.wis.short": "SAB", - "OSE.scores.int.long": "Inteligencia", - "OSE.scores.int.short": "INT", - "OSE.scores.dex.long": "Destreza", - "OSE.scores.dex.short": "DES", - "OSE.scores.con.long": "Constitucion", - "OSE.scores.con.short": "CON", - "OSE.scores.cha.long": "Carisma", - "OSE.scores.cha.short": "CAR", + "ACKS.scores.str.long": "Fuerza", + "ACKS.scores.str.short": "FUE", + "ACKS.scores.wis.long": "Sabiduría", + "ACKS.scores.wis.short": "SAB", + "ACKS.scores.int.long": "Inteligencia", + "ACKS.scores.int.short": "INT", + "ACKS.scores.dex.long": "Destreza", + "ACKS.scores.dex.short": "DES", + "ACKS.scores.con.long": "Constitucion", + "ACKS.scores.con.short": "CON", + "ACKS.scores.cha.long": "Carisma", + "ACKS.scores.cha.short": "CAR", - "OSE.saves.death.short": "M", - "OSE.saves.death.long": "Veneno o Muerte", - "OSE.saves.wand.short": "V", - "OSE.saves.wand.long": "Varitas mágicas", - "OSE.saves.paralysis.short": "P", - "OSE.saves.paralysis.long": "Petrificación o Parálisis", - "OSE.saves.breath.short": "A", - "OSE.saves.breath.long": "Aliento de Dragón", - "OSE.saves.spell.short": "C", - "OSE.saves.spell.long": "Sort. Varas Báculos", - "OSE.saves.magic.long": "Bonificación vs Magia", + "ACKS.saves.death.short": "M", + "ACKS.saves.death.long": "Veneno o Muerte", + "ACKS.saves.wand.short": "V", + "ACKS.saves.wand.long": "Varitas mágicas", + "ACKS.saves.paralysis.short": "P", + "ACKS.saves.paralysis.long": "Petrificación o Parálisis", + "ACKS.saves.breath.short": "A", + "ACKS.saves.breath.long": "Aliento de Dragón", + "ACKS.saves.spell.short": "C", + "ACKS.saves.spell.long": "Sort. Varas Báculos", + "ACKS.saves.magic.long": "Bonificación vs Magia", - "OSE.Health": "Puntos de Golpes", - "OSE.HealthMax": "Puntos de Golpes Máximos", - "OSE.HealthShort": "PG", - "OSE.HitDice": "Puntos de Golpe", - "OSE.HitDiceShort": "DG", + "ACKS.Health": "Puntos de Golpes", + "ACKS.HealthMax": "Puntos de Golpes Máximos", + "ACKS.HealthShort": "PG", + "ACKS.HitDice": "Puntos de Golpe", + "ACKS.HitDiceShort": "DG", - "OSE.movement.base": "Movimiento", - "OSE.movement.short": "MV", - "OSE.movement.details": "Detalles de Movimiento", - "OSE.movement.encounter.long": "Combate", - "OSE.movement.encounter.short": "Co", - "OSE.movement.overland.long": "Base", - "OSE.movement.overland.short": "Ba", - "OSE.movement.exploration.short": "Ex", - "OSE.movement.exploration.long": "Exploration Movement Rate", + "ACKS.movement.base": "Movimiento", + "ACKS.movement.short": "MV", + "ACKS.movement.details": "Detalles de Movimiento", + "ACKS.movement.encounter.long": "Combate", + "ACKS.movement.encounter.short": "Co", + "ACKS.movement.overland.long": "Base", + "ACKS.movement.overland.short": "Ba", + "ACKS.movement.exploration.short": "Ex", + "ACKS.movement.exploration.long": "Exploration Movement Rate", - "OSE.ArmorClassNaked": "Sin Armadura", - "OSE.ArmorClass": "Clase de Armadura", - "OSE.ArmorClassShort": "CA", - "OSE.AscArmorClassShort": "CAA", - "OSE.Thac0": "GAC0", - "OSE.ABShort": "BA", - "OSE.AB": "Bono Ataque", - "OSE.MeleeShort": "CC", - "OSE.Melee": "Cuerpo a Cuerpo", - "OSE.MeleeBonus": "Bono CC", - "OSE.MissileShort": "DIS", - "OSE.Missile": "Distancia", - "OSE.MissileBonus": "Bono Distancia", - "OSE.Initiative": "Iniciativa", - "OSE.InitiativeBonus": "Bonificador Iniciativa", - "OSE.InitiativeShort": "INI", - "OSE.Attacks": "Ataques usables por Round", - "OSE.AttacksShort": "ATQ", - "OSE.Damage": "Daño", - "OSE.Spellcaster": "Lanzador Conjuros", + "ACKS.ArmorClassNaked": "Sin Armadura", + "ACKS.ArmorClass": "Clase de Armadura", + "ACKS.ArmorClassShort": "CA", + "ACKS.AscArmorClassShort": "CAA", + "ACKS.Thac0": "GAC0", + "ACKS.ABShort": "BA", + "ACKS.AB": "Bono Ataque", + "ACKS.MeleeShort": "CC", + "ACKS.Melee": "Cuerpo a Cuerpo", + "ACKS.MeleeBonus": "Bono CC", + "ACKS.MissileShort": "DIS", + "ACKS.Missile": "Distancia", + "ACKS.MissileBonus": "Bono Distancia", + "ACKS.Initiative": "Iniciativa", + "ACKS.InitiativeBonus": "Bonificador Iniciativa", + "ACKS.InitiativeShort": "INI", + "ACKS.Attacks": "Ataques usables por Round", + "ACKS.AttacksShort": "ATQ", + "ACKS.Damage": "Daño", + "ACKS.Spellcaster": "Lanzador Conjuros", - "OSE.Language": "Lenguaje", - "OSE.SpokenLanguages": "Lenguajes Hablados", - "OSE.Literacy": "Leer/Esc.", - "OSE.Literate": "Alfabetizado", - "OSE.LiteracyBasic": "Basico", - "OSE.Illiterate": "Analfabeto", - "OSE.NPCReaction": "Reacción NPC", - "OSE.RetainersMax": "#Seguidores", + "ACKS.Language": "Lenguaje", + "ACKS.SpokenLanguages": "Lenguajes Hablados", + "ACKS.Literacy": "Leer/Esc.", + "ACKS.Literate": "Alfabetizado", + "ACKS.LiteracyBasic": "Basico", + "ACKS.Illiterate": "Analfabeto", + "ACKS.NPCReaction": "Reacción NPC", + "ACKS.RetainersMax": "#Seguidores", - "OSE.category.attributes": "Atributos", - "OSE.category.inventory": "Inventario", - "OSE.category.abilities": "Habilidades", - "OSE.category.spells": "Conjuros", - "OSE.category.notes": "Notas", - "OSE.category.languages": "Lenguajes", - "OSE.category.description": "Descripción", - "OSE.category.equipment": "Equipo", + "ACKS.category.attributes": "Atributos", + "ACKS.category.inventory": "Inventario", + "ACKS.category.abilities": "Habilidades", + "ACKS.category.spells": "Conjuros", + "ACKS.category.notes": "Notas", + "ACKS.category.languages": "Lenguajes", + "ACKS.category.description": "Descripción", + "ACKS.category.equipment": "Equipo", - "OSE.Setting.IndividualInit": "Iniciativa Individual", - "OSE.Setting.IndividualInitHint": "La iniciativa se lanza por cada actor y se modifica por su puntuación de DES", - "OSE.Setting.AscendingAC": "Categoria de Armadura Ascendente", - "OSE.Setting.AscendingACHint": "En cuanto más mejor", - "OSE.Setting.Morale": "Activar puntuación de Moral para monstruos", - "OSE.Setting.MoraleHint": "La puntuación de moral se ve en las hojas de monstruo", - "OSE.Setting.Encumbrance": "Carga", - "OSE.Setting.EncumbranceHint": "Elige como se calcula la Carga", - "OSE.Setting.EncumbranceDisabled": "Disabled", - "OSE.Setting.EncumbranceBasic": "Básica", - "OSE.Setting.EncumbranceDetailed": "Detallada", - "OSE.Setting.MovementAuto": "Calcular Movimiento", - "OSE.Setting.SignificantTreasure": "Peso de tesoro significativo", - "OSE.Setting.SignificantTreasureHint": "Peso con el que el tesoro reducirá el movimiento, solo útil para el cálculo básico", + "ACKS.Setting.IndividualInit": "Iniciativa Individual", + "ACKS.Setting.IndividualInitHint": "La iniciativa se lanza por cada actor y se modifica por su puntuación de DES", + "ACKS.Setting.AscendingAC": "Categoria de Armadura Ascendente", + "ACKS.Setting.AscendingACHint": "En cuanto más mejor", + "ACKS.Setting.Morale": "Activar puntuación de Moral para monstruos", + "ACKS.Setting.MoraleHint": "La puntuación de moral se ve en las hojas de monstruo", + "ACKS.Setting.Encumbrance": "Carga", + "ACKS.Setting.EncumbranceHint": "Elige como se calcula la Carga", + "ACKS.Setting.EncumbranceDisabled": "Disabled", + "ACKS.Setting.EncumbranceBasic": "Básica", + "ACKS.Setting.EncumbranceDetailed": "Detallada", + "ACKS.Setting.MovementAuto": "Calcular Movimiento", + "ACKS.Setting.SignificantTreasure": "Peso de tesoro significativo", + "ACKS.Setting.SignificantTreasureHint": "Peso con el que el tesoro reducirá el movimiento, solo útil para el cálculo básico", - "OSE.items.Equip": "Equipar", - "OSE.items.Unequip": "Desequipar", - "OSE.items.Misc": "Misc", - "OSE.items.Weapons": "Armas", - "OSE.items.Treasure": "Tesoro", - "OSE.items.Armors": "Armaduras", - "OSE.items.Weight": "Peso", - "OSE.items.Qualities": "Cualidades", - "OSE.items.Notes": "Notas", - "OSE.items.Cost": "Coste", - "OSE.items.Quantity": "Qt.", - "OSE.items.Roll": "Tirada", - "OSE.items.BlindRoll": "Ciega", - "OSE.items.RollTarget": "Mira", - "OSE.items.RollType": "Tipo", - "OSE.items.Damage": "Daño", - "OSE.items.Melee": "CC", - "OSE.items.Missile": "Distancia", - "OSE.items.Slow": "Slow", - "OSE.items.ArmorAC": "CA", - "OSE.items.ArmorAAC": "CAA", - "OSE.items.Bonus": "Bonus", - "OSE.items.roundAttacks": "Ataques usados este Round", - "OSE.items.roundAttacksMax": "Máximo Ataques por Round", - "OSE.items.resetAttacks": "Reiniciar Ataques por Round", - "OSE.items.hasShield": "Tiene un bono de Escudo", - "OSE.items.typeTag": "Escriba una lista de etiquetas separadas por comas, por ejemplo 'Melee, Misile (5'-10' / 11'-20' / 21'-30')'", + "ACKS.items.Equip": "Equipar", + "ACKS.items.Unequip": "Desequipar", + "ACKS.items.Misc": "Misc", + "ACKS.items.Weapons": "Armas", + "ACKS.items.Treasure": "Tesoro", + "ACKS.items.Armors": "Armaduras", + "ACKS.items.Weight": "Peso", + "ACKS.items.Qualities": "Cualidades", + "ACKS.items.Notes": "Notas", + "ACKS.items.Cost": "Coste", + "ACKS.items.Quantity": "Qt.", + "ACKS.items.Roll": "Tirada", + "ACKS.items.BlindRoll": "Ciega", + "ACKS.items.RollTarget": "Mira", + "ACKS.items.RollType": "Tipo", + "ACKS.items.Damage": "Daño", + "ACKS.items.Melee": "CC", + "ACKS.items.Missile": "Distancia", + "ACKS.items.Slow": "Slow", + "ACKS.items.ArmorAC": "CA", + "ACKS.items.ArmorAAC": "CAA", + "ACKS.items.Bonus": "Bonus", + "ACKS.items.roundAttacks": "Ataques usados este Round", + "ACKS.items.roundAttacksMax": "Máximo Ataques por Round", + "ACKS.items.resetAttacks": "Reiniciar Ataques por Round", + "ACKS.items.hasShield": "Tiene un bono de Escudo", + "ACKS.items.typeTag": "Escriba una lista de etiquetas separadas por comas, por ejemplo 'Melee, Misile (5'-10' / 11'-20' / 21'-30')'", - "OSE.armor.type": "Tipo Armadura", - "OSE.armor.unarmored": "Sin Armadura", - "OSE.armor.light": "Ligera", - "OSE.armor.heavy": "Pesada", - "OSE.armor.shield": "Escudo", + "ACKS.armor.type": "Tipo Armadura", + "ACKS.armor.unarmored": "Sin Armadura", + "ACKS.armor.light": "Ligera", + "ACKS.armor.heavy": "Pesada", + "ACKS.armor.shield": "Escudo", - "OSE.spells.spend": "{speaker} esta lanzando {name}!", - "OSE.spells.Memorized": "Memorizado", - "OSE.spells.Cast": "Lanzar", - "OSE.spells.Range": "Alcance", - "OSE.spells.Slots": "Espacios", - "OSE.spells.Class": "Clase", - "OSE.spells.Duration": "Duración", - "OSE.spells.Level": "Nivel", - "OSE.spells.Save": "Salvación", - "OSE.spells.ResetSlots": "Reniciar Espacios de conjuro", + "ACKS.spells.spend": "{speaker} esta lanzando {name}!", + "ACKS.spells.Memorized": "Memorizado", + "ACKS.spells.Cast": "Lanzar", + "ACKS.spells.Range": "Alcance", + "ACKS.spells.Slots": "Espacios", + "ACKS.spells.Class": "Clase", + "ACKS.spells.Duration": "Duración", + "ACKS.spells.Level": "Nivel", + "ACKS.spells.Save": "Salvación", + "ACKS.spells.ResetSlots": "Reniciar Espacios de conjuro", - "OSE.abilities.Requirements": "Requisitos", + "ACKS.abilities.Requirements": "Requisitos", - "OSE.exploration.ld.long": "Escuchar Ruidos", - "OSE.exploration.ld.short": "Escuchar Ruidos", - "OSE.exploration.ld.abrev": "ER", - "OSE.exploration.od.long": "Abrir puertas", - "OSE.exploration.od.short": "Abrir puertas", - "OSE.exploration.od.abrev": "AP", - "OSE.exploration.sd.long": "Detectar puertas secretas", - "OSE.exploration.sd.short": "Puertas secretas", - "OSE.exploration.sd.abrev": "PS", - "OSE.exploration.ft.long": "Detectar trampas y fosos", - "OSE.exploration.ft.short": "Detectar trampas", - "OSE.exploration.ft.abrev": "DT", + "ACKS.exploration.ld.long": "Escuchar Ruidos", + "ACKS.exploration.ld.short": "Escuchar Ruidos", + "ACKS.exploration.ld.abrev": "ER", + "ACKS.exploration.od.long": "Abrir puertas", + "ACKS.exploration.od.short": "Abrir puertas", + "ACKS.exploration.od.abrev": "AP", + "ACKS.exploration.sd.long": "Detectar puertas secretas", + "ACKS.exploration.sd.short": "Puertas secretas", + "ACKS.exploration.sd.abrev": "PS", + "ACKS.exploration.ft.long": "Detectar trampas y fosos", + "ACKS.exploration.ft.short": "Detectar trampas", + "ACKS.exploration.ft.abrev": "DT", - "OSE.messages.GetExperience": "{name} ha ganado {value} puntos de experiencia!", - "OSE.messages.AttackSuccess": "Golpea CA {result}! ({bonus})", - "OSE.messages.AttackAscendingSuccess": "Golpea CA {result}!", - "OSE.messages.AttackFailure": "Falla el ataque ({bonus})", - "OSE.messages.InflictsDamage": "Inflinge daño!", - "OSE.ChatContextDamage": "Aplicar Daño", - "OSE.ChatContextHealing": "Aplicar Curación", + "ACKS.messages.GetExperience": "{name} ha ganado {value} puntos de experiencia!", + "ACKS.messages.AttackSuccess": "Golpea CA {result}! ({bonus})", + "ACKS.messages.AttackAscendingSuccess": "Golpea CA {result}!", + "ACKS.messages.AttackFailure": "Falla el ataque ({bonus})", + "ACKS.messages.InflictsDamage": "Inflinge daño!", + "ACKS.ChatContextDamage": "Aplicar Daño", + "ACKS.ChatContextHealing": "Aplicar Curación", - "OSE.colors.green": "Verde", - "OSE.colors.red": "Rojo", - "OSE.colors.yellow": "Amarillo", - "OSE.colors.purple": "Purpura", - "OSE.colors.blue": "Azul", - "OSE.colors.orange": "Naranja", - "OSE.colors.white": "Blanco", + "ACKS.colors.green": "Verde", + "ACKS.colors.red": "Rojo", + "ACKS.colors.yellow": "Amarillo", + "ACKS.colors.purple": "Purpura", + "ACKS.colors.blue": "Azul", + "ACKS.colors.orange": "Naranja", + "ACKS.colors.white": "Blanco", - "OSE.reaction.check": "Tirada de Reacción", - "OSE.reaction.Hostile": "{name} es Hostil", - "OSE.reaction.Unfriendly": "{name} es Antipático", - "OSE.reaction.Neutral": "{name} es Neutral", - "OSE.reaction.Indifferent": "{name} es Indifferente", - "OSE.reaction.Friendly": "{name} es Amistoso" + "ACKS.reaction.check": "Tirada de Reacción", + "ACKS.reaction.Hostile": "{name} es Hostil", + "ACKS.reaction.Unfriendly": "{name} es Antipático", + "ACKS.reaction.Neutral": "{name} es Neutral", + "ACKS.reaction.Indifferent": "{name} es Indifferente", + "ACKS.reaction.Friendly": "{name} es Amistoso" } diff --git a/src/lang/fr.json b/src/lang/fr.json index 96099b0..e947aaf 100644 --- a/src/lang/fr.json +++ b/src/lang/fr.json @@ -1,275 +1,275 @@ { - "OSE.Edit": "Modifier", - "OSE.Delete": "Supprimer", - "OSE.Show": "Montrer", - "OSE.Add": "Ajouter", - "OSE.Ok": "Ok", - "OSE.Update": "Mettre à jour", - "OSE.Reset": "Réinitialiser", - "OSE.Cancel": "Annuler", - "OSE.Roll": "Lancer", - "OSE.Success": "Succès", - "OSE.Failure": "Échec", + "ACKS.Edit": "Modifier", + "ACKS.Delete": "Supprimer", + "ACKS.Show": "Montrer", + "ACKS.Add": "Ajouter", + "ACKS.Ok": "Ok", + "ACKS.Update": "Mettre à jour", + "ACKS.Reset": "Réinitialiser", + "ACKS.Cancel": "Annuler", + "ACKS.Roll": "Lancer", + "ACKS.Success": "Succès", + "ACKS.Failure": "Échec", - "OSE.dialog.tweaks": "Ajuster", - "OSE.dialog.partysheet": "Fiche de Groupe", - "OSE.dialog.selectActors": "Choisir PJs", - "OSE.dialog.dealXP": "Donner XP", - "OSE.dialog.generator": "Générateur de personnage", - "OSE.dialog.generateSaves": "Générer les Sauvegardes", - "OSE.dialog.generateScores": "Générer les Scores", - "OSE.dialog.generateScore": "Création: {score} ({count})", + "ACKS.dialog.tweaks": "Ajuster", + "ACKS.dialog.partysheet": "Fiche de Groupe", + "ACKS.dialog.selectActors": "Choisir PJs", + "ACKS.dialog.dealXP": "Donner XP", + "ACKS.dialog.generator": "Générateur de personnage", + "ACKS.dialog.generateSaves": "Générer les Sauvegardes", + "ACKS.dialog.generateScores": "Générer les Scores", + "ACKS.dialog.generateScore": "Création: {score} ({count})", - "OSE.Formula": "Formule", - "OSE.SitMod": "Mod. de situation", - "OSE.Modifier": "Modificateur", - "OSE.Modifiers": "Modificateurs", - "OSE.RollMode": "Mode de Jet", - "OSE.RollExample": "ex. +1d4", + "ACKS.Formula": "Formule", + "ACKS.SitMod": "Mod. de situation", + "ACKS.Modifier": "Modificateur", + "ACKS.Modifiers": "Modificateurs", + "ACKS.RollMode": "Mode de Jet", + "ACKS.RollExample": "ex. +1d4", - "OSE.roll.formula": "Jet de {label}", - "OSE.roll.appearing": "Nombre Apparaissant", - "OSE.roll.morale": "Jet de Moral", - "OSE.roll.hd": "Lancer de Dé de Vie", - "OSE.roll.attacksWith": "Attaque avec {name}", - "OSE.roll.attacks": "{name} attaque !", - "OSE.roll.save": "Sauv. de {save}", - "OSE.roll.details.save": "Lancez 1d20 >= {save} pour réussir", - "OSE.roll.attribute": "Jet de {attribute}", - "OSE.roll.details.attribute": "Lancez 1d20 <= {score} pour réussir", - "OSE.roll.exploration": "Test de {exploration}", - "OSE.roll.details.exploration": "Lancez 1d6 <= {expl} pour réussir", - "OSE.roll.reaction": "Jet de Réaction", - "OSE.roll.initiative": "Le groupe {group} tire son Initiative !", - "OSE.roll.individualInit": "{name} tire son Initiative!", + "ACKS.roll.formula": "Jet de {label}", + "ACKS.roll.appearing": "Nombre Apparaissant", + "ACKS.roll.morale": "Jet de Moral", + "ACKS.roll.hd": "Lancer de Dé de Vie", + "ACKS.roll.attacksWith": "Attaque avec {name}", + "ACKS.roll.attacks": "{name} attaque !", + "ACKS.roll.save": "Sauv. de {save}", + "ACKS.roll.details.save": "Lancez 1d20 >= {save} pour réussir", + "ACKS.roll.attribute": "Jet de {attribute}", + "ACKS.roll.details.attribute": "Lancez 1d20 <= {score} pour réussir", + "ACKS.roll.exploration": "Test de {exploration}", + "ACKS.roll.details.exploration": "Lancez 1d6 <= {expl} pour réussir", + "ACKS.roll.reaction": "Jet de Réaction", + "ACKS.roll.initiative": "Le groupe {group} tire son Initiative !", + "ACKS.roll.individualInit": "{name} tire son Initiative!", - "OSE.table.treasure.roll": "Trésor Aléatoire", + "ACKS.table.treasure.roll": "Trésor Aléatoire", - "OSE.details.name": "Nom", - "OSE.details.class": "Classe", - "OSE.details.title": "Titre", - "OSE.details.alignment": "Alignement", - "OSE.details.level": "Niveau", - "OSE.details.experience.base": "Expérience", - "OSE.details.experience.bonus": "Ajustement d'XP", - "OSE.details.experience.next": "Prochain Niveau", - "OSE.details.experience.share": "Part d'Expérience", - "OSE.details.experience.award": "XP de Récompense", - "OSE.details.treasure": "Type de Trésor", - "OSE.details.treasureTable": "Table", - "OSE.details.treasureTableHint": "Lâchez une Table aléatoire pour la lier", - "OSE.details.morale": "Moral", - "OSE.details.reaction": "Réaction", - "OSE.details.appearing": "NA", + "ACKS.details.name": "Nom", + "ACKS.details.class": "Classe", + "ACKS.details.title": "Titre", + "ACKS.details.alignment": "Alignement", + "ACKS.details.level": "Niveau", + "ACKS.details.experience.base": "Expérience", + "ACKS.details.experience.bonus": "Ajustement d'XP", + "ACKS.details.experience.next": "Prochain Niveau", + "ACKS.details.experience.share": "Part d'Expérience", + "ACKS.details.experience.award": "XP de Récompense", + "ACKS.details.treasure": "Type de Trésor", + "ACKS.details.treasureTable": "Table", + "ACKS.details.treasureTableHint": "Lâchez une Table aléatoire pour la lier", + "ACKS.details.morale": "Moral", + "ACKS.details.reaction": "Réaction", + "ACKS.details.appearing": "NA", - "OSE.Attack": "Attaque", - "OSE.Encumbrance": "Encombrement", + "ACKS.Attack": "Attaque", + "ACKS.Encumbrance": "Encombrement", - "OSE.Retainer": "Suivant", - "OSE.RetainerWage": "Tarif", - "OSE.RetainerUpkeep": "Entretien", - "OSE.Loyalty": "Loyauté", - "OSE.LoyaltyShort": "LOY", + "ACKS.Retainer": "Suivant", + "ACKS.RetainerWage": "Tarif", + "ACKS.RetainerUpkeep": "Entretien", + "ACKS.Loyalty": "Loyauté", + "ACKS.LoyaltyShort": "LOY", - "OSE.scores.str.long": "Force", - "OSE.scores.str.short": "FOR", - "OSE.scores.wis.long": "Sagesse", - "OSE.scores.wis.short": "SAG", - "OSE.scores.int.long": "Intelligence", - "OSE.scores.int.short": "INT", - "OSE.scores.dex.long": "Dextérité", - "OSE.scores.dex.short": "DEX", - "OSE.scores.con.long": "Constitution", - "OSE.scores.con.short": "CON", - "OSE.scores.cha.long": "Charisme", - "OSE.scores.cha.short": "CHA", + "ACKS.scores.str.long": "Force", + "ACKS.scores.str.short": "FOR", + "ACKS.scores.wis.long": "Sagesse", + "ACKS.scores.wis.short": "SAG", + "ACKS.scores.int.long": "Intelligence", + "ACKS.scores.int.short": "INT", + "ACKS.scores.dex.long": "Dextérité", + "ACKS.scores.dex.short": "DEX", + "ACKS.scores.con.long": "Constitution", + "ACKS.scores.con.short": "CON", + "ACKS.scores.cha.long": "Charisme", + "ACKS.scores.cha.short": "CHA", - "OSE.saves.death.short": "MP", - "OSE.saves.death.long": "Mort Poison", - "OSE.saves.wand.short": "B", - "OSE.saves.wand.long": "Baguettes", - "OSE.saves.paralysis.short": "PP", - "OSE.saves.paralysis.long": "Paralysie Pétrification", - "OSE.saves.breath.short": "S", - "OSE.saves.breath.long": "Souffle", - "OSE.saves.spell.short": "SBB", - "OSE.saves.spell.long": "Sorts Bâtons", - "OSE.saves.magic.long": "Sauv. Magie", + "ACKS.saves.death.short": "MP", + "ACKS.saves.death.long": "Mort Poison", + "ACKS.saves.wand.short": "B", + "ACKS.saves.wand.long": "Baguettes", + "ACKS.saves.paralysis.short": "PP", + "ACKS.saves.paralysis.long": "Paralysie Pétrification", + "ACKS.saves.breath.short": "S", + "ACKS.saves.breath.long": "Souffle", + "ACKS.saves.spell.short": "SBB", + "ACKS.saves.spell.long": "Sorts Bâtons", + "ACKS.saves.magic.long": "Sauv. Magie", - "OSE.Health": "Points de Vie", - "OSE.HealthMax": "Points de Vie Maximaux", - "OSE.HealthShort": "PV", - "OSE.HitDice": "Dé de Vie", - "OSE.HitDiceShort": "DV", + "ACKS.Health": "Points de Vie", + "ACKS.HealthMax": "Points de Vie Maximaux", + "ACKS.HealthShort": "PV", + "ACKS.HitDice": "Dé de Vie", + "ACKS.HitDiceShort": "DV", - "OSE.movement.base": "Déplacement", - "OSE.movement.short": "DP", - "OSE.movement.details": "Détail du Déplacement", - "OSE.movement.encounter.long": "Déplacement de Rencontre", - "OSE.movement.encounter.short": "Ren", - "OSE.movement.overland.long": "Déplacement en Extérieur", - "OSE.movement.overland.short": "Ext", - "OSE.movement.exploration.short": "Dp", - "OSE.movement.exploration.long": "Déplacement", + "ACKS.movement.base": "Déplacement", + "ACKS.movement.short": "DP", + "ACKS.movement.details": "Détail du Déplacement", + "ACKS.movement.encounter.long": "Déplacement de Rencontre", + "ACKS.movement.encounter.short": "Ren", + "ACKS.movement.overland.long": "Déplacement en Extérieur", + "ACKS.movement.overland.short": "Ext", + "ACKS.movement.exploration.short": "Dp", + "ACKS.movement.exploration.long": "Déplacement", - "OSE.ArmorClassNaked": "Sans Armure", - "OSE.ArmorClass": "Classe d'Armure", - "OSE.ArmorClassShort": "CA", - "OSE.AscArmorClassShort": "CAA", - "OSE.ArmorClassBonus": "Bonus d'Armure", - "OSE.Thac0": "THAC0", - "OSE.ABShort": "BBA", - "OSE.AB": "Bonus d'Attaque", - "OSE.MeleeShort": "MEL", - "OSE.Melee": "Mêlée", - "OSE.MeleeBonus": "Bonus de Mêlée", - "OSE.MissileShort": "DIS", - "OSE.Missile": "Distance", - "OSE.MissileBonus": "Bonus à Distance", - "OSE.Initiative": "Initiative", - "OSE.InitiativeBonus": "Bonus d'Initiative", - "OSE.InitiativeShort": "INIT", - "OSE.Attacks": "Attaques par Round", - "OSE.AttacksShort": "ATT", - "OSE.Damage": "Dégâts", - "OSE.Spellcaster": "Lanceur de Sort", + "ACKS.ArmorClassNaked": "Sans Armure", + "ACKS.ArmorClass": "Classe d'Armure", + "ACKS.ArmorClassShort": "CA", + "ACKS.AscArmorClassShort": "CAA", + "ACKS.ArmorClassBonus": "Bonus d'Armure", + "ACKS.Thac0": "THAC0", + "ACKS.ABShort": "BBA", + "ACKS.AB": "Bonus d'Attaque", + "ACKS.MeleeShort": "MEL", + "ACKS.Melee": "Mêlée", + "ACKS.MeleeBonus": "Bonus de Mêlée", + "ACKS.MissileShort": "DIS", + "ACKS.Missile": "Distance", + "ACKS.MissileBonus": "Bonus à Distance", + "ACKS.Initiative": "Initiative", + "ACKS.InitiativeBonus": "Bonus d'Initiative", + "ACKS.InitiativeShort": "INIT", + "ACKS.Attacks": "Attaques par Round", + "ACKS.AttacksShort": "ATT", + "ACKS.Damage": "Dégâts", + "ACKS.Spellcaster": "Lanceur de Sort", - "OSE.Language": "Langue", - "OSE.SpokenLanguages": "Langues parlées", - "OSE.Literacy": "Lire/Écrire", - "OSE.Literate": "Oui", - "OSE.LiteracyBasic": "Basique", - "OSE.Illiterate": "Non", - "OSE.NativeBroken": "Natale (Primitif)", - "OSE.Native": "Natale", - "OSE.NativePlus1": "Natale + 1", - "OSE.NativePlus2": "Natale + 2", - "OSE.NativePlus3": "Natale + 3", + "ACKS.Language": "Langue", + "ACKS.SpokenLanguages": "Langues parlées", + "ACKS.Literacy": "Lire/Écrire", + "ACKS.Literate": "Oui", + "ACKS.LiteracyBasic": "Basique", + "ACKS.Illiterate": "Non", + "ACKS.NativeBroken": "Natale (Primitif)", + "ACKS.Native": "Natale", + "ACKS.NativePlus1": "Natale + 1", + "ACKS.NativePlus2": "Natale + 2", + "ACKS.NativePlus3": "Natale + 3", - "OSE.NPCReaction": "Réaction", - "OSE.RetainersMax": "#Suivants", + "ACKS.NPCReaction": "Réaction", + "ACKS.RetainersMax": "#Suivants", - "OSE.category.saves": "Sauvegardes", - "OSE.category.attributes": "Stats", - "OSE.category.inventory": "Inventaire", - "OSE.category.abilities": "Aptitudes", - "OSE.category.spells": "Sorts", - "OSE.category.notes": "Notes", - "OSE.category.languages": "Langues", - "OSE.category.description": "Descriptions", - "OSE.category.equipment": "Équipement", + "ACKS.category.saves": "Sauvegardes", + "ACKS.category.attributes": "Stats", + "ACKS.category.inventory": "Inventaire", + "ACKS.category.abilities": "Aptitudes", + "ACKS.category.spells": "Sorts", + "ACKS.category.notes": "Notes", + "ACKS.category.languages": "Langues", + "ACKS.category.description": "Descriptions", + "ACKS.category.equipment": "Équipement", - "OSE.Setting.Initiative": "Initiative", - "OSE.Setting.InitiativeHint": "Initiative groupée ou individuelle. L'initiative unique est tirée une seule fois en début de combat.", - "OSE.Setting.InitiativeOnce": "Initiative unique individuelle", - "OSE.Setting.InitiativeReroll": "Initiative relancée chaque tour", - "OSE.Setting.InitiativeReset": "Initiative mise à zéro chaque tour", - "OSE.Setting.InitiativeGroup": "Initiative groupée", - "OSE.Setting.AscendingAC": "Classe d'Armure Ascendante", - "OSE.Setting.AscendingACHint": "Le plus est le mieux", - "OSE.Setting.Morale": "Activer le Score de Moral", - "OSE.Setting.MoraleHint": "Le Score de Moral est affiché sur la fiche de Monstre", - "OSE.Setting.Encumbrance": "Encombrement", - "OSE.Setting.EncumbranceHint": "Choisissez comment l'encombrement est calculé", - "OSE.Setting.EncumbranceDisabled": "Désactivé", - "OSE.Setting.EncumbranceBasic": "Basique", - "OSE.Setting.EncumbranceDetailed": "Detaillé", - "OSE.Setting.EncumbranceComplete": "Complet", - "OSE.Setting.MovementAuto": "Calculer Déplacement", - "OSE.Setting.SignificantTreasure": "Poids d'un Trésor Significatif", - "OSE.Setting.SignificantTreasureHint": "Poids auquel le Trésor réduit le déplacement. Utilisé pour l'encombrement Basique", + "ACKS.Setting.Initiative": "Initiative", + "ACKS.Setting.InitiativeHint": "Initiative groupée ou individuelle. L'initiative unique est tirée une seule fois en début de combat.", + "ACKS.Setting.InitiativeOnce": "Initiative unique individuelle", + "ACKS.Setting.InitiativeReroll": "Initiative relancée chaque tour", + "ACKS.Setting.InitiativeReset": "Initiative mise à zéro chaque tour", + "ACKS.Setting.InitiativeGroup": "Initiative groupée", + "ACKS.Setting.AscendingAC": "Classe d'Armure Ascendante", + "ACKS.Setting.AscendingACHint": "Le plus est le mieux", + "ACKS.Setting.Morale": "Activer le Score de Moral", + "ACKS.Setting.MoraleHint": "Le Score de Moral est affiché sur la fiche de Monstre", + "ACKS.Setting.Encumbrance": "Encombrement", + "ACKS.Setting.EncumbranceHint": "Choisissez comment l'encombrement est calculé", + "ACKS.Setting.EncumbranceDisabled": "Désactivé", + "ACKS.Setting.EncumbranceBasic": "Basique", + "ACKS.Setting.EncumbranceDetailed": "Detaillé", + "ACKS.Setting.EncumbranceComplete": "Complet", + "ACKS.Setting.MovementAuto": "Calculer Déplacement", + "ACKS.Setting.SignificantTreasure": "Poids d'un Trésor Significatif", + "ACKS.Setting.SignificantTreasureHint": "Poids auquel le Trésor réduit le déplacement. Utilisé pour l'encombrement Basique", - "OSE.items.Equip": "Equiper", - "OSE.items.Unequip": "Déséquiper", - "OSE.items.Misc": "Divers", - "OSE.items.Weapons": "Armes", - "OSE.items.Treasure": "Trésor", - "OSE.items.Armors": "Armures", - "OSE.items.Weight": "Pds.", - "OSE.items.Qualities": "Qualités", - "OSE.items.Notes": "Notes", - "OSE.items.Cost": "Coût", - "OSE.items.Quantity": "Qt.", - "OSE.items.Roll": "Jet", - "OSE.items.BlindRoll": "Aveugle", - "OSE.items.RollTarget": "Cible", - "OSE.items.RollType": "Type", - "OSE.items.Damage": "Dégâts", - "OSE.items.ArmorAC": "CA", - "OSE.items.ArmorAAC": "CAA", - "OSE.items.Bonus": "Bonus", - "OSE.items.AtkBonus": "Bonus d'Attaque", - "OSE.items.roundAttacks": "Attaques utilisées ce tour", - "OSE.items.roundAttacksMax": "Attaques max par tour", - "OSE.items.resetAttacks": "Réinitialiser les Attaques", - "OSE.items.hasShield": "A un bonus de Bouclier", - "OSE.items.typeTag": "Tapez une liste de tags descriptifs ex. 'Mêlée,Missile (5’–10’ / 11’–20’ / 21’–30’)' puis Entrée", - "OSE.items.enterTag": "Tags", - "OSE.items.pattern": "Marqueur de schéma d'attaque", + "ACKS.items.Equip": "Equiper", + "ACKS.items.Unequip": "Déséquiper", + "ACKS.items.Misc": "Divers", + "ACKS.items.Weapons": "Armes", + "ACKS.items.Treasure": "Trésor", + "ACKS.items.Armors": "Armures", + "ACKS.items.Weight": "Pds.", + "ACKS.items.Qualities": "Qualités", + "ACKS.items.Notes": "Notes", + "ACKS.items.Cost": "Coût", + "ACKS.items.Quantity": "Qt.", + "ACKS.items.Roll": "Jet", + "ACKS.items.BlindRoll": "Aveugle", + "ACKS.items.RollTarget": "Cible", + "ACKS.items.RollType": "Type", + "ACKS.items.Damage": "Dégâts", + "ACKS.items.ArmorAC": "CA", + "ACKS.items.ArmorAAC": "CAA", + "ACKS.items.Bonus": "Bonus", + "ACKS.items.AtkBonus": "Bonus d'Attaque", + "ACKS.items.roundAttacks": "Attaques utilisées ce tour", + "ACKS.items.roundAttacksMax": "Attaques max par tour", + "ACKS.items.resetAttacks": "Réinitialiser les Attaques", + "ACKS.items.hasShield": "A un bonus de Bouclier", + "ACKS.items.typeTag": "Tapez une liste de tags descriptifs ex. 'Mêlée,Missile (5’–10’ / 11’–20’ / 21’–30’)' puis Entrée", + "ACKS.items.enterTag": "Tags", + "ACKS.items.pattern": "Marqueur de schéma d'attaque", - "OSE.items.Range": "Portée", - "OSE.items.Melee": "Mêlée", - "OSE.items.Missile": "Distance", - "OSE.items.Slow": "Lent", - "OSE.items.TwoHanded": "Deux-mains", - "OSE.items.Blunt": "Contondant", - "OSE.items.Brace": "Fortifier", - "OSE.items.Splash": "Zone", - "OSE.items.Reload": "Rechargement", - "OSE.items.Charge": "Charge", + "ACKS.items.Range": "Portée", + "ACKS.items.Melee": "Mêlée", + "ACKS.items.Missile": "Distance", + "ACKS.items.Slow": "Lent", + "ACKS.items.TwoHanded": "Deux-mains", + "ACKS.items.Blunt": "Contondant", + "ACKS.items.Brace": "Fortifier", + "ACKS.items.Splash": "Zone", + "ACKS.items.Reload": "Rechargement", + "ACKS.items.Charge": "Charge", - "OSE.armor.type": "Type d'Armure", - "OSE.armor.unarmored": "Sans Armure", - "OSE.armor.light": "Légère", - "OSE.armor.heavy": "Lourde", - "OSE.armor.shield": "Bouclier", + "ACKS.armor.type": "Type d'Armure", + "ACKS.armor.unarmored": "Sans Armure", + "ACKS.armor.light": "Légère", + "ACKS.armor.heavy": "Lourde", + "ACKS.armor.shield": "Bouclier", - "OSE.spells.spend": "{speaker} lance {name}!", - "OSE.spells.Memorized": "Memorisé", - "OSE.spells.Cast": "Lancé", - "OSE.spells.Range": "Portée", - "OSE.spells.Slots": "Emplacement", - "OSE.spells.Class": "Classe", - "OSE.spells.Duration": "Durée", - "OSE.spells.Level": "Niveau", - "OSE.spells.Save": "Sauvegarde", - "OSE.spells.ResetSlots": "Réinitialiser les Emplacements", + "ACKS.spells.spend": "{speaker} lance {name}!", + "ACKS.spells.Memorized": "Memorisé", + "ACKS.spells.Cast": "Lancé", + "ACKS.spells.Range": "Portée", + "ACKS.spells.Slots": "Emplacement", + "ACKS.spells.Class": "Classe", + "ACKS.spells.Duration": "Durée", + "ACKS.spells.Level": "Niveau", + "ACKS.spells.Save": "Sauvegarde", + "ACKS.spells.ResetSlots": "Réinitialiser les Emplacements", - "OSE.abilities.Requirements": "Prérequis", + "ACKS.abilities.Requirements": "Prérequis", - "OSE.exploration.ld.long": "Ecoute aux Portes", - "OSE.exploration.ld.short": "Eco. Porte", - "OSE.exploration.ld.abrev": "EP", - "OSE.exploration.od.long": "Ouverture de Portes", - "OSE.exploration.od.short": "Ouv. Porte", - "OSE.exploration.od.abrev": "OP", - "OSE.exploration.sd.long": "Détection des Passages Secrets", - "OSE.exploration.sd.short": "Dét. Secrets", - "OSE.exploration.sd.abrev": "DS", - "OSE.exploration.ft.long": "Détecter les Pièges", - "OSE.exploration.ft.short": "Dét. Pièges", - "OSE.exploration.ft.abrev": "DP", + "ACKS.exploration.ld.long": "Ecoute aux Portes", + "ACKS.exploration.ld.short": "Eco. Porte", + "ACKS.exploration.ld.abrev": "EP", + "ACKS.exploration.od.long": "Ouverture de Portes", + "ACKS.exploration.od.short": "Ouv. Porte", + "ACKS.exploration.od.abrev": "OP", + "ACKS.exploration.sd.long": "Détection des Passages Secrets", + "ACKS.exploration.sd.short": "Dét. Secrets", + "ACKS.exploration.sd.abrev": "DS", + "ACKS.exploration.ft.long": "Détecter les Pièges", + "ACKS.exploration.ft.short": "Dét. Pièges", + "ACKS.exploration.ft.abrev": "DP", - "OSE.messages.GetExperience": "{name} a gagné {value} points d'expérience !", - "OSE.messages.AttackSuccess": "Touche une CA de {result}! ({bonus})", - "OSE.messages.AttackAscendingSuccess": "Touche une CAA de {result}!", - "OSE.messages.AttackFailure": "L'Attaque échoue ({bonus})", - "OSE.messages.AttackAscendingFailure": "L'Attaque échoue", - "OSE.messages.InflictsDamage": "Inflige des dégâts !", - "OSE.messages.applyDamage": "Appliquer les dégâts", - "OSE.messages.applyHealing": "Appliquer les soins", + "ACKS.messages.GetExperience": "{name} a gagné {value} points d'expérience !", + "ACKS.messages.AttackSuccess": "Touche une CA de {result}! ({bonus})", + "ACKS.messages.AttackAscendingSuccess": "Touche une CAA de {result}!", + "ACKS.messages.AttackFailure": "L'Attaque échoue ({bonus})", + "ACKS.messages.AttackAscendingFailure": "L'Attaque échoue", + "ACKS.messages.InflictsDamage": "Inflige des dégâts !", + "ACKS.messages.applyDamage": "Appliquer les dégâts", + "ACKS.messages.applyHealing": "Appliquer les soins", - "OSE.colors.green": "Vert", - "OSE.colors.red": "Rouge", - "OSE.colors.yellow": "Jaune", - "OSE.colors.purple": "Violet", - "OSE.colors.blue": "Bleu", - "OSE.colors.orange": "Orange", - "OSE.colors.white": "Blanc", + "ACKS.colors.green": "Vert", + "ACKS.colors.red": "Rouge", + "ACKS.colors.yellow": "Jaune", + "ACKS.colors.purple": "Violet", + "ACKS.colors.blue": "Bleu", + "ACKS.colors.orange": "Orange", + "ACKS.colors.white": "Blanc", - "OSE.reaction.Hostile": "{name} est Hostile", - "OSE.reaction.Unfriendly": "{name} est Inamical", - "OSE.reaction.Neutral": "{name} est Neutre", - "OSE.reaction.Indifferent": "{name} est Indifférent", - "OSE.reaction.Friendly": "{name} est Amical" + "ACKS.reaction.Hostile": "{name} est Hostile", + "ACKS.reaction.Unfriendly": "{name} est Inamical", + "ACKS.reaction.Neutral": "{name} est Neutre", + "ACKS.reaction.Indifferent": "{name} est Indifférent", + "ACKS.reaction.Friendly": "{name} est Amical" } diff --git a/src/lang/pt-BR.json b/src/lang/pt-BR.json index d461dbc..e48c1cb 100644 --- a/src/lang/pt-BR.json +++ b/src/lang/pt-BR.json @@ -1,274 +1,274 @@ { - "OSE.Edit": "Editar", - "OSE.Delete": "Apagar", - "OSE.Show": "Mostrar", - "OSE.Add": "Adicionar", - "OSE.Ok": "Confirmar", - "OSE.Update": "Atualizar", - "OSE.Reset": "Reiniciar", - "OSE.Cancel": "Cancelar", - "OSE.Roll": "Rolar", - "OSE.Success": "Sucesso", - "OSE.Failure": "Falha", + "ACKS.Edit": "Editar", + "ACKS.Delete": "Apagar", + "ACKS.Show": "Mostrar", + "ACKS.Add": "Adicionar", + "ACKS.Ok": "Confirmar", + "ACKS.Update": "Atualizar", + "ACKS.Reset": "Reiniciar", + "ACKS.Cancel": "Cancelar", + "ACKS.Roll": "Rolar", + "ACKS.Success": "Sucesso", + "ACKS.Failure": "Falha", - "OSE.dialog.tweaks": "Ferramentas", - "OSE.dialog.partysheet": "Visão do grupo", - "OSE.dialog.selectActors": "Selecionar PJs", - "OSE.dialog.dealXP": "Distribuir XP", - "OSE.dialog.generator": "Gerar personagem", - "OSE.dialog.generateSaves": "Gerar salvaguardas", - "OSE.dialog.generateScores": "Gerar status", - "OSE.dialog.generateScore": "Rolou {score} ({count})", + "ACKS.dialog.tweaks": "Ferramentas", + "ACKS.dialog.partysheet": "Visão do grupo", + "ACKS.dialog.selectActors": "Selecionar PJs", + "ACKS.dialog.dealXP": "Distribuir XP", + "ACKS.dialog.generator": "Gerar personagem", + "ACKS.dialog.generateSaves": "Gerar salvaguardas", + "ACKS.dialog.generateScores": "Gerar status", + "ACKS.dialog.generateScore": "Rolou {score} ({count})", - "OSE.Formula": "Fórmula", - "OSE.SitMod": "Modificador situacional", - "OSE.Modifier": "Modificador", - "OSE.Modifiers": "Modificadores", - "OSE.RollMode": "Modo de rolagem", - "OSE.RollExample": "ex. +1d4", + "ACKS.Formula": "Fórmula", + "ACKS.SitMod": "Modificador situacional", + "ACKS.Modifier": "Modificador", + "ACKS.Modifiers": "Modificadores", + "ACKS.RollMode": "Modo de rolagem", + "ACKS.RollExample": "ex. +1d4", - "OSE.roll.formula": "{label} rolar", - "OSE.roll.appearing": "Aparecimento da rolagem ({type})", - "OSE.roll.morale": "Teste de moral", - "OSE.roll.hd": "Rolar Dado de Vida", - "OSE.roll.attacksWith": "Ataca com {name}", - "OSE.roll.attacks": "{name} ataca!", - "OSE.roll.save": "{save} Salvaguarda", - "OSE.roll.details.save": "Rola 1d20 >= {save} para sucesso", - "OSE.roll.attribute": "{attribute} teste", - "OSE.roll.details.attribute": "Rolar 1d20 <= {score} para sucesso", - "OSE.roll.exploration": "{exploration} teste", - "OSE.roll.details.exploration": "Rolar 1d6 <= {expl} para sucesso", - "OSE.roll.reaction": "Rolagem de reação", - "OSE.roll.initiative": "Grupo {group} rola para iniciativa!", - "OSE.roll.individualInit": "{name} rola para iniciativa!", + "ACKS.roll.formula": "{label} rolar", + "ACKS.roll.appearing": "Aparecimento da rolagem ({type})", + "ACKS.roll.morale": "Teste de moral", + "ACKS.roll.hd": "Rolar Dado de Vida", + "ACKS.roll.attacksWith": "Ataca com {name}", + "ACKS.roll.attacks": "{name} ataca!", + "ACKS.roll.save": "{save} Salvaguarda", + "ACKS.roll.details.save": "Rola 1d20 >= {save} para sucesso", + "ACKS.roll.attribute": "{attribute} teste", + "ACKS.roll.details.attribute": "Rolar 1d20 <= {score} para sucesso", + "ACKS.roll.exploration": "{exploration} teste", + "ACKS.roll.details.exploration": "Rolar 1d6 <= {expl} para sucesso", + "ACKS.roll.reaction": "Rolagem de reação", + "ACKS.roll.initiative": "Grupo {group} rola para iniciativa!", + "ACKS.roll.individualInit": "{name} rola para iniciativa!", - "OSE.table.treasure.roll": "Rolar tesouro", + "ACKS.table.treasure.roll": "Rolar tesouro", - "OSE.details.name": "Nome", - "OSE.details.class": "Classe", - "OSE.details.title": "Titulo", - "OSE.details.alignment": "Alinhamento", - "OSE.details.level": "Nivel", - "OSE.details.experience.base": "Experiência", - "OSE.details.experience.bonus": "Experiência Bônus", - "OSE.details.experience.next": "Próximo nível", - "OSE.details.experience.share": "Compartilhar experiência", - "OSE.details.experience.award": "Prêmio XP", - "OSE.details.treasure": "Tipo de tesouro", - "OSE.details.treasureTable": "Tabela", - "OSE.details.treasureTableHint": "solte uma tabela rolável aqui para rolar o tesouro do monstro", - "OSE.details.morale": "Moral", - "OSE.details.reaction": "Reação", - "OSE.details.appearing": "NA", + "ACKS.details.name": "Nome", + "ACKS.details.class": "Classe", + "ACKS.details.title": "Titulo", + "ACKS.details.alignment": "Alinhamento", + "ACKS.details.level": "Nivel", + "ACKS.details.experience.base": "Experiência", + "ACKS.details.experience.bonus": "Experiência Bônus", + "ACKS.details.experience.next": "Próximo nível", + "ACKS.details.experience.share": "Compartilhar experiência", + "ACKS.details.experience.award": "Prêmio XP", + "ACKS.details.treasure": "Tipo de tesouro", + "ACKS.details.treasureTable": "Tabela", + "ACKS.details.treasureTableHint": "solte uma tabela rolável aqui para rolar o tesouro do monstro", + "ACKS.details.morale": "Moral", + "ACKS.details.reaction": "Reação", + "ACKS.details.appearing": "NA", - "OSE.Attack": "Ataca", - "OSE.Encumbrance": "Sobrecarga", + "ACKS.Attack": "Ataca", + "ACKS.Encumbrance": "Sobrecarga", - "OSE.Retainer": "Empregado", - "OSE.RetainerWage": "Salário", - "OSE.RetainerUpkeep": "Manutenção", - "OSE.Loyalty": "Classificação de lealdade", - "OSE.LoyaltyShort": "CL", + "ACKS.Retainer": "Empregado", + "ACKS.RetainerWage": "Salário", + "ACKS.RetainerUpkeep": "Manutenção", + "ACKS.Loyalty": "Classificação de lealdade", + "ACKS.LoyaltyShort": "CL", - "OSE.scores.str.long": "Força", - "OSE.scores.str.short": "FOR", - "OSE.scores.wis.long": "Sabedoria", - "OSE.scores.wis.short": "SAB", - "OSE.scores.int.long": "Inteligência", - "OSE.scores.int.short": "INT", - "OSE.scores.dex.long": "Destreza", - "OSE.scores.dex.short": "DES", - "OSE.scores.con.long": "Constituição", - "OSE.scores.con.short": "CON", - "OSE.scores.cha.long": "Carisma", - "OSE.scores.cha.short": "CAR", + "ACKS.scores.str.long": "Força", + "ACKS.scores.str.short": "FOR", + "ACKS.scores.wis.long": "Sabedoria", + "ACKS.scores.wis.short": "SAB", + "ACKS.scores.int.long": "Inteligência", + "ACKS.scores.int.short": "INT", + "ACKS.scores.dex.long": "Destreza", + "ACKS.scores.dex.short": "DES", + "ACKS.scores.con.long": "Constituição", + "ACKS.scores.con.short": "CON", + "ACKS.scores.cha.long": "Carisma", + "ACKS.scores.cha.short": "CAR", - "OSE.saves.death.short": "Mt", - "OSE.saves.death.long": "Morte Veneno", - "OSE.saves.wand.short": "V", - "OSE.saves.wand.long": "Varinhas", - "OSE.saves.paralysis.short": "P", - "OSE.saves.paralysis.long": "Paralisia Petrificar", - "OSE.saves.breath.short": "S", - "OSE.saves.breath.long": "Ataques de Sopro", - "OSE.saves.spell.short": "Ma", - "OSE.saves.spell.long": "Magias Bastões Cajados", - "OSE.saves.magic.long": "Bônus vs Magia", + "ACKS.saves.death.short": "Mt", + "ACKS.saves.death.long": "Morte Veneno", + "ACKS.saves.wand.short": "V", + "ACKS.saves.wand.long": "Varinhas", + "ACKS.saves.paralysis.short": "P", + "ACKS.saves.paralysis.long": "Paralisia Petrificar", + "ACKS.saves.breath.short": "S", + "ACKS.saves.breath.long": "Ataques de Sopro", + "ACKS.saves.spell.short": "Ma", + "ACKS.saves.spell.long": "Magias Bastões Cajados", + "ACKS.saves.magic.long": "Bônus vs Magia", - "OSE.Health": "Pontos de Vida", - "OSE.HealthMax": "Pontos de Vida máximo", - "OSE.HealthShort": "PV", - "OSE.HitDice": "Dados de Vida", - "OSE.HitDiceShort": "DV", + "ACKS.Health": "Pontos de Vida", + "ACKS.HealthMax": "Pontos de Vida máximo", + "ACKS.HealthShort": "PV", + "ACKS.HitDice": "Dados de Vida", + "ACKS.HitDiceShort": "DV", - "OSE.movement.base": "Taxa de Movimento", - "OSE.movement.short": "TM", - "OSE.movement.details": "Detalhes do movimento", - "OSE.movement.encounter.long": "Taxa de Movimento por Encontro", - "OSE.movement.encounter.short": "TME", - "OSE.movement.overland.long": "Taxa de Movimento Terrestre", - "OSE.movement.overland.short": "TMT", - "OSE.movement.exploration.short": "TE", - "OSE.movement.exploration.long": "Taxa de Movimento em Exploração", + "ACKS.movement.base": "Taxa de Movimento", + "ACKS.movement.short": "TM", + "ACKS.movement.details": "Detalhes do movimento", + "ACKS.movement.encounter.long": "Taxa de Movimento por Encontro", + "ACKS.movement.encounter.short": "TME", + "ACKS.movement.overland.long": "Taxa de Movimento Terrestre", + "ACKS.movement.overland.short": "TMT", + "ACKS.movement.exploration.short": "TE", + "ACKS.movement.exploration.long": "Taxa de Movimento em Exploração", - "OSE.ArmorClassNaked": "Classe de Armadura despido", - "OSE.ArmorClass": "Classe de Armadura", - "OSE.ArmorClassShort": "CA", - "OSE.AscArmorClassShort": "CAA", - "OSE.ArmorClassBonus": "Bônus de Classe de Armadura", - "OSE.Thac0": "TAC0", - "OSE.ABShort": "BA", - "OSE.AB": "Bônus de Ataque", - "OSE.MeleeShort": "COR", - "OSE.Melee": "Corpo a corpo", - "OSE.MeleeBonus": "Bônus corpo a corpo", - "OSE.MissileShort": "DIS", - "OSE.Missile": "Distância", - "OSE.MissileBonus": "Bônus a distância", - "OSE.Initiative": "Iniciativa", - "OSE.InitiativeBonus": "Bonus de Iniciativa", - "OSE.InitiativeShort": "INIC", - "OSE.Attacks": "Ataques possiveis por rodada", - "OSE.AttacksShort": "ATA", - "OSE.Damage": "Dano", - "OSE.Spellcaster": "Conjurador", + "ACKS.ArmorClassNaked": "Classe de Armadura despido", + "ACKS.ArmorClass": "Classe de Armadura", + "ACKS.ArmorClassShort": "CA", + "ACKS.AscArmorClassShort": "CAA", + "ACKS.ArmorClassBonus": "Bônus de Classe de Armadura", + "ACKS.Thac0": "TAC0", + "ACKS.ABShort": "BA", + "ACKS.AB": "Bônus de Ataque", + "ACKS.MeleeShort": "COR", + "ACKS.Melee": "Corpo a corpo", + "ACKS.MeleeBonus": "Bônus corpo a corpo", + "ACKS.MissileShort": "DIS", + "ACKS.Missile": "Distância", + "ACKS.MissileBonus": "Bônus a distância", + "ACKS.Initiative": "Iniciativa", + "ACKS.InitiativeBonus": "Bonus de Iniciativa", + "ACKS.InitiativeShort": "INIC", + "ACKS.Attacks": "Ataques possiveis por rodada", + "ACKS.AttacksShort": "ATA", + "ACKS.Damage": "Dano", + "ACKS.Spellcaster": "Conjurador", - "OSE.Language": "Lingua", - "OSE.SpokenLanguages": "Linguas faladas", - "OSE.Literacy": "Alfabetização", - "OSE.Literate": "Alfabetizado", - "OSE.LiteracyBasic": "Básico", - "OSE.Illiterate": "Analfabeto", - "OSE.NativeBroken": "Nativo (Semi-alfabetizado)", - "OSE.Native": "Nativo", - "OSE.NativePlus1": "Nativo + 1", - "OSE.NativePlus2": "Nativo + 2", - "OSE.NativePlus3": "Nativo + 3", + "ACKS.Language": "Lingua", + "ACKS.SpokenLanguages": "Linguas faladas", + "ACKS.Literacy": "Alfabetização", + "ACKS.Literate": "Alfabetizado", + "ACKS.LiteracyBasic": "Básico", + "ACKS.Illiterate": "Analfabeto", + "ACKS.NativeBroken": "Nativo (Semi-alfabetizado)", + "ACKS.Native": "Nativo", + "ACKS.NativePlus1": "Nativo + 1", + "ACKS.NativePlus2": "Nativo + 2", + "ACKS.NativePlus3": "Nativo + 3", - "OSE.NPCReaction": "Reação do NPC", - "OSE.RetainersMax": "#Retentor", + "ACKS.NPCReaction": "Reação do NPC", + "ACKS.RetainersMax": "#Retentor", - "OSE.category.saves": "Salvaguarda", - "OSE.category.attributes": "Atributos", - "OSE.category.inventory": "Itens", - "OSE.category.abilities": "Habilidades", - "OSE.category.spells": "Magias", - "OSE.category.notes": "Notas", - "OSE.category.languages": "Linguas", - "OSE.category.description": "Descrição", - "OSE.category.equipment": "Equipamento", + "ACKS.category.saves": "Salvaguarda", + "ACKS.category.attributes": "Atributos", + "ACKS.category.inventory": "Itens", + "ACKS.category.abilities": "Habilidades", + "ACKS.category.spells": "Magias", + "ACKS.category.notes": "Notas", + "ACKS.category.languages": "Linguas", + "ACKS.category.description": "Descrição", + "ACKS.category.equipment": "Equipamento", - "OSE.Setting.Initiative": "Iniciativa", - "OSE.Setting.InitiativeHint": "Iniciativa agrupada ou individual. Iniciativa única individual é somente rolada ao inicio do combate", - "OSE.Setting.InitiativeOnce": "Iniciativa única individual", - "OSE.Setting.InitiativeReroll": "Iniciativa individual por rodada", - "OSE.Setting.InitiativeGroup": "Iniciativa agrupada", - "OSE.Setting.AscendingAC": "Classe de armadura ascendente", - "OSE.Setting.AscendingACHint": "Quanto maior melhor", - "OSE.Setting.Morale": "Habilitar taxa de moral dos monstros", - "OSE.Setting.MoraleHint": "Taxa de moral é mostrada na ficha dos monstros", - "OSE.Setting.Encumbrance": "Sobrecarga", - "OSE.Setting.EncumbranceHint": "Escolha como a sobrecarga é calculada", - "OSE.Setting.EncumbranceDisabled": "Desabilitada", - "OSE.Setting.EncumbranceBasic": "Básica", - "OSE.Setting.EncumbranceDetailed": "Detalhada", - "OSE.Setting.MovementAuto": "Calcular movimento", - "OSE.Setting.SignificantTreasure": "Peso significativo do tesouro", - "OSE.Setting.SignificantTreasureHint": "Peso com o qual o tesouro reduzirá o movimento, somente usar com sobrecarga básica", + "ACKS.Setting.Initiative": "Iniciativa", + "ACKS.Setting.InitiativeHint": "Iniciativa agrupada ou individual. Iniciativa única individual é somente rolada ao inicio do combate", + "ACKS.Setting.InitiativeOnce": "Iniciativa única individual", + "ACKS.Setting.InitiativeReroll": "Iniciativa individual por rodada", + "ACKS.Setting.InitiativeGroup": "Iniciativa agrupada", + "ACKS.Setting.AscendingAC": "Classe de armadura ascendente", + "ACKS.Setting.AscendingACHint": "Quanto maior melhor", + "ACKS.Setting.Morale": "Habilitar taxa de moral dos monstros", + "ACKS.Setting.MoraleHint": "Taxa de moral é mostrada na ficha dos monstros", + "ACKS.Setting.Encumbrance": "Sobrecarga", + "ACKS.Setting.EncumbranceHint": "Escolha como a sobrecarga é calculada", + "ACKS.Setting.EncumbranceDisabled": "Desabilitada", + "ACKS.Setting.EncumbranceBasic": "Básica", + "ACKS.Setting.EncumbranceDetailed": "Detalhada", + "ACKS.Setting.MovementAuto": "Calcular movimento", + "ACKS.Setting.SignificantTreasure": "Peso significativo do tesouro", + "ACKS.Setting.SignificantTreasureHint": "Peso com o qual o tesouro reduzirá o movimento, somente usar com sobrecarga básica", - "OSE.items.Equip": "Equipar", - "OSE.items.Unequip": "Desequipar", - "OSE.items.Misc": "Diverso", - "OSE.items.Weapons": "Armas", - "OSE.items.Treasure": "Tesouro", - "OSE.items.Armors": "Proteção", - "OSE.items.Weight": "Peso", - "OSE.items.Qualities": "Qualidades", - "OSE.items.Notes": "Notas", - "OSE.items.Cost": "Custo", - "OSE.items.Quantity": "Qt.", - "OSE.items.Roll": "Rolar", - "OSE.items.BlindRoll": "Ocultar", - "OSE.items.RollTarget": "Alvo", - "OSE.items.RollType": "Tipo", - "OSE.items.Damage": "Dano", - "OSE.items.ArmorAC": "CA", - "OSE.items.ArmorAAC": "CAA", - "OSE.items.Bonus": "Bônus", - "OSE.items.AtkBonus": "Bônus ataque", - "OSE.items.roundAttacks": "Ataques usados na rodada", - "OSE.items.roundAttacksMax": "Máximo de ataques por rodada", - "OSE.items.resetAttacks": "Reiniciar todos ataques por rodada", - "OSE.items.hasShield": "Tem um bônus de escudo", - "OSE.items.typeTag": "Digite virgula para separar a lista de tag", - "OSE.items.enterTag": "Tags", - "OSE.items.pattern": "Marcador padrão de ataque", + "ACKS.items.Equip": "Equipar", + "ACKS.items.Unequip": "Desequipar", + "ACKS.items.Misc": "Diverso", + "ACKS.items.Weapons": "Armas", + "ACKS.items.Treasure": "Tesouro", + "ACKS.items.Armors": "Proteção", + "ACKS.items.Weight": "Peso", + "ACKS.items.Qualities": "Qualidades", + "ACKS.items.Notes": "Notas", + "ACKS.items.Cost": "Custo", + "ACKS.items.Quantity": "Qt.", + "ACKS.items.Roll": "Rolar", + "ACKS.items.BlindRoll": "Ocultar", + "ACKS.items.RollTarget": "Alvo", + "ACKS.items.RollType": "Tipo", + "ACKS.items.Damage": "Dano", + "ACKS.items.ArmorAC": "CA", + "ACKS.items.ArmorAAC": "CAA", + "ACKS.items.Bonus": "Bônus", + "ACKS.items.AtkBonus": "Bônus ataque", + "ACKS.items.roundAttacks": "Ataques usados na rodada", + "ACKS.items.roundAttacksMax": "Máximo de ataques por rodada", + "ACKS.items.resetAttacks": "Reiniciar todos ataques por rodada", + "ACKS.items.hasShield": "Tem um bônus de escudo", + "ACKS.items.typeTag": "Digite virgula para separar a lista de tag", + "ACKS.items.enterTag": "Tags", + "ACKS.items.pattern": "Marcador padrão de ataque", - "OSE.items.Range": "Distância", - "OSE.items.Melee": "Corpo", - "OSE.items.Missile": "Projétil", - "OSE.items.Slow": "Lenta", - "OSE.items.TwoHanded": "Duas mãos", - "OSE.items.Blunt": "Concussão", - "OSE.items.Brace": "Braçadeira", - "OSE.items.Splash": "Arma de respingo", - "OSE.items.Reload": "Recarga", - "OSE.items.Charge": "Carga", + "ACKS.items.Range": "Distância", + "ACKS.items.Melee": "Corpo", + "ACKS.items.Missile": "Projétil", + "ACKS.items.Slow": "Lenta", + "ACKS.items.TwoHanded": "Duas mãos", + "ACKS.items.Blunt": "Concussão", + "ACKS.items.Brace": "Braçadeira", + "ACKS.items.Splash": "Arma de respingo", + "ACKS.items.Reload": "Recarga", + "ACKS.items.Charge": "Carga", - "OSE.armor.type": "Tipo de armadura", - "OSE.armor.unarmored": "Sem armadura", - "OSE.armor.light": "Leve", - "OSE.armor.heavy": "Pesada", - "OSE.armor.shield": "Escudo", + "ACKS.armor.type": "Tipo de armadura", + "ACKS.armor.unarmored": "Sem armadura", + "ACKS.armor.light": "Leve", + "ACKS.armor.heavy": "Pesada", + "ACKS.armor.shield": "Escudo", - "OSE.spells.spend": "{speaker} está conjurando {name}!", - "OSE.spells.Memorized": "Memorizada", - "OSE.spells.Cast": "Conjurar", - "OSE.spells.Range": "Distância", - "OSE.spells.Slots": "Espaços", - "OSE.spells.Class": "Classe", - "OSE.spells.Duration": "Duração", - "OSE.spells.Level": "Nivel", - "OSE.spells.Save": "Salvaguarda", - "OSE.spells.ResetSlots": "Reiniciar espaços de magia", + "ACKS.spells.spend": "{speaker} está conjurando {name}!", + "ACKS.spells.Memorized": "Memorizada", + "ACKS.spells.Cast": "Conjurar", + "ACKS.spells.Range": "Distância", + "ACKS.spells.Slots": "Espaços", + "ACKS.spells.Class": "Classe", + "ACKS.spells.Duration": "Duração", + "ACKS.spells.Level": "Nivel", + "ACKS.spells.Save": "Salvaguarda", + "ACKS.spells.ResetSlots": "Reiniciar espaços de magia", - "OSE.abilities.Requirements": "Requerimentos", + "ACKS.abilities.Requirements": "Requerimentos", - "OSE.exploration.ld.long": "Ouvir ruidos", - "OSE.exploration.ld.short": "Ouvir ruidos", - "OSE.exploration.ld.abrev": "OR", - "OSE.exploration.od.long": "Abrir fechaduras", - "OSE.exploration.od.short": "Abrir fechaduras", - "OSE.exploration.od.abrev": "AF", - "OSE.exploration.sd.long": "Encontrar portas secreta", - "OSE.exploration.sd.short": "Portas Secretas", - "OSE.exploration.sd.abrev": "PS", - "OSE.exploration.ft.long": "Encontrar armadilhas em salas", - "OSE.exploration.ft.short": "Encontrar armadilhas", - "OSE.exploration.ft.abrev": "EA", + "ACKS.exploration.ld.long": "Ouvir ruidos", + "ACKS.exploration.ld.short": "Ouvir ruidos", + "ACKS.exploration.ld.abrev": "OR", + "ACKS.exploration.od.long": "Abrir fechaduras", + "ACKS.exploration.od.short": "Abrir fechaduras", + "ACKS.exploration.od.abrev": "AF", + "ACKS.exploration.sd.long": "Encontrar portas secreta", + "ACKS.exploration.sd.short": "Portas Secretas", + "ACKS.exploration.sd.abrev": "PS", + "ACKS.exploration.ft.long": "Encontrar armadilhas em salas", + "ACKS.exploration.ft.short": "Encontrar armadilhas", + "ACKS.exploration.ft.abrev": "EA", - "OSE.messages.GetExperience": "{name} ganha {value} pontos de experiência!", - "OSE.messages.AttackSuccess": "Acerta CA {result}! ({bonus})", - "OSE.messages.AttackAscendingSuccess": "Acerta CA {result}!", - "OSE.messages.AttackFailure": "Ataque falha ({bonus})", - "OSE.messages.AttackAscendingFailure": "Ataque falha", - "OSE.messages.InflictsDamage": "Inflige dano!", - "OSE.messages.applyDamage": "Aplicar dano", - "OSE.messages.applyHealing": "Aplicar cura", + "ACKS.messages.GetExperience": "{name} ganha {value} pontos de experiência!", + "ACKS.messages.AttackSuccess": "Acerta CA {result}! ({bonus})", + "ACKS.messages.AttackAscendingSuccess": "Acerta CA {result}!", + "ACKS.messages.AttackFailure": "Ataque falha ({bonus})", + "ACKS.messages.AttackAscendingFailure": "Ataque falha", + "ACKS.messages.InflictsDamage": "Inflige dano!", + "ACKS.messages.applyDamage": "Aplicar dano", + "ACKS.messages.applyHealing": "Aplicar cura", - "OSE.colors.green": "Verde", - "OSE.colors.red": "Vermelho", - "OSE.colors.yellow": "Amarelo", - "OSE.colors.purple": "Roxo", - "OSE.colors.blue": "Azul", - "OSE.colors.orange": "Laranja", - "OSE.colors.white": "Branco", + "ACKS.colors.green": "Verde", + "ACKS.colors.red": "Vermelho", + "ACKS.colors.yellow": "Amarelo", + "ACKS.colors.purple": "Roxo", + "ACKS.colors.blue": "Azul", + "ACKS.colors.orange": "Laranja", + "ACKS.colors.white": "Branco", - "OSE.reaction.check": "Teste de reação", - "OSE.reaction.Hostile": "{name} é Hostil", - "OSE.reaction.Unfriendly": "{name} é Inamistoso", - "OSE.reaction.Neutral": "{name} é Neutro", - "OSE.reaction.Indifferent": "{name} é Indiferente", - "OSE.reaction.Friendly": "{name} é Amigável" + "ACKS.reaction.check": "Teste de reação", + "ACKS.reaction.Hostile": "{name} é Hostil", + "ACKS.reaction.Unfriendly": "{name} é Inamistoso", + "ACKS.reaction.Neutral": "{name} é Neutro", + "ACKS.reaction.Indifferent": "{name} é Indiferente", + "ACKS.reaction.Friendly": "{name} é Amigável" } diff --git a/src/module/actor/actor-sheet.js b/src/module/actor/actor-sheet.js index b5e4741..8775bb5 100644 --- a/src/module/actor/actor-sheet.js +++ b/src/module/actor/actor-sheet.js @@ -1,7 +1,7 @@ -import { OseActor } from "./entity.js"; -import { OseEntityTweaks } from "../dialog/entity-tweaks.js"; +import { AcksActor } from "./entity.js"; +import { AcksEntityTweaks } from "../dialog/entity-tweaks.js"; -export class OseActorSheet extends ActorSheet { +export class AcksActorSheet extends ActorSheet { constructor(...args) { super(...args); } @@ -10,11 +10,11 @@ export class OseActorSheet extends ActorSheet { getData() { const data = super.getData(); - data.config = CONFIG.OSE; + data.config = CONFIG.ACKS; // Settings - data.config.ascendingAC = game.settings.get("ose", "ascendingAC"); + data.config.ascendingAC = game.settings.get("acks", "ascendingAC"); data.config.encumbranceBasic = - game.settings.get("ose", "encumbranceOption") == "basic"; + game.settings.get("acks", "encumbranceOption") == "basic"; // Prepare owned items this._prepareItems(data); @@ -228,7 +228,7 @@ export class OseActorSheet extends ActorSheet { _onConfigureActor(event) { event.preventDefault(); - new OseEntityTweaks(this.actor, { + new AcksEntityTweaks(this.actor, { top: this.position.top + 40, left: this.position.left + (this.position.width - 400) / 2, }).render(true); @@ -246,7 +246,7 @@ export class OseActorSheet extends ActorSheet { if (this.options.editable && canConfigure) { buttons = [ { - label: game.i18n.localize("OSE.dialog.tweaks"), + label: game.i18n.localize("ACKS.dialog.tweaks"), class: "configure-actor", icon: "fas fa-code", onclick: (ev) => this._onConfigureActor(ev), diff --git a/src/module/actor/character-sheet.js b/src/module/actor/character-sheet.js index 90f7ccb..86d483f 100644 --- a/src/module/actor/character-sheet.js +++ b/src/module/actor/character-sheet.js @@ -1,12 +1,12 @@ -import { OseActor } from "./entity.js"; -import { OseActorSheet } from "./actor-sheet.js"; -import { OseCharacterModifiers } from "../dialog/character-modifiers.js"; -import { OseCharacterCreator } from "../dialog/character-creation.js"; +import { AcksActor } from "./entity.js"; +import { AcksActorSheet } from "./actor-sheet.js"; +import { AcksCharacterModifiers } from "../dialog/character-modifiers.js"; +import { AcksCharacterCreator } from "../dialog/character-creation.js"; /** * Extend the basic ActorSheet with some very simple modifications */ -export class OseActorSheetCharacter extends OseActorSheet { +export class AcksActorSheetCharacter extends AcksActorSheet { constructor(...args) { super(...args); } @@ -19,8 +19,8 @@ export class OseActorSheetCharacter extends OseActorSheet { */ static get defaultOptions() { return mergeObject(super.defaultOptions, { - classes: ["ose", "sheet", "actor", "character"], - template: "systems/ose/templates/actors/character-sheet.html", + classes: ["acks", "sheet", "actor", "character"], + template: "systems/acks/templates/actors/character-sheet.html", width: 450, height: 530, resizable: true, @@ -35,7 +35,7 @@ export class OseActorSheetCharacter extends OseActorSheet { } generateScores() { - new OseCharacterCreator(this.actor, { + new AcksCharacterCreator(this.actor, { top: this.position.top + 40, left: this.position.left + (this.position.width - 400) / 2, }).render(true); @@ -48,9 +48,9 @@ export class OseActorSheetCharacter extends OseActorSheet { getData() { const data = super.getData(); - data.config.ascendingAC = game.settings.get("ose", "ascendingAC"); - data.config.initiative = game.settings.get("ose", "initiative") != "group"; - data.config.encumbrance = game.settings.get("ose", "encumbranceOption"); + data.config.ascendingAC = game.settings.get("acks", "ascendingAC"); + data.config.initiative = game.settings.get("acks", "initiative") != "group"; + data.config.encumbrance = game.settings.get("acks", "encumbranceOption"); data.isNew = this.actor.isNew(); return data; @@ -58,11 +58,11 @@ export class OseActorSheetCharacter extends OseActorSheet { async _chooseLang() { - let choices = CONFIG.OSE.languages; + let choices = CONFIG.ACKS.languages; let templateData = { choices: choices }, dlg = await renderTemplate( - "/systems/ose/templates/actors/dialogs/lang-create.html", + "/systems/acks/templates/actors/dialogs/lang-create.html", templateData ); //Create Dialog window @@ -72,7 +72,7 @@ export class OseActorSheetCharacter extends OseActorSheet { content: dlg, buttons: { ok: { - label: game.i18n.localize("OSE.Ok"), + label: game.i18n.localize("ACKS.Ok"), icon: '', callback: (html) => { resolve({ @@ -82,7 +82,7 @@ export class OseActorSheetCharacter extends OseActorSheet { }, cancel: { icon: '', - label: game.i18n.localize("OSE.Cancel"), + label: game.i18n.localize("ACKS.Cancel"), }, }, default: "ok", @@ -94,7 +94,7 @@ export class OseActorSheetCharacter extends OseActorSheet { const data = this.actor.data.data; let update = duplicate(data[table]); this._chooseLang().then((dialogInput) => { - const name = CONFIG.OSE.languages[dialogInput.choice]; + const name = CONFIG.ACKS.languages[dialogInput.choice]; if (update.value) { update.value.push(name); } else { @@ -125,7 +125,7 @@ export class OseActorSheetCharacter extends OseActorSheet { _onShowModifiers(event) { event.preventDefault(); - new OseCharacterModifiers(this.actor, { + new AcksCharacterModifiers(this.actor, { top: this.position.top + 40, left: this.position.left + (this.position.width - 400) / 2, }).render(true); diff --git a/src/module/actor/entity.js b/src/module/actor/entity.js index 9f63429..841f66c 100644 --- a/src/module/actor/entity.js +++ b/src/module/actor/entity.js @@ -1,6 +1,6 @@ -import { OseDice } from "../dice.js"; +import { AcksDice } from "../dice.js"; -export class OseActor extends Actor { +export class AcksActor extends Actor { /** * Extends data from base Actor class */ @@ -17,7 +17,7 @@ export class OseActor extends Actor { this.computeTreasure(); // Determine Initiative - if (game.settings.get("ose", "initiative") != "group") { + if (game.settings.get("acks", "initiative") != "group") { data.initiative.value = data.initiative.mod; if (this.data.type == "character") { data.initiative.value += data.scores.dex.mod; @@ -42,7 +42,7 @@ export class OseActor extends Actor { }).then(() => { const speaker = ChatMessage.getSpeaker({ actor: this }); ChatMessage.create({ - content: game.i18n.format("OSE.messages.GetExperience", { + content: game.i18n.format("ACKS.messages.GetExperience", { name: this.name, value: modified, }), @@ -71,7 +71,7 @@ export class OseActor extends Actor { generateSave(hd) { let saves = {}; for (let i = 0; i <= hd; i++) { - let tmp = CONFIG.OSE.monster_saves[i]; + let tmp = CONFIG.ACKS.monster_saves[i]; if (tmp) { saves = tmp; } @@ -115,7 +115,7 @@ export class OseActor extends Actor { } rollSave(save, options = {}) { - const label = game.i18n.localize(`OSE.saves.${save}.long`); + const label = game.i18n.localize(`ACKS.saves.${save}.long`); const rollParts = ["1d20"]; const data = { @@ -124,20 +124,20 @@ export class OseActor extends Actor { type: "above", target: this.data.data.saves[save].value, }, - details: game.i18n.format("OSE.roll.details.save", { save: label }), + details: game.i18n.format("ACKS.roll.details.save", { save: label }), }; let skip = options.event && options.event.ctrlKey; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, skipDialog: skip, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.format("OSE.roll.save", { save: label }), - title: game.i18n.format("OSE.roll.save", { save: label }), + flavor: game.i18n.format("ACKS.roll.save", { save: label }), + title: game.i18n.format("ACKS.roll.save", { save: label }), }); } @@ -153,19 +153,19 @@ export class OseActor extends Actor { }; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, skipDialog: true, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.localize("OSE.roll.morale"), - title: game.i18n.localize("OSE.roll.morale"), + flavor: game.i18n.localize("ACKS.roll.morale"), + title: game.i18n.localize("ACKS.roll.morale"), }); } rollLoyalty(options = {}) { - const label = game.i18n.localize(`OSE.roll.loyalty`); + const label = game.i18n.localize(`ACKS.roll.loyalty`); const rollParts = ["2d6"]; const data = { @@ -177,7 +177,7 @@ export class OseActor extends Actor { }; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, @@ -196,19 +196,19 @@ export class OseActor extends Actor { roll: { type: "table", table: { - 2: game.i18n.format("OSE.reaction.Hostile", { + 2: game.i18n.format("ACKS.reaction.Hostile", { name: this.data.name, }), - 3: game.i18n.format("OSE.reaction.Unfriendly", { + 3: game.i18n.format("ACKS.reaction.Unfriendly", { name: this.data.name, }), - 6: game.i18n.format("OSE.reaction.Neutral", { + 6: game.i18n.format("ACKS.reaction.Neutral", { name: this.data.name, }), - 9: game.i18n.format("OSE.reaction.Indifferent", { + 9: game.i18n.format("ACKS.reaction.Indifferent", { name: this.data.name, }), - 12: game.i18n.format("OSE.reaction.Friendly", { + 12: game.i18n.format("ACKS.reaction.Friendly", { name: this.data.name, }), }, @@ -218,19 +218,19 @@ export class OseActor extends Actor { let skip = options.event && options.event.ctrlKey; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, skipDialog: skip, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.localize("OSE.reaction.check"), - title: game.i18n.localize("OSE.reaction.check"), + flavor: game.i18n.localize("ACKS.reaction.check"), + title: game.i18n.localize("ACKS.reaction.check"), }); } rollCheck(score, options = {}) { - const label = game.i18n.localize(`OSE.scores.${score}.long`); + const label = game.i18n.localize(`ACKS.scores.${score}.long`); const rollParts = ["1d20"]; const data = { @@ -240,7 +240,7 @@ export class OseActor extends Actor { target: this.data.data.scores[score].value, }, - details: game.i18n.format("OSE.roll.details.attribute", { + details: game.i18n.format("ACKS.roll.details.attribute", { score: label, }), }; @@ -248,19 +248,19 @@ export class OseActor extends Actor { let skip = options.event && options.event.ctrlKey; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, skipDialog: skip, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.format("OSE.roll.attribute", { attribute: label }), - title: game.i18n.format("OSE.roll.attribute", { attribute: label }), + flavor: game.i18n.format("ACKS.roll.attribute", { attribute: label }), + title: game.i18n.format("ACKS.roll.attribute", { attribute: label }), }); } rollHitDice(options = {}) { - const label = game.i18n.localize(`OSE.roll.hd`); + const label = game.i18n.localize(`ACKS.roll.hd`); const rollParts = [this.data.data.hp.hd]; if (this.data.type == "character") { rollParts.push(this.data.data.scores.con.mod); @@ -274,7 +274,7 @@ export class OseActor extends Actor { }; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, @@ -305,19 +305,19 @@ export class OseActor extends Actor { }; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, skipDialog: true, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.format("OSE.roll.appearing", { type: label }), - title: game.i18n.format("OSE.roll.appearing", { type: label }), + flavor: game.i18n.format("ACKS.roll.appearing", { type: label }), + title: game.i18n.format("ACKS.roll.appearing", { type: label }), }); } rollExploration(expl, options = {}) { - const label = game.i18n.localize(`OSE.exploration.${expl}.long`); + const label = game.i18n.localize(`ACKS.exploration.${expl}.long`); const rollParts = ["1d6"]; const data = { @@ -326,7 +326,7 @@ export class OseActor extends Actor { type: "below", target: this.data.data.exploration[expl], }, - details: game.i18n.format("OSE.roll.details.exploration", { + details: game.i18n.format("ACKS.roll.details.exploration", { expl: label, }), }; @@ -334,14 +334,14 @@ export class OseActor extends Actor { let skip = options.event && options.event.ctrlKey; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, skipDialog: skip, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.format("OSE.roll.exploration", { exploration: label }), - title: game.i18n.format("OSE.roll.exploration", { exploration: label }), + flavor: game.i18n.format("ACKS.roll.exploration", { exploration: label }), + title: game.i18n.format("ACKS.roll.exploration", { exploration: label }), }); } @@ -369,14 +369,14 @@ export class OseActor extends Actor { } // Damage roll - OseDice.Roll({ + AcksDice.Roll({ event: options.event, parts: dmgParts, data: rollData, skipDialog: true, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: `${attData.label} - ${game.i18n.localize("OSE.Damage")}`, - title: `${attData.label} - ${game.i18n.localize("OSE.Damage")}`, + flavor: `${attData.label} - ${game.i18n.localize("ACKS.Damage")}`, + title: `${attData.label} - ${game.i18n.localize("ACKS.Damage")}`, }); } @@ -395,19 +395,19 @@ export class OseActor extends Actor { const data = this.data.data; const rollParts = ["1d20"]; const dmgParts = []; - let label = game.i18n.format("OSE.roll.attacks", { + let label = game.i18n.format("ACKS.roll.attacks", { name: this.data.name, }); if (!attData.item) { dmgParts.push("1d6"); } else { - label = game.i18n.format("OSE.roll.attacksWith", { + label = game.i18n.format("ACKS.roll.attacksWith", { name: attData.item.name, }); dmgParts.push(attData.item.data.damage); } - let ascending = game.settings.get("ose", "ascendingAC"); + let ascending = game.settings.get("acks", "ascendingAC"); if (ascending) { rollParts.push(data.thac0.bba.toString()); } @@ -442,7 +442,7 @@ export class OseActor extends Actor { }; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: rollData, @@ -494,7 +494,7 @@ export class OseActor extends Actor { return; } const data = this.data.data; - let option = game.settings.get("ose", "encumbranceOption"); + let option = game.settings.get("acks", "encumbranceOption"); // Compute encumbrance let totalWeight = 0; @@ -527,7 +527,7 @@ export class OseActor extends Actor { _calculateMovement() { const data = this.data.data; - let option = game.settings.get("ose", "encumbranceOption"); + let option = game.settings.get("acks", "encumbranceOption"); let weight = data.encumbrance.value; let delta = data.encumbrance.max - 1600; if (["detailed", "complete"].includes(option)) { @@ -565,7 +565,7 @@ export class OseActor extends Actor { data.movement.base = 60; break; } - if (weight > game.settings.get("ose", "significantTreasure")) { + if (weight > game.settings.get("acks", "significantTreasure")) { data.movement.base -= 30; } } @@ -631,27 +631,27 @@ export class OseActor extends Actor { 16: 2, 18: 3, }; - data.scores.str.mod = OseActor._valueFromTable( + data.scores.str.mod = AcksActor._valueFromTable( standard, data.scores.str.value ); - data.scores.int.mod = OseActor._valueFromTable( + data.scores.int.mod = AcksActor._valueFromTable( standard, data.scores.int.value ); - data.scores.dex.mod = OseActor._valueFromTable( + data.scores.dex.mod = AcksActor._valueFromTable( standard, data.scores.dex.value ); - data.scores.cha.mod = OseActor._valueFromTable( + data.scores.cha.mod = AcksActor._valueFromTable( standard, data.scores.cha.value ); - data.scores.wis.mod = OseActor._valueFromTable( + data.scores.wis.mod = AcksActor._valueFromTable( standard, data.scores.wis.value ); - data.scores.con.mod = OseActor._valueFromTable( + data.scores.con.mod = AcksActor._valueFromTable( standard, data.scores.con.value ); @@ -666,11 +666,11 @@ export class OseActor extends Actor { 16: 1, 18: 2, }; - data.scores.dex.init = OseActor._valueFromTable( + data.scores.dex.init = AcksActor._valueFromTable( capped, data.scores.dex.value ); - data.scores.cha.npc = OseActor._valueFromTable( + data.scores.cha.npc = AcksActor._valueFromTable( capped, data.scores.cha.value ); @@ -685,30 +685,30 @@ export class OseActor extends Actor { 16: 4, 18: 5, }; - data.exploration.odMod = OseActor._valueFromTable( + data.exploration.odMod = AcksActor._valueFromTable( od, data.scores.str.value ); const literacy = { 0: "", - 3: "OSE.Illiterate", - 6: "OSE.LiteracyBasic", - 9: "OSE.Literate", + 3: "ACKS.Illiterate", + 6: "ACKS.LiteracyBasic", + 9: "ACKS.Literate", }; - data.languages.literacy = OseActor._valueFromTable( + data.languages.literacy = AcksActor._valueFromTable( literacy, data.scores.int.value ); const spoken = { - 0: "OSE.NativeBroken", - 3: "OSE.Native", - 13: "OSE.NativePlus1", - 16: "OSE.NativePlus2", - 18: "OSE.NativePlus3", + 0: "ACKS.NativeBroken", + 3: "ACKS.Native", + 13: "ACKS.NativePlus1", + 16: "ACKS.NativePlus2", + 18: "ACKS.NativePlus3", }; - data.languages.spoken = OseActor._valueFromTable( + data.languages.spoken = AcksActor._valueFromTable( spoken, data.scores.int.value ); diff --git a/src/module/actor/monster-sheet.js b/src/module/actor/monster-sheet.js index 68537f1..2d78f01 100644 --- a/src/module/actor/monster-sheet.js +++ b/src/module/actor/monster-sheet.js @@ -1,10 +1,10 @@ -import { OseActor } from "./entity.js"; -import { OseActorSheet } from "./actor-sheet.js"; +import { AcksActor } from "./entity.js"; +import { AcksActorSheet } from "./actor-sheet.js"; /** * Extend the basic ActorSheet with some very simple modifications */ -export class OseActorSheetMonster extends OseActorSheet { +export class AcksActorSheetMonster extends AcksActorSheet { constructor(...args) { super(...args); } @@ -17,8 +17,8 @@ export class OseActorSheetMonster extends OseActorSheet { */ static get defaultOptions() { return mergeObject(super.defaultOptions, { - classes: ["ose", "sheet", "monster", "actor"], - template: "systems/ose/templates/actors/monster-sheet.html", + classes: ["acks", "sheet", "monster", "actor"], + template: "systems/acks/templates/actors/monster-sheet.html", width: 450, height: 560, resizable: true, @@ -36,20 +36,20 @@ export class OseActorSheetMonster extends OseActorSheet { * Monster creation helpers */ async generateSave() { - let choices = CONFIG.OSE.monster_saves; + let choices = CONFIG.ACKS.monster_saves; let templateData = { choices: choices }, dlg = await renderTemplate( - "/systems/ose/templates/actors/dialogs/monster-saves.html", + "/systems/acks/templates/actors/dialogs/monster-saves.html", templateData ); //Create Dialog window new Dialog({ - title: game.i18n.localize("OSE.dialog.generateSaves"), + title: game.i18n.localize("ACKS.dialog.generateSaves"), content: dlg, buttons: { ok: { - label: game.i18n.localize("OSE.Ok"), + label: game.i18n.localize("ACKS.Ok"), icon: '', callback: (html) => { let hd = html.find('select[name="choice"]').val(); @@ -58,7 +58,7 @@ export class OseActorSheetMonster extends OseActorSheet { }, cancel: { icon: '', - label: game.i18n.localize("OSE.Cancel"), + label: game.i18n.localize("ACKS.Cancel"), }, }, default: "ok", @@ -75,7 +75,7 @@ export class OseActorSheetMonster extends OseActorSheet { const data = super.getData(); // Settings - data.config.morale = game.settings.get("ose", "morale"); + data.config.morale = game.settings.get("acks", "morale"); data.data.details.treasure.link = TextEditor.enrichHTML(data.data.details.treasure.table); data.isNew = this.actor.isNew(); return data; @@ -117,7 +117,7 @@ export class OseActorSheetMonster extends OseActorSheet { content: dlg, buttons: { ok: { - label: game.i18n.localize("OSE.Ok"), + label: game.i18n.localize("ACKS.Ok"), icon: '', callback: (html) => { resolve({ @@ -128,7 +128,7 @@ export class OseActorSheetMonster extends OseActorSheet { }, cancel: { icon: '', - label: game.i18n.localize("OSE.Cancel"), + label: game.i18n.localize("ACKS.Cancel"), }, }, default: "ok", @@ -250,7 +250,7 @@ export class OseActorSheetMonster extends OseActorSheet { const li = $(ev.currentTarget).parents(".item"); const item = this.actor.getOwnedItem(li.data("itemId")); let currentColor = item.data.data.pattern; - let colors = Object.keys(CONFIG.OSE.colors); + let colors = Object.keys(CONFIG.ACKS.colors); let index = colors.indexOf(currentColor); if (index + 1 == colors.length) { index = 0; diff --git a/src/module/chat.js b/src/module/chat.js index 41e656e..d4c445c 100644 --- a/src/module/chat.js +++ b/src/module/chat.js @@ -11,13 +11,13 @@ export const addChatMessageContextOptions = function(html, options) { let canApply = li => canvas.tokens.controlled.length && li.find(".dice-roll").length; options.push( { - name: game.i18n.localize("OSE.messages.applyDamage"), + name: game.i18n.localize("ACKS.messages.applyDamage"), icon: '', condition: canApply, callback: li => applyChatCardDamage(li, 1) }, { - name: game.i18n.localize("OSE.messages.applyHealing"), + name: game.i18n.localize("ACKS.messages.applyHealing"), icon: '', condition: canApply, callback: li => applyChatCardDamage(li, -1) diff --git a/src/module/combat.js b/src/module/combat.js index 0860636..4578c96 100644 --- a/src/module/combat.js +++ b/src/module/combat.js @@ -1,10 +1,10 @@ -export class OseCombat { +export class AcksCombat { static rollInitiative(combat, data) { // Check groups data.combatants = []; let groups = {}; combat.data.combatants.forEach((cbt) => { - groups[cbt.flags.ose.group] = { present: true }; + groups[cbt.flags.acks.group] = { present: true }; data.combatants.push(cbt); }); @@ -12,7 +12,7 @@ export class OseCombat { Object.keys(groups).forEach((group) => { let roll = new Roll("1d6").roll(); roll.toMessage({ - flavor: game.i18n.format('OSE.roll.initiative', { group: CONFIG["OSE"].colors[group] }), + flavor: game.i18n.format('ACKS.roll.initiative', { group: CONFIG["acks"].colors[group] }), }); groups[group].initiative = roll.total; }); @@ -26,7 +26,7 @@ export class OseCombat { data.combatants[i].initiative = -789; } else { data.combatants[i].initiative = - groups[data.combatants[i].flags.ose.group].initiative; + groups[data.combatants[i].flags.acks.group].initiative; } } } @@ -65,7 +65,7 @@ export class OseCombat { token: c.token._id, alias: c.token.name }, - flavor: game.i18n.format('OSE.roll.individualInit', { name: c.token.name }) + flavor: game.i18n.format('ACKS.roll.individualInit', { name: c.token.name }) }, {}); const chatData = roll.toMessage(messageData, { rollMode, create: false }); @@ -88,7 +88,7 @@ export class OseCombat { ? '' : span.innerHTML; }); - let init = game.settings.get("ose", "initiative") == "group"; + let init = game.settings.get("acks", "initiative") == "group"; if (!init) { return; } @@ -108,19 +108,19 @@ export class OseCombat { // Get group color let cmbtant = object.combat.getCombatant(ct.dataset.combatantId); - let color = cmbtant.flags.ose.group; + let color = cmbtant.flags.acks.group; // Append colored flag let controls = $(ct).find(".combatant-controls"); controls.prepend( - `` + `` ); }); - OseCombat.addListeners(html); + AcksCombat.addListeners(html); } static updateCombatant(combat, combatant, data) { - let init = game.settings.get("ose", "initiative"); + let init = game.settings.get("acks", "initiative"); // Why do you reroll ? if (combatant.actor.data.data.isSlow) { data.initiative = -789; @@ -134,7 +134,7 @@ export class OseCombat { ct.initiative && ct.initiative != "-789.00" && ct._id != data._id && - ct.flags.ose.group == combatant.flags.ose.group + ct.flags.acks.group == combatant.flags.acks.group ) { groupInit = ct.initiative; // Set init @@ -151,7 +151,7 @@ export class OseCombat { return; } let currentColor = ev.currentTarget.style.color; - let colors = Object.keys(CONFIG.OSE.colors); + let colors = Object.keys(CONFIG.ACKS.colors); let index = colors.indexOf(currentColor); if (index + 1 == colors.length) { index = 0; @@ -161,7 +161,7 @@ export class OseCombat { let id = $(ev.currentTarget).closest(".combatant")[0].dataset.combatantId; game.combat.updateCombatant({ _id: id, - flags: { ose: { group: colors[index] } }, + flags: { acks: { group: colors[index] } }, }); }); @@ -170,7 +170,7 @@ export class OseCombat { return; } let data = {}; - OseCombat.rollInitiative(game.combat, data); + AcksCombat.rollInitiative(game.combat, data); game.combat.update({ data: data }); }); } @@ -190,7 +190,7 @@ export class OseCombat { break; } data.flags = { - ose: { + acks: { group: color, }, }; diff --git a/src/module/config.js b/src/module/config.js index 806c121..d55c8ce 100644 --- a/src/module/config.js +++ b/src/module/config.js @@ -1,11 +1,11 @@ -export const OSE = { +export const ACKS = { scores: { - str: "OSE.scores.str.long", - int: "OSE.scores.int.long", - dex: "OSE.scores.dex.long", - wis: "OSE.scores.wis.long", - con: "OSE.scores.con.long", - cha: "OSE.scores.cha.long", + str: "ACKS.scores.str.long", + int: "ACKS.scores.int.long", + dex: "ACKS.scores.dex.long", + wis: "ACKS.scores.wis.long", + con: "ACKS.scores.con.long", + cha: "ACKS.scores.cha.long", }, roll_type: { result: "=", @@ -13,33 +13,33 @@ export const OSE = { below: "≤" }, saves_short: { - death: "OSE.saves.death.short", - wand: "OSE.saves.wand.short", - paralysis: "OSE.saves.paralysis.short", - breath: "OSE.saves.breath.short", - spell: "OSE.saves.spell.short", + death: "ACKS.saves.death.short", + wand: "ACKS.saves.wand.short", + paralysis: "ACKS.saves.paralysis.short", + breath: "ACKS.saves.breath.short", + spell: "ACKS.saves.spell.short", }, saves_long: { - death: "OSE.saves.death.long", - wand: "OSE.saves.wand.long", - paralysis: "OSE.saves.paralysis.long", - breath: "OSE.saves.breath.long", - spell: "OSE.saves.spell.long", + death: "ACKS.saves.death.long", + wand: "ACKS.saves.wand.long", + paralysis: "ACKS.saves.paralysis.long", + breath: "ACKS.saves.breath.long", + spell: "ACKS.saves.spell.long", }, armor : { - unarmored: "OSE.armor.unarmored", - light: "OSE.armor.light", - heavy: "OSE.armor.heavy", - shield: "OSE.armor.shield", + unarmored: "ACKS.armor.unarmored", + light: "ACKS.armor.light", + heavy: "ACKS.armor.heavy", + shield: "ACKS.armor.shield", }, colors: { - green: "OSE.colors.green", - red: "OSE.colors.red", - yellow: "OSE.colors.yellow", - purple: "OSE.colors.purple", - blue: "OSE.colors.blue", - orange: "OSE.colors.orange", - white: "OSE.colors.white" + green: "ACKS.colors.green", + red: "ACKS.colors.red", + yellow: "ACKS.colors.yellow", + purple: "ACKS.colors.purple", + blue: "ACKS.colors.blue", + orange: "ACKS.colors.orange", + white: "ACKS.colors.white" }, languages: [ "Common", @@ -67,26 +67,26 @@ export const OSE = { "Pixie" ], tags: { - melee: "OSE.items.Melee", - missile: "OSE.items.Missile", - slow: "OSE.items.Slow", - twohanded: "OSE.items.TwoHanded", - blunt: "OSE.items.Blunt", - brace: "OSE.items.Brace", - splash: "OSE.items.Splash", - reload: "OSE.items.Reload", - charge: "OSE.items.Charge", + melee: "ACKS.items.Melee", + missile: "ACKS.items.Missile", + slow: "ACKS.items.Slow", + twohanded: "ACKS.items.TwoHanded", + blunt: "ACKS.items.Blunt", + brace: "ACKS.items.Brace", + splash: "ACKS.items.Splash", + reload: "ACKS.items.Reload", + charge: "ACKS.items.Charge", }, tag_images: { - melee: "/systems/ose/assets/melee.png", - missile: "/systems/ose/assets/missile.png", - slow: "/systems/ose/assets/slow.png", - twohanded: "/systems/ose/assets/twohanded.png", - blunt: "/systems/ose/assets/blunt.png", - brace: "/systems/ose/assets/brace.png", - splash: "/systems/ose/assets/splash.png", - reload: "/systems/ose/assets/reload.png", - charge: "/systems/ose/assets/charge.png", + melee: "/systems/acks/assets/melee.png", + missile: "/systems/acks/assets/missile.png", + slow: "/systems/acks/assets/slow.png", + twohanded: "/systems/acks/assets/twohanded.png", + blunt: "/systems/acks/assets/blunt.png", + brace: "/systems/acks/assets/brace.png", + splash: "/systems/acks/assets/splash.png", + reload: "/systems/acks/assets/reload.png", + charge: "/systems/acks/assets/charge.png", }, monster_saves: { 0: { diff --git a/src/module/dialog/character-creation.js b/src/module/dialog/character-creation.js index 19dcf59..fdededc 100644 --- a/src/module/dialog/character-creation.js +++ b/src/module/dialog/character-creation.js @@ -1,13 +1,13 @@ -import { OseActor } from '../actor/entity.js'; -import { OseDice } from "../dice.js"; +import { AcksActor } from '../actor/entity.js'; +import { AcksDice } from "../dice.js"; -export class OseCharacterCreator extends FormApplication { +export class AcksCharacterCreator extends FormApplication { static get defaultOptions() { const options = super.defaultOptions; - options.classes = ["ose", "dialog", "creator"], + options.classes = ["acks", "dialog", "creator"], options.id = 'character-creator'; options.template = - 'systems/ose/templates/actors/dialogs/character-creation.html'; + 'systems/acks/templates/actors/dialogs/character-creation.html'; options.width = 235; return options; } @@ -19,7 +19,7 @@ export class OseCharacterCreator extends FormApplication { * @type {String} */ get title() { - return `${this.object.name}: ${game.i18n.localize('OSE.dialog.generator')}`; + return `${this.object.name}: ${game.i18n.localize('ACKS.dialog.generator')}`; } /* -------------------------------------------- */ @@ -31,7 +31,7 @@ export class OseCharacterCreator extends FormApplication { getData() { let data = this.object.data; data.user = game.user; - data.config = CONFIG.OSE; + data.config = CONFIG.ACKS; data.counters = { str: 0, wis: 0, @@ -85,7 +85,7 @@ export class OseCharacterCreator extends FormApplication { // Increase counter this.object.data.counters[score]++; - const label = score != "gold" ? game.i18n.localize(`OSE.scores.${score}.long`) : "Gold"; + const label = score != "gold" ? game.i18n.localize(`ACKS.scores.${score}.long`) : "Gold"; const rollParts = ["3d6"]; const data = { roll: { @@ -93,14 +93,14 @@ export class OseCharacterCreator extends FormApplication { } }; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: data, skipDialog: true, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.format('OSE.dialog.generateScore', { score: label, count: this.object.data.counters[score] }), - title: game.i18n.format('OSE.dialog.generateScore', { score: label, count: this.object.data.counters[score] }), + flavor: game.i18n.format('ACKS.dialog.generateScore', { score: label, count: this.object.data.counters[score] }), + title: game.i18n.format('ACKS.dialog.generateScore', { score: label, count: this.object.data.counters[score] }), }); } @@ -116,13 +116,13 @@ export class OseCharacterCreator extends FormApplication { const gold = $(this.form.children).find('.gold-value').val(); const speaker = ChatMessage.getSpeaker({ actor: this }); const templateData = { - config: CONFIG.OSE, + config: CONFIG.ACKS, scores: scores, - title: game.i18n.localize("OSE.dialog.generator"), + title: game.i18n.localize("ACKS.dialog.generator"), stats: this.object.data.stats, gold: gold } - const content = await renderTemplate("/systems/ose/templates/chat/roll-creation.html", templateData) + const content = await renderTemplate("/systems/acks/templates/chat/roll-creation.html", templateData) ChatMessage.create({ content: content, speaker, @@ -159,7 +159,7 @@ export class OseCharacterCreator extends FormApplication { const itemData = { name: "GP", type: "item", - img: "/systems/ose/assets/gold.png", + img: "/systems/acks/assets/gold.png", data: { treasure: true, cost: 1, diff --git a/src/module/dialog/character-modifiers.js b/src/module/dialog/character-modifiers.js index 54e5bf5..6211943 100644 --- a/src/module/dialog/character-modifiers.js +++ b/src/module/dialog/character-modifiers.js @@ -1,13 +1,13 @@ // eslint-disable-next-line no-unused-vars -import { OseActor } from '../actor/entity.js'; +import { AcksActor } from '../actor/entity.js'; -export class OseCharacterModifiers extends FormApplication { +export class AcksCharacterModifiers extends FormApplication { static get defaultOptions() { const options = super.defaultOptions; - options.classes = ["ose", "dialog", "modifiers"], + options.classes = ["acks", "dialog", "modifiers"], options.id = 'sheet-modifiers'; options.template = - 'systems/ose/templates/actors/dialogs/modifiers-dialog.html'; + 'systems/acks/templates/actors/dialogs/modifiers-dialog.html'; options.width = 240; return options; } diff --git a/src/module/dialog/entity-tweaks.js b/src/module/dialog/entity-tweaks.js index ad2f74f..61e4f25 100644 --- a/src/module/dialog/entity-tweaks.js +++ b/src/module/dialog/entity-tweaks.js @@ -1,12 +1,12 @@ // eslint-disable-next-line no-unused-vars -import { OseActor } from '../actor/entity.js'; +import { AcksActor } from '../actor/entity.js'; -export class OseEntityTweaks extends FormApplication { +export class AcksEntityTweaks extends FormApplication { static get defaultOptions() { const options = super.defaultOptions; options.id = 'sheet-tweaks'; options.template = - 'systems/ose/templates/actors/dialogs/tweaks-dialog.html'; + 'systems/acks/templates/actors/dialogs/tweaks-dialog.html'; options.width = 380; return options; } @@ -18,7 +18,7 @@ export class OseEntityTweaks extends FormApplication { * @type {String} */ get title() { - return `${this.object.name}: ${game.i18n.localize('OSE.dialog.tweaks')}`; + return `${this.object.name}: ${game.i18n.localize('ACKS.dialog.tweaks')}`; } /* -------------------------------------------- */ @@ -33,7 +33,7 @@ export class OseEntityTweaks extends FormApplication { data.isCharacter = true; } data.user = game.user; - data.config = CONFIG.OSE; + data.config = CONFIG.ACKS; return data; } diff --git a/src/module/dialog/party-sheet.js b/src/module/dialog/party-sheet.js index 2c8f7d8..5e527fb 100644 --- a/src/module/dialog/party-sheet.js +++ b/src/module/dialog/party-sheet.js @@ -1,9 +1,9 @@ -export class OsePartySheet extends FormApplication { +export class AcksPartySheet extends FormApplication { static get defaultOptions() { return mergeObject(super.defaultOptions, { - classes: ["ose", "dialog", "party-sheet"], - template: "systems/ose/templates/apps/party-sheet.html", + classes: ["acks", "dialog", "party-sheet"], + template: "systems/acks/templates/apps/party-sheet.html", width: 280, height: 400, resizable: true, @@ -17,7 +17,7 @@ export class OsePartySheet extends FormApplication { * @type {String} */ get title() { - return game.i18n.localize("OSE.dialog.partysheet"); + return game.i18n.localize("ACKS.dialog.partysheet"); } /* -------------------------------------------- */ @@ -28,11 +28,11 @@ export class OsePartySheet extends FormApplication { */ getData() { const settings = { - ascending: game.settings.get('ose', 'ascendingAC') + ascending: game.settings.get('acks', 'ascendingAC') }; let data = { data: this.object, - config: CONFIG.OSE, + config: CONFIG.ACKS, user: game.user, settings: settings }; @@ -62,7 +62,7 @@ export class OsePartySheet extends FormApplication { `; let pcs = this.object.entities.filter((e) => { - return e.getFlag('ose', 'party') && e.data.type == "character"; + return e.getFlag('acks', 'party') && e.data.type == "character"; }); new Dialog({ title: "Deal Experience", @@ -70,7 +70,7 @@ export class OsePartySheet extends FormApplication { buttons: { set: { icon: '', - label: game.i18n.localize("OSE.dialog.dealXP"), + label: game.i18n.localize("ACKS.dialog.dealXP"), callback: (html) => { let toDeal = html.find('input[name="total"]').val(); // calculate number of shares @@ -90,7 +90,7 @@ export class OsePartySheet extends FormApplication { } async _selectActors(ev) { - const template = "/systems/ose/templates/apps/party-select.html"; + const template = "/systems/acks/templates/apps/party-select.html"; const templateData = { actors: this.object.entities } @@ -101,12 +101,12 @@ export class OsePartySheet extends FormApplication { buttons: { set: { icon: '', - label: game.i18n.localize("OSE.Update"), + label: game.i18n.localize("ACKS.Update"), callback: (html) => { let checks = html.find("input[data-action='select-actor']"); checks.each(async (_, c) => { let key = c.getAttribute('name'); - await this.object.entities[key].setFlag('ose', 'party', c.checked); + await this.object.entities[key].setFlag('acks', 'party', c.checked); }); }, }, diff --git a/src/module/dice.js b/src/module/dice.js index 28a37a0..7c241e4 100644 --- a/src/module/dice.js +++ b/src/module/dice.js @@ -1,4 +1,4 @@ -export class OseDice { +export class AcksDice { static digestResult(data, roll) { let result = { isSuccess: false, @@ -51,7 +51,7 @@ export class OseDice { speaker = null, form = null, } = {}) { - const template = "systems/ose/templates/chat/roll-result.html"; + const template = "systems/acks/templates/chat/roll-result.html"; let chatData = { user: game.user._id, @@ -88,11 +88,11 @@ export class OseDice { data.roll.blindroll = true; } - templateData.result = OseDice.digestResult(data, roll); + templateData.result = AcksDice.digestResult(data, roll); return new Promise((resolve) => { roll.render().then((r) => { - templateData.rollOSE = r; + templateData.rollACKS = r; renderTemplate(template, templateData).then((content) => { chatData.content = content; // Dice So Nice @@ -132,28 +132,28 @@ export class OseDice { const targetAac = data.roll.target ? data.roll.target.actor.data.data.aac.value : 0; result.victim = data.roll.target ? data.roll.target.actor.name : null; - if (game.settings.get("ose", "ascendingAC")) { + if (game.settings.get("acks", "ascendingAC")) { if (roll.total < targetAac) { - result.details = game.i18n.format("OSE.messages.AttackAscendingFailure", { + result.details = game.i18n.format("ACKS.messages.AttackAscendingFailure", { bonus: result.target, }); return result; } - result.details = game.i18n.format("OSE.messages.AttackAscendingSuccess", { + result.details = game.i18n.format("ACKS.messages.AttackAscendingSuccess", { result: roll.total, }); result.isSuccess = true; } else { // B/X Historic THAC0 Calculation if (result.target - roll.total > targetAc) { - result.details = game.i18n.format("OSE.messages.AttackFailure", { + result.details = game.i18n.format("ACKS.messages.AttackFailure", { bonus: result.target, }); return result; } result.isSuccess = true; let value = Math.clamped(result.target - roll.total, -3, 9); - result.details = game.i18n.format("OSE.messages.AttackSuccess", { + result.details = game.i18n.format("ACKS.messages.AttackSuccess", { result: value, bonus: result.target, }); @@ -169,7 +169,7 @@ export class OseDice { speaker = null, form = null, } = {}) { - const template = "systems/ose/templates/chat/roll-attack.html"; + const template = "systems/acks/templates/chat/roll-attack.html"; let chatData = { user: game.user._id, @@ -180,7 +180,7 @@ export class OseDice { title: title, flavor: flavor, data: data, - config: CONFIG.OSE, + config: CONFIG.ACKS, }; // Optionally include a situational bonus @@ -206,11 +206,11 @@ export class OseDice { data.roll.blindroll = true; } - templateData.result = OseDice.digestAttackResult(data, roll); + templateData.result = AcksDice.digestAttackResult(data, roll); return new Promise((resolve) => { roll.render().then((r) => { - templateData.rollOSE = r; + templateData.rollACKS = r; dmgRoll.render().then((dr) => { templateData.rollDamage = dr; renderTemplate(template, templateData).then((content) => { @@ -265,7 +265,7 @@ export class OseDice { title = null, } = {}) { let rolled = false; - const template = "systems/ose/templates/chat/roll-dialog.html"; + const template = "systems/acks/templates/chat/roll-dialog.html"; let dialogData = { formula: parts.join(" "), data: data, @@ -282,25 +282,25 @@ export class OseDice { }; if (skipDialog) { return ["melee", "missile", "attack"].includes(data.roll.type) - ? OseDice.sendAttackRoll(rollData) - : OseDice.sendRoll(rollData); + ? AcksDice.sendAttackRoll(rollData) + : AcksDice.sendRoll(rollData); } let buttons = { ok: { - label: game.i18n.localize("OSE.Roll"), + label: game.i18n.localize("ACKS.Roll"), icon: '', callback: (html) => { rolled = true; rollData.form = html[0].children[0]; roll = ["melee", "missile", "attack"].includes(data.roll.type) - ? OseDice.sendAttackRoll(rollData) - : OseDice.sendRoll(rollData); + ? AcksDice.sendAttackRoll(rollData) + : AcksDice.sendRoll(rollData); }, }, cancel: { icon: '', - label: game.i18n.localize("OSE.Cancel"), + label: game.i18n.localize("ACKS.Cancel"), callback: (html) => {}, }, }; diff --git a/src/module/helpers.js b/src/module/helpers.js index 5b92cbe..6b8f88d 100644 --- a/src/module/helpers.js +++ b/src/module/helpers.js @@ -39,8 +39,8 @@ export const registerHelpers = async function () { }); Handlebars.registerHelper("getTagIcon", function (tag) { - let idx = Object.keys(CONFIG.OSE.tags).find(k => (CONFIG.OSE.tags[k] == tag)); - return CONFIG.OSE.tag_images[idx]; + let idx = Object.keys(CONFIG.ACKS.tags).find(k => (CONFIG.ACKS.tags[k] == tag)); + return CONFIG.ACKS.tag_images[idx]; }); Handlebars.registerHelper("counter", function (status, value, max) { diff --git a/src/module/item/entity.js b/src/module/item/entity.js index 292b50f..18e14f1 100644 --- a/src/module/item/entity.js +++ b/src/module/item/entity.js @@ -1,9 +1,9 @@ -import { OseDice } from "../dice.js"; +import { AcksDice } from "../dice.js"; /** * Override and extend the basic :class:`Item` implementation */ -export class OseItem extends Item { +export class AcksItem extends Item { /* -------------------------------------------- */ /* Data Preparation */ /* -------------------------------------------- */ @@ -15,19 +15,19 @@ export class OseItem extends Item { let img = CONST.DEFAULT_TOKEN; switch (this.data.type) { case "spell": - img = "/systems/ose/assets/default/spell.png"; + img = "/systems/acks/assets/default/spell.png"; break; case "ability": - img = "/systems/ose/assets/default/ability.png"; + img = "/systems/acks/assets/default/ability.png"; break; case "armor": - img = "/systems/ose/assets/default/armor.png"; + img = "/systems/acks/assets/default/armor.png"; break; case "weapon": - img = "/systems/ose/assets/default/weapon.png"; + img = "/systems/acks/assets/default/weapon.png"; break; case "item": - img = "/systems/ose/assets/default/item.png"; + img = "/systems/acks/assets/default/item.png"; break; } if (!this.data.img) this.data.img = img; @@ -132,14 +132,14 @@ export class OseItem extends Item { }; // Roll and return - return OseDice.Roll({ + return AcksDice.Roll({ event: options.event, parts: rollParts, data: newData, skipDialog: true, speaker: ChatMessage.getSpeaker({ actor: this }), - flavor: game.i18n.format("OSE.roll.formula", { label: label }), - title: game.i18n.format("OSE.roll.formula", { label: label }), + flavor: game.i18n.format("ACKS.roll.formula", { label: label }), + title: game.i18n.format("ACKS.roll.formula", { label: label }), }); } @@ -170,7 +170,7 @@ export class OseItem extends Item { data.tags.forEach((t) => { wTags += formatTag(t.value); }); - wTags += formatTag(CONFIG.OSE.saves_long[data.save], "fa-skull"); + wTags += formatTag(CONFIG.ACKS.saves_long[data.save], "fa-skull"); if (data.missile) { wTags += formatTag( data.range.short + "/" + data.range.medium + "/" + data.range.long, @@ -179,7 +179,7 @@ export class OseItem extends Item { } return wTags; case "armor": - return `${formatTag(CONFIG.OSE.armor[data.type], "fa-tshirt")}`; + return `${formatTag(CONFIG.ACKS.armor[data.type], "fa-tshirt")}`; case "item": return ""; case "spell": @@ -187,13 +187,13 @@ export class OseItem extends Item { data.range )}${formatTag(data.duration)}${formatTag(data.roll)}`; if (data.save) { - sTags += formatTag(CONFIG.OSE.saves_long[data.save], "fa-skull"); + sTags += formatTag(CONFIG.ACKS.saves_long[data.save], "fa-skull"); } return sTags; case "ability": let roll = ""; roll += data.roll ? data.roll : ""; - roll += data.rollTarget ? CONFIG.OSE.roll_type[data.rollType] : ""; + roll += data.rollTarget ? CONFIG.ACKS.roll_type[data.rollType] : ""; roll += data.rollTarget ? data.rollTarget : ""; return `${formatTag(data.requirements)}${formatTag(roll)}`; } @@ -222,13 +222,13 @@ export class OseItem extends Item { } // Auto fill checkboxes switch (val) { - case CONFIG.OSE.tags.melee: + case CONFIG.ACKS.tags.melee: newData.melee = true; break; - case CONFIG.OSE.tags.slow: + case CONFIG.ACKS.tags.slow: newData.slow = true; break; - case CONFIG.OSE.tags.missile: + case CONFIG.ACKS.tags.missile: newData.missile = true; break; } @@ -288,11 +288,11 @@ export class OseItem extends Item { hasDamage: this.hasDamage, isSpell: this.data.type === "spell", hasSave: this.hasSave, - config: CONFIG.OSE, + config: CONFIG.ACKS, }; // Render the chat card template - const template = `systems/ose/templates/chat/item-card.html`; + const template = `systems/acks/templates/chat/item-card.html`; const html = await renderTemplate(template, templateData); // Basic chat message data diff --git a/src/module/item/item-sheet.js b/src/module/item/item-sheet.js index 01f5ce0..f8ddfd6 100644 --- a/src/module/item/item-sheet.js +++ b/src/module/item/item-sheet.js @@ -1,7 +1,7 @@ /** * Extend the basic ItemSheet with some very simple modifications */ -export class OseItemSheet extends ItemSheet { +export class AcksItemSheet extends ItemSheet { constructor(...args) { super(...args); @@ -17,7 +17,7 @@ export class OseItemSheet extends ItemSheet { */ static get defaultOptions() { return mergeObject(super.defaultOptions, { - classes: ["ose", "sheet", "item"], + classes: ["acks", "sheet", "item"], width: 520, height: 390, resizable: false, @@ -35,7 +35,7 @@ export class OseItemSheet extends ItemSheet { /** @override */ get template() { - const path = "systems/ose/templates/items/"; + const path = "systems/acks/templates/items/"; return `${path}/${this.item.data.type}-sheet.html`; } @@ -45,7 +45,7 @@ export class OseItemSheet extends ItemSheet { */ getData() { const data = super.getData(); - data.config = CONFIG.OSE; + data.config = CONFIG.ACKS; return data; } diff --git a/src/module/macros.js b/src/module/macros.js index 5a80047..259d946 100644 --- a/src/module/macros.js +++ b/src/module/macros.js @@ -10,13 +10,13 @@ * @param {number} slot The hotbar slot to use * @returns {Promise} */ -export async function createOseMacro(data, slot) { +export async function createAcksMacro(data, slot) { if ( data.type !== "Item" ) return; if (!( "data" in data ) ) return ui.notifications.warn("You can only create macro buttons for owned Items"); const item = data.data; // Create the macro command - const command = `game.ose.rollItemMacro("${item.name}");`; + const command = `game.acks.rollItemMacro("${item.name}");`; let macro = game.macros.entities.find(m => (m.name === item.name) && (m.command === command)); if ( !macro ) { macro = await Macro.create({ @@ -24,7 +24,7 @@ export async function createOseMacro(data, slot) { type: "script", img: item.img, command: command, - flags: {"ose.itemMacro": true} + flags: {"acks.itemMacro": true} }); } game.user.assignHotbarMacro(macro, slot); diff --git a/src/module/party.js b/src/module/party.js index cb81955..94ea77a 100644 --- a/src/module/party.js +++ b/src/module/party.js @@ -1,25 +1,25 @@ -import { OsePartySheet } from "./dialog/party-sheet.js"; +import { AcksPartySheet } from "./dialog/party-sheet.js"; export const addControl = (object, html) => { - let control = ``; + let control = ``; html.find(".fas.fa-search").replaceWith($(control)) - html.find('.ose-party-sheet').click(ev => { + html.find('.acks-party-sheet').click(ev => { showPartySheet(object); }) } export const showPartySheet = (object) => { event.preventDefault(); - new OsePartySheet(object, { + new AcksPartySheet(object, { top: window.screen.height / 2 - 180, left:window.screen.width / 2 - 140, }).render(true); } export const update = (actor, data) => { - if (actor.getFlag('ose', 'party')) { + if (actor.getFlag('acks', 'party')) { Object.values(ui.windows).forEach(w => { - if (w instanceof OsePartySheet) { + if (w instanceof AcksPartySheet) { w.render(true); } }) diff --git a/src/module/preloadTemplates.js b/src/module/preloadTemplates.js index a23464e..10259a9 100644 --- a/src/module/preloadTemplates.js +++ b/src/module/preloadTemplates.js @@ -1,19 +1,19 @@ export const preloadHandlebarsTemplates = async function () { const templatePaths = [ //Character Sheets - 'systems/ose/templates/actors/character-html.html', - 'systems/ose/templates/actors/monster-html.html', + 'systems/acks/templates/actors/character-html.html', + 'systems/acks/templates/actors/monster-html.html', //Actor partials //Sheet tabs - 'systems/ose/templates/actors/partials/character-header.html', - 'systems/ose/templates/actors/partials/character-attributes-tab.html', - 'systems/ose/templates/actors/partials/character-abilities-tab.html', - 'systems/ose/templates/actors/partials/character-spells-tab.html', - 'systems/ose/templates/actors/partials/character-inventory-tab.html', - 'systems/ose/templates/actors/partials/character-notes-tab.html', + 'systems/acks/templates/actors/partials/character-header.html', + 'systems/acks/templates/actors/partials/character-attributes-tab.html', + 'systems/acks/templates/actors/partials/character-abilities-tab.html', + 'systems/acks/templates/actors/partials/character-spells-tab.html', + 'systems/acks/templates/actors/partials/character-inventory-tab.html', + 'systems/acks/templates/actors/partials/character-notes-tab.html', - 'systems/ose/templates/actors/partials/monster-header.html', - 'systems/ose/templates/actors/partials/monster-attributes-tab.html' + 'systems/acks/templates/actors/partials/monster-header.html', + 'systems/acks/templates/actors/partials/monster-attributes-tab.html' ]; return loadTemplates(templatePaths); }; diff --git a/src/module/settings.js b/src/module/settings.js index dc902c8..489cdf0 100644 --- a/src/module/settings.js +++ b/src/module/settings.js @@ -1,24 +1,24 @@ export const registerSettings = function () { game.settings.register("acks", "initiative", { - name: game.i18n.localize("OSE.Setting.Initiative"), - hint: game.i18n.localize("OSE.Setting.InitiativeHint"), + name: game.i18n.localize("ACKS.Setting.Initiative"), + hint: game.i18n.localize("ACKS.Setting.InitiativeHint"), default: "group", scope: "world", type: String, config: true, choices: { - disabled: "OSE.Setting.InitiativeOnce", - rerolled: "OSE.Setting.InitiativeReroll", - reset: "OSE.Setting.InitiativeReset", - group: "OSE.Setting.InitiativeGroup", + disabled: "ACKS.Setting.InitiativeOnce", + rerolled: "ACKS.Setting.InitiativeReroll", + reset: "ACKS.Setting.InitiativeReset", + group: "ACKS.Setting.InitiativeGroup", }, onChange: _ => window.location.reload() }); game.settings.register("acks", "ascendingAC", { - name: game.i18n.localize("OSE.Setting.AscendingAC"), - hint: game.i18n.localize("OSE.Setting.AscendingACHint"), + name: game.i18n.localize("ACKS.Setting.AscendingAC"), + hint: game.i18n.localize("ACKS.Setting.AscendingACHint"), default: false, scope: "world", type: Boolean, @@ -27,8 +27,8 @@ export const registerSettings = function () { }); game.settings.register("acks", "morale", { - name: game.i18n.localize("OSE.Setting.Morale"), - hint: game.i18n.localize("OSE.Setting.MoraleHint"), + name: game.i18n.localize("ACKS.Setting.Morale"), + hint: game.i18n.localize("ACKS.Setting.MoraleHint"), default: false, scope: "world", type: Boolean, @@ -36,24 +36,24 @@ export const registerSettings = function () { }); game.settings.register("acks", "encumbranceOption", { - name: game.i18n.localize("OSE.Setting.Encumbrance"), - hint: game.i18n.localize("OSE.Setting.EncumbranceHint"), + name: game.i18n.localize("ACKS.Setting.Encumbrance"), + hint: game.i18n.localize("ACKS.Setting.EncumbranceHint"), default: "detailed", scope: "world", type: String, config: true, choices: { - disabled: "OSE.Setting.EncumbranceDisabled", - basic: "OSE.Setting.EncumbranceBasic", - detailed: "OSE.Setting.EncumbranceDetailed", - complete: "OSE.Setting.EncumbranceComplete", + disabled: "ACKS.Setting.EncumbranceDisabled", + basic: "ACKS.Setting.EncumbranceBasic", + detailed: "ACKS.Setting.EncumbranceDetailed", + complete: "ACKS.Setting.EncumbranceComplete", }, onChange: _ => window.location.reload() }); game.settings.register("acks", "significantTreasure", { - name: game.i18n.localize("OSE.Setting.SignificantTreasure"), - hint: game.i18n.localize("OSE.Setting.SignificantTreasureHint"), + name: game.i18n.localize("ACKS.Setting.SignificantTreasure"), + hint: game.i18n.localize("ACKS.Setting.SignificantTreasureHint"), default: 800, scope: "world", type: Number, diff --git a/src/module/treasure.js b/src/module/treasure.js index d45297f..b288181 100644 --- a/src/module/treasure.js +++ b/src/module/treasure.js @@ -1,15 +1,15 @@ export const augmentTable = (table, html, data) => { // Treasure Toggle let head = html.find(".sheet-header"); - const flag = table.object.getFlag("ose", "treasure"); + const flag = table.object.getFlag("acks", "treasure"); const treasure = flag ? "
" : "
"; head.append(treasure); html.find(".toggle-treasure").click((ev) => { - let isTreasure = table.object.getFlag("ose", "treasure"); - table.object.setFlag("ose", "treasure", !isTreasure); + let isTreasure = table.object.getFlag("acks", "treasure"); + table.object.setFlag("acks", "treasure", !isTreasure); }); // Treasure table formatting @@ -21,7 +21,7 @@ export const augmentTable = (table, html, data) => { html.find(".result-weight").first().text("Chance"); // Replace Roll button - const roll = ``; + const roll = ``; html.find(".sheet-footer .roll").replaceWith(roll); } @@ -76,13 +76,13 @@ async function rollTreasure(table, options = {}) { } let html = await renderTemplate( - "systems/ose/templates/chat/roll-treasure.html", + "systems/acks/templates/chat/roll-treasure.html", templateData ); let chatData = { content: html, - sound: "/systems/ose/assets/coins.mp3" + sound: "/systems/acks/assets/coins.mp3" } let rollMode = game.settings.get("core", "rollMode"); diff --git a/src/scss/actor-base.scss b/src/scss/actor-base.scss index 94c70d3..81da001 100644 --- a/src/scss/actor-base.scss +++ b/src/scss/actor-base.scss @@ -9,7 +9,7 @@ } } -.ose.sheet.actor { +.acks.sheet.actor { $detailsHeight: 44px; .blinking { font-weight: bold; diff --git a/src/scss/apps.scss b/src/scss/apps.scss index 330aa1e..d0138cb 100644 --- a/src/scss/apps.scss +++ b/src/scss/apps.scss @@ -1,11 +1,11 @@ -.ose.roll-dialog { +.acks.roll-dialog { .roll-details { font-weight: bold; text-align: center; } } -.ose.dialog.creator { +.acks.dialog.creator { .attribute-list { .form-fields { flex: 0 0 50px; @@ -32,7 +32,7 @@ } } -.ose.dialog.party-sheet { +.acks.dialog.party-sheet { min-width: 250px; min-height: 250px; .window-content { @@ -120,7 +120,7 @@ } #sidebar #actors .directory-header .header-search { - .ose-party-sheet { + .acks-party-sheet { width: 32px; text-align: center; line-height: 20px; @@ -130,7 +130,7 @@ } } -.ose.dialog.modifiers { +.acks.dialog.modifiers { .attribute-bonuses { label { font-weight: bold; @@ -150,7 +150,7 @@ color: white; margin: 0 2px 5px 8px; border-radius: 8px; - background: url("/systems/ose/assets/treasure.png") no-repeat center; + background: url("/systems/acks/assets/treasure.png") no-repeat center; background-size: cover; padding: 5px 8px; cursor: pointer; @@ -176,7 +176,7 @@ } } -#settings .ose.game-license { +#settings .acks.game-license { font-size: 12px; .button { text-align: center; @@ -187,7 +187,7 @@ } } -.ose.chat-block { +.acks.chat-block { margin: 0; .chat-header { height: 46px; @@ -263,7 +263,7 @@ } } -.ose.chat-card { +.acks.chat-card { font-style: normal; font-size: 12px; diff --git a/src/scss/character.scss b/src/scss/character.scss index 5561fa3..5b7c7a5 100644 --- a/src/scss/character.scss +++ b/src/scss/character.scss @@ -3,7 +3,7 @@ /* ----------------------------------------- */ /* Basic Structure */ /* ----------------------------------------- */ -.ose.sheet.actor.character { +.acks.sheet.actor.character { min-width: 450px; min-height: 550px; @@ -98,7 +98,7 @@ } .health { &.armor-class { - background: url('/systems/ose/assets/shield.png') no-repeat center; + background: url('/systems/acks/assets/shield.png') no-repeat center; background-size: 70px; .shield { text-align: right; @@ -130,12 +130,12 @@ right: calc(50% + -20px); } .health-empty { - background: url('/systems/ose/assets/heart_empty.png') no-repeat center; + background: url('/systems/acks/assets/heart_empty.png') no-repeat center; background-size: 70px; background-position: top; } .health-full { - background: url('/systems/ose/assets/heart_full.png') no-repeat center; + background: url('/systems/acks/assets/heart_full.png') no-repeat center; background-size: 70px; background-position: bottom; } diff --git a/src/scss/core.scss b/src/scss/core.scss index ad868f7..ff806f9 100644 --- a/src/scss/core.scss +++ b/src/scss/core.scss @@ -1,4 +1,4 @@ -.ose .window-content { +.acks.window-content { // Utils .collapsed { display: none; diff --git a/src/scss/item.scss b/src/scss/item.scss index 8f0b264..91fa1d8 100644 --- a/src/scss/item.scss +++ b/src/scss/item.scss @@ -1,4 +1,4 @@ -.ose.sheet.item { +.acks.sheet.item { .sheet-header { h1 { input { diff --git a/src/scss/monster.scss b/src/scss/monster.scss index 1ff1437..3c70ec7 100644 --- a/src/scss/monster.scss +++ b/src/scss/monster.scss @@ -1,4 +1,4 @@ -.ose.actor.monster { +.acks.actor.monster { min-height: 565px; min-width: 460px; .header-details { diff --git a/src/scss/variables.scss b/src/scss/variables.scss index 14055cd..f6ed20c 100644 --- a/src/scss/variables.scss +++ b/src/scss/variables.scss @@ -3,7 +3,7 @@ /* Sheet Styles */ /* ----------------------------------------- */ -$darkBackground: url('/systems/ose/assets/back.png'); +$darkBackground: url('/systems/acks/assets/back.png'); $colorDark: rgba(0, 0, 0, 0.9); $colorFaint: #d8d6c9; $colorInactive: #969696; diff --git a/src/templates/actors/character-sheet.html b/src/templates/actors/character-sheet.html index e9c0cd6..e28ebd6 100644 --- a/src/templates/actors/character-sheet.html +++ b/src/templates/actors/character-sheet.html @@ -1,48 +1,48 @@
{{! Sheet Header }}
- {{> "systems/ose/templates/actors/partials/character-header.html"}} + {{> "systems/acks/templates/actors/partials/character-header.html"}}
{{! Sheet Tab Navigation }} {{! Sheet Body }}
{{! Attributes Tab }}
- {{> "systems/ose/templates/actors/partials/character-attributes-tab.html"}} + {{> "systems/acks/templates/actors/partials/character-attributes-tab.html"}}
- {{> "systems/ose/templates/actors/partials/character-abilities-tab.html"}} + {{> "systems/acks/templates/actors/partials/character-abilities-tab.html"}}
{{#if data.spells.enabled}}
- {{> "systems/ose/templates/actors/partials/character-spells-tab.html"}} + {{> "systems/acks/templates/actors/partials/character-spells-tab.html"}}
{{/if}}
- {{> "systems/ose/templates/actors/partials/character-inventory-tab.html"}} + {{> "systems/acks/templates/actors/partials/character-inventory-tab.html"}}
- {{> "systems/ose/templates/actors/partials/character-notes-tab.html"}} + {{> "systems/acks/templates/actors/partials/character-notes-tab.html"}}
\ No newline at end of file diff --git a/src/templates/actors/dialogs/lang-create.html b/src/templates/actors/dialogs/lang-create.html index 9e658fc..b1a6148 100644 --- a/src/templates/actors/dialogs/lang-create.html +++ b/src/templates/actors/dialogs/lang-create.html @@ -1,6 +1,6 @@ -
+
- +
{{#select choices}} diff --git a/src/templates/actors/dialogs/tweaks-dialog.html b/src/templates/actors/dialogs/tweaks-dialog.html index 6a7dc4e..051ba25 100644 --- a/src/templates/actors/dialogs/tweaks-dialog.html +++ b/src/templates/actors/dialogs/tweaks-dialog.html @@ -1,20 +1,20 @@
- +
- +
- +
@@ -22,38 +22,38 @@
{{#if (eq this.type 'character')}}
- +
- +
- +
- +
- +
- +
{{#if config.ascending}}
- +
- +
diff --git a/src/templates/actors/monster-sheet.html b/src/templates/actors/monster-sheet.html index 8bcf4e9..42db424 100644 --- a/src/templates/actors/monster-sheet.html +++ b/src/templates/actors/monster-sheet.html @@ -1,37 +1,37 @@ {{! Sheet Header }}
- {{> "systems/ose/templates/actors/partials/monster-header.html"}} + {{> "systems/acks/templates/actors/partials/monster-header.html"}}
{{! Sheet Tab Navigation }} {{! Sheet Body }}
{{! Attributes Tab }}
- {{> "systems/ose/templates/actors/partials/monster-attributes-tab.html"}} + {{> "systems/acks/templates/actors/partials/monster-attributes-tab.html"}}
{{#if data.spells.enabled}}
- {{> "systems/ose/templates/actors/partials/character-spells-tab.html"}} + {{> "systems/acks/templates/actors/partials/character-spells-tab.html"}}
{{/if}}
-
{{localize "OSE.category.notes"}}
+
{{localize "ACKS.category.notes"}}
{{editor content=data.details.biography target="data.details.biography" button=true owner=owner editable=editable}} diff --git a/src/templates/actors/partials/character-abilities-tab.html b/src/templates/actors/partials/character-abilities-tab.html index 50e2773..cb4f30f 100644 --- a/src/templates/actors/partials/character-abilities-tab.html +++ b/src/templates/actors/partials/character-abilities-tab.html @@ -1,26 +1,26 @@
-
{{localize 'OSE.category.abilities'}}
+
{{localize 'ACKS.category.abilities'}}
{{#if owner}} - {{/if}}
@@ -51,9 +51,9 @@
{{#if ../owner}} - - - + + + {{/if}}
diff --git a/src/templates/actors/partials/character-attributes-tab.html b/src/templates/actors/partials/character-attributes-tab.html index ec7ad37..c0f7996 100644 --- a/src/templates/actors/partials/character-attributes-tab.html +++ b/src/templates/actors/partials/character-attributes-tab.html @@ -3,55 +3,55 @@
{{#unless isNew}} - + {{else}} - + {{/unless}}
{{#if ../owner}} - - + + {{/if}}
diff --git a/src/templates/actors/partials/character-notes-tab.html b/src/templates/actors/partials/character-notes-tab.html index 3d99fe2..ff138c4 100644 --- a/src/templates/actors/partials/character-notes-tab.html +++ b/src/templates/actors/partials/character-notes-tab.html @@ -4,10 +4,10 @@
- {{localize "OSE.category.languages"}} + {{localize "ACKS.category.languages"}}
-
@@ -18,7 +18,7 @@ {{lang}}
-
@@ -26,7 +26,7 @@
-
{{localize "OSE.category.description"}}
+
{{localize "ACKS.category.description"}}
{{editor content=data.details.description target="data.details.description" button=true owner=owner editable=editable}} @@ -35,7 +35,7 @@
-
{{localize "OSE.category.notes"}}
+
{{localize "ACKS.category.notes"}}
{{editor content=data.details.notes target="data.details.notes" button=true owner=owner editable=editable}} diff --git a/src/templates/actors/partials/character-spells-tab.html b/src/templates/actors/partials/character-spells-tab.html index 79f1c41..e9339b1 100644 --- a/src/templates/actors/partials/character-spells-tab.html +++ b/src/templates/actors/partials/character-spells-tab.html @@ -1,9 +1,9 @@
-
{{localize "OSE.category.spells"}}
+
{{localize "ACKS.category.spells"}}
- - +
@@ -11,14 +11,14 @@
  • -
    {{localize "OSE.spells.Level"}} {{id}}
    -
    {{localize 'OSE.spells.Slots'}}
    +
    {{localize "ACKS.spells.Level"}} {{id}}
    +
    {{localize 'ACKS.spells.Slots'}}
    /
    -
  • @@ -36,15 +36,15 @@
    + title="{{localize 'ACKS.spells.Cast'}}"> /
    + title="{{localize 'ACKS.spells.Memorized'}}">
    {{#if ../../owner}} - - - + + + {{/if}}
    diff --git a/src/templates/actors/partials/monster-attributes-tab.html b/src/templates/actors/partials/monster-attributes-tab.html index 30b0a68..0f26be0 100644 --- a/src/templates/actors/partials/monster-attributes-tab.html +++ b/src/templates/actors/partials/monster-attributes-tab.html @@ -2,7 +2,7 @@
    • -

      {{ localize "OSE.HealthShort" }} +

      {{ localize "ACKS.HealthShort" }}

    • -

      - {{ localize "OSE.HitDiceShort" }} +

      + {{ localize "ACKS.HitDiceShort" }}

      @@ -21,15 +21,15 @@
    • {{#if config.ascendingAC}} -

      - {{ localize "OSE.AscArmorClassShort" }}

      +

      + {{ localize "ACKS.AscArmorClassShort" }}

      {{else}} -

      - {{ localize "OSE.ArmorClassShort" }}

      +

      + {{ localize "ACKS.ArmorClassShort" }}

      @@ -38,14 +38,14 @@
    • {{#if config.ascendingAC}} -

      {{ localize "OSE.ABShort" }} +

      {{ localize "ACKS.ABShort" }}

      {{else}} -

      {{ localize "OSE.Thac0" }} +

      {{ localize "ACKS.Thac0" }}

      {{#if data.retainer.enabled}}
    • -

      - {{ localize "OSE.LoyaltyShort" }} +

      + {{ localize "ACKS.LoyaltyShort" }}

      {{/if}}
    • -

      - {{ localize "OSE.movement.short" }} +

      + {{ localize "ACKS.movement.short" }}

    • -
      {{localize 'OSE.category.abilities'}} & {{localize 'OSE.category.equipment'}}
      +
      {{localize 'ACKS.category.abilities'}} & {{localize 'ACKS.category.equipment'}}
      {{#if owner}} - - {{/if}}
      @@ -94,7 +94,7 @@ {{#each abilities as |item|}}
    • -
      +

      @@ -103,11 +103,11 @@

      {{#if ../owner}} - - - {{/if}}
      @@ -119,7 +119,7 @@
    • {{#if (eq item.type 'weapon')}} -
      +
      {{/if}}
      @@ -130,17 +130,17 @@ {{#if (eq item.type 'weapon')}}
      + placeholder="0" data-field="value" title="{{localize 'ACKS.items.roundAttacks'}}"> /
      + title="{{localize 'ACKS.items.roundAttacksMax'}}">
      {{/if}}
      {{#if ../../owner}} - - {{/if}}
      @@ -156,43 +156,43 @@
      • {{#unless isNew}} - + {{else}} - + {{/unless}}
      • - {{ localize "OSE.saves.death.long" }}

        + {{ localize "ACKS.saves.death.long" }}
      • - {{ localize "OSE.saves.wand.long" }}

        + {{ localize "ACKS.saves.wand.long" }}
      • - {{ localize "OSE.saves.paralysis.long" }}

        + {{ localize "ACKS.saves.paralysis.long" }}
      • - {{ localize "OSE.saves.breath.long" }}

        + {{ localize "ACKS.saves.breath.long" }}
      • - {{ localize "OSE.saves.spell.long" }}

        + {{ localize "ACKS.saves.spell.long" }}
        diff --git a/src/templates/actors/partials/monster-header.html b/src/templates/actors/partials/monster-header.html index 3945878..b09b3f0 100644 --- a/src/templates/actors/partials/monster-header.html +++ b/src/templates/actors/partials/monster-header.html @@ -1,45 +1,45 @@

        - +

        • - +
          -
          +
        • - +
          -
          +
        • (
          ) -
          +
        • {{#if config.morale}}
        • - +
          -
          +
        • {{/if}}
        • - +
        • -
        • +
        • {{{data.details.treasure.link}}}
          - +
        \ No newline at end of file diff --git a/src/templates/apps/party-select.html b/src/templates/apps/party-select.html index 8aa86b5..e3d90e1 100644 --- a/src/templates/apps/party-select.html +++ b/src/templates/apps/party-select.html @@ -4,7 +4,7 @@
      • - +
      • {{/each}} diff --git a/src/templates/apps/party-sheet.html b/src/templates/apps/party-sheet.html index 91a54aa..34e80ed 100644 --- a/src/templates/apps/party-sheet.html +++ b/src/templates/apps/party-sheet.html @@ -6,16 +6,16 @@ {{#if user.isGM}}
        - +
        - +
        {{/if}}
        - {{#each data.entities as |e|}} {{#if e.data.flags.ose.party}} + {{#each data.entities as |e|}} {{#if e.data.flags.acks.party}}
      1. @@ -28,11 +28,11 @@
        {{e.name}}
        -
        +
        {{e.data.data.hp.value}}/{{e.data.data.hp.max}}
        -
        +
        {{#if @root.settings.ascending}}{{e.data.data.aac.value}} {{e.data.data.aac.naked}} @@ -41,7 +41,7 @@
        -
        +
        {{#unless settings.ascendingAC}} {{e.data.data.thac0.value}} @@ -50,23 +50,23 @@ {{/unless}}
        {{#if (eq e.data.type 'character')}} -
        +
        {{add e.data.data.scores.str.mod e.data.data.thac0.mod.melee}}
        -
        +
        {{add e.data.data.scores.dex.mod e.data.data.thac0.mod.missile}}
        {{/if}}
        - - {{e.data.data.movement.encounter}} {{e.data.data.movement.base}} + + {{e.data.data.movement.encounter}} {{e.data.data.movement.base}}
        {{#if (eq e.data.type 'character')}}
        - + {{roundWeight e.data.data.encumbrance.value}}k
        {{/if}} @@ -77,7 +77,7 @@ {{lookup @root.config.saves_short i}} {{s.value}} {{/each}} {{#if (eq e.data.type 'character')}}{{mod e.data.data.scores.wis.mod}}{{/if}} + title="{{localize 'ACKS.saves.magic.long'}}">{{mod e.data.data.scores.wis.mod}}{{/if}}
        diff --git a/src/templates/chat/item-card.html b/src/templates/chat/item-card.html index c9a9b20..1191cdf 100644 --- a/src/templates/chat/item-card.html +++ b/src/templates/chat/item-card.html @@ -1,4 +1,4 @@ -
        @@ -10,26 +10,26 @@
        - {{#if hasAttack}}{{/if}} + {{#if hasAttack}}{{/if}} {{#if hasDamage}} {{/if}} {{#if data.save}} {{/if}} {{#if data.roll}} - + {{/if}}
        diff --git a/src/templates/chat/roll-attack.html b/src/templates/chat/roll-attack.html index ae09e97..4ecdf7b 100644 --- a/src/templates/chat/roll-attack.html +++ b/src/templates/chat/roll-attack.html @@ -1,6 +1,6 @@ -
        -
        +

        {{title}}

        @@ -20,16 +20,16 @@
        {{{result.details}}}
        - {{#if rollOSE}}
        {{{rollOSE}}}
        {{/if}} + {{#if rollACKS}}
        {{{rollACKS}}}
        {{/if}} {{#if result.isSuccess}}
        -
        {{localize 'OSE.messages.InflictsDamage'}}
        +
        {{localize 'ACKS.messages.InflictsDamage'}}
        {{{rollDamage}}}
        {{#if data.roll.save}}
        {{/if}} diff --git a/src/templates/chat/roll-creation.html b/src/templates/chat/roll-creation.html index a8bdadf..ff2567d 100644 --- a/src/templates/chat/roll-creation.html +++ b/src/templates/chat/roll-creation.html @@ -1,5 +1,5 @@ -
        -
        +
        +

        {{title}}

        diff --git a/src/templates/chat/roll-dialog.html b/src/templates/chat/roll-dialog.html index 8ea6eb2..d12edd8 100644 --- a/src/templates/chat/roll-dialog.html +++ b/src/templates/chat/roll-dialog.html @@ -1,19 +1,19 @@ - + {{#if data.rollData.details}}
        {{data.rollData.details}}
        {{/if}}
        - +
        - - + +
        - +
        - +
        - +
        - +
        - +
        - +
        - +
        - +
        diff --git a/src/templates/items/item-sheet.html b/src/templates/items/item-sheet.html index a49af3f..19f2fda 100644 --- a/src/templates/items/item-sheet.html +++ b/src/templates/items/item-sheet.html @@ -11,25 +11,25 @@
        - +
        /
        - +
        - +
        - +
        diff --git a/src/templates/items/spell-sheet.html b/src/templates/items/spell-sheet.html index efe3e95..2343952 100644 --- a/src/templates/items/spell-sheet.html +++ b/src/templates/items/spell-sheet.html @@ -11,31 +11,31 @@
        - +
        - +
        - +
        - +
        - +
        diff --git a/src/templates/items/weapon-sheet.html b/src/templates/items/weapon-sheet.html index ba1d40a..8e61fc7 100644 --- a/src/templates/items/weapon-sheet.html +++ b/src/templates/items/weapon-sheet.html @@ -18,7 +18,7 @@
        -
        -
        - +
        - +
        - -
        {{#if data.missile}}
        - +
        {{/if}}
        - +