- Closes #80
- Fixed Rolls: roll position is shown correctly now
This commit is contained in:
Megastruktur 2020-09-21 14:53:13 +03:00
parent 1930c48659
commit 66cd3221cd
7 changed files with 11 additions and 8 deletions

View file

@ -1,3 +1,6 @@
v2.4
- Fixed Rolls: roll position is shown correctly now
v2.3
- Added shortened attribute names to use in templates
- Handlebars "concat" helper added

View file

@ -128,7 +128,7 @@
"BITD.RollPartialSuccessPosition": "You do it, but theres a consequence: you suffer <strong>severe harm</strong>, a <strong>serious complication</strong> occurs, you have <strong>reduced effect</strong>.",
"BITD.RollFailurePositionControlled": "You falter. Press on by seizing a <strong>risky</strong> opportunity, or withdraw and try a different approach.",
"BITD.RollFailurePositionRisky": "Things go badly. You suffer <strong>harm</strong> a <strong>complication</strong> occurs, you end up in a <strong>desperate</strong> position, you <strong>lose this opportunity</strong>.",
"BITD.RollFailurePosition": "Its the worst outcome. You suffer <strong>severe harm</strong>, a <strong>serious complication occurs</strong>, you <strong>lose this opportunity for action</strong>.",
"BITD.RollFailurePositionDesperate": "Its the worst outcome. You suffer <strong>severe harm</strong>, a <strong>serious complication occurs</strong>, you <strong>lose this opportunity for action</strong>.",
"BITD.PositionControlled": "Controlled",
"BITD.PositionRisky": "Risky",

View file

@ -128,7 +128,7 @@
"BITD.RollPartialSuccessPosition": "Lo logras, pero con una consecuencia: sufres un <strong>daño grave</strong>, se produce una <strong>complicación seria</strong>, sufres un <strong> efecto reducido</strong>.",
"BITD.RollFailurePositionControlled": "Vacilas. Sigue intentándolo aprovechando una oportunidad <strong>arriesgada</strong> abandona para intentarlo con otro enfoque.",
"BITD.RollFailurePositionRisky": "Todo va mal. Sufres <strong>daño</strong>, se produce una <strong>complication</strong>, terminas en una situación <strong>desesperada</strong>, <strong>pierdes esta oportunidad</strong>.",
"BITD.RollFailurePosition": "Nada puede ir peor. Sufres un <strong>daño grave</strong>, se produce una <strong>complicación seria</strong>, <strong>pierdes la oportunidad</strong> de realizar esta acción.",
"BITD.RollFailurePositionDesperate": "Nada puede ir peor. Sufres un <strong>daño grave</strong>, se produce una <strong>complicación seria</strong>, <strong>pierdes la oportunidad</strong> de realizar esta acción.",
"BITD.PositionControlled": "Controlada",
"BITD.PositionRisky": "Arriesgada",

View file

@ -123,7 +123,7 @@
"BITD.RollPartialSuccessPosition": "Всё получилось, но с последствиями: персонаж получает <strong>тяжёлые повреждения</strong>; происходит <strong>серьёзное осложнение</strong>; <strong>эффективность действия снижается</strong>.",
"BITD.RollFailurePositionControlled": "Не получилось. Или отступи и попробуй иной подход, или повтори попытку, но уже в <strong>рискованной</strong> ситуации.",
"BITD.RollFailurePositionRisky": "Дела идут плохо. Персонаж получает <strong>повреждения</strong>, происходит <strong>осложнение</strong>, ситуация становится <strong>отчаянной</strong>, <strong>возможность оказывается упущенной</strong>.",
"BITD.RollFailurePosition": "Случилось худшее. Персонаж получает <strong>тяжёлые повреждения</strong>, происходит <strong>серьёзное осложнение</strong>, <strong>возможность оказывается упущенной</strong>.",
"BITD.RollFailurePositionDesperate": "Случилось худшее. Персонаж получает <strong>тяжёлые повреждения</strong>, происходит <strong>серьёзное осложнение</strong>, <strong>возможность оказывается упущенной</strong>.",
"BITD.PositionControlled": "Контролируемая",
"BITD.PositionRisky": "Рискованная",
"BITD.PositionDesperate": "Отчаянная",

View file

@ -87,7 +87,7 @@ async function showChatRollMessage(r, zeromode, attribute_name = "", position =
effect_localize = 'BITD.EffectStandard'
}
let result = await renderTemplate("systems/blades-in-the-dark/templates/blades-roll.html", {rolls: rolls, roll_status: roll_status, attribute_label: attribute_label, position: position_localize, effect: effect_localize});
let result = await renderTemplate("systems/blades-in-the-dark/templates/blades-roll.html", {rolls: rolls, roll_status: roll_status, attribute_label: attribute_label, position: position, effect: effect_localize});
let messageData = {
speaker: speaker,

View file

@ -2,7 +2,7 @@
"name": "blades-in-the-dark",
"title": "Blades in the Dark",
"description": "Blades in the dark game system.",
"version": "2.3",
"version": "2.4",
"minimumCoreVersion": "0.6.6",
"compatibleCoreVersion": "0.7.2",
"templateVersion": 1,
@ -31,8 +31,8 @@
}
],
"url": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/",
"manifest": "https://raw.githubusercontent.com/megastruktur/foundryvtt-blades-in-the-dark/2.3/system.json",
"download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/archive/2.3.zip",
"manifest": "https://raw.githubusercontent.com/megastruktur/foundryvtt-blades-in-the-dark/2.4/system.json",
"download": "https://github.com/megastruktur/foundryvtt-blades-in-the-dark/archive/2.4.zip",
"packs": [
{
"name": "class",

View file

@ -42,7 +42,7 @@
{{else if (eq position "risky")}}
{{{localize "BITD.RollFailurePositionRisky"}}}
{{else}}
{{{localize "BITD.RollFailurePosition"}}}
{{{localize "BITD.RollFailurePositionDesperate"}}}
{{/if}}
</p>
</div>