Compare commits

...

12 Commits

Author SHA1 Message Date
5dca748bf3 v11 ready 2023-08-16 20:52:48 +02:00
98f9e1e2a6 v11 ready 2023-08-16 20:49:26 +02:00
1a90be13be v11 ready 2023-08-16 20:45:23 +02:00
e2f97762b9 Add workflow 2023-08-14 17:39:39 +02:00
de11053a9a Add workflow 2023-08-14 17:02:40 +02:00
3f7ce9918e Add workflow 2023-08-14 16:59:00 +02:00
919147b4af Add workflow 2023-08-14 16:58:18 +02:00
22953744ba Add workflow 2023-08-14 16:55:43 +02:00
6aee41b817 Final import 2023-08-14 16:47:12 +02:00
e7268a1578 Fix NPC sheet 2023-08-09 20:44:25 +02:00
0d25bbe764 Ajout annence et NPC 2023-08-09 17:33:11 +02:00
554a1af531 Annence/Boheme 2023-08-08 18:05:10 +02:00
33 changed files with 211 additions and 74 deletions

54
.gitea/workflows/main.yml Normal file
View File

@ -0,0 +1,54 @@
name: Release Creation
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "💡 The ${{ gitea.repository }} repository will cloned to the runner."
#- uses: actions/checkout@v3
- uses: RouxAntoine/checkout@v3.5.4
with:
ref: 'master'
# get part of the tag after the `v`
- name: Extract tag version number
id: get_version
uses: battila7/get-version-action@v2
# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
id: sub_manifest_link_version
uses: microsoft/variable-substitution@v1
with:
files: 'system.json'
env:
version: ${{steps.get_version.outputs.version-without-v}}
url: https://www.uberwald.me/gitea/uberwald/fvtt-ecryme
manifest: https://www.uberwald.me/gitea/uberwald/fvtt-ecryme/releases/latest/module.json
download: https://www.uberwald.me/gitea/uberwald/fvtt-ecryme/releases/download/${{github.event.release.tag_name}}/fvtt-ecryme.zip
# Create a zip file with all files required by the module to add to the release
- run: |
apt update -y
apt install -y zip
- run: zip -r ./fvtt-ecryme.zip system.json template.json README.md LICENSE.txt fonts/ images/ lang/ modules/ packs/ styles/ templates/ translated/
- name: setup go
uses: https://github.com/actions/setup-go@v4
with:
go-version: '>=1.20.1'
- name: Use Go Action
id: use-go-action
uses: https://gitea.com/actions/release-action@main
with:
files: |-
./fvtt-ecryme.zip
system.json
api_key: '${{secrets.RELEASE_TOKEN_UBERWALD}}'

7
LICENSE.txt Normal file
View File

@ -0,0 +1,7 @@
Copyright 2023 Open Sesame Games
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,6 +1,27 @@
# Système Foundry pour Ecryme v2 (French RPG, Open Sesam Games, Official)
# Ecryme v2 system for FoundryVTT (French RPG, Open Sesam Games, Official)
# Developmement
This is a base game system with functionnal character sheets for the game Ecryme, powered by the Engrenage system.
You can join the kickstarter and obtain the base books here : https://www.kickstarter.com/projects/osg-us/ecryme
Uberwald
# Contributions
- Original code realised by Uberwald (https://www.uberwald.me/)
# English translation
English translation by Conal Longden and Ian McClung
# Copyright mentions
Copyright 2023 Open Sesame Games
All rights reserved
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Ecryme is a game written by Alexandre Clavel and Samuel Metzener, in a universe created by Mathieu gaborit. All of the aforementionned authors retain there moral rights regarding this work in both print and digital formats.
# Requests or Problems
Please report any requests or problems you have at contact@open-sesame.games

View File

@ -1,7 +1,8 @@
{
"TYPES": {
"Actor": {
"Personnage": "PC"
"character": "PC",
"annency": "Annency"
},
"Item": {
"trait": "Trait",
@ -156,7 +157,8 @@
"oniricform": "Oniric shape (Boheme)",
"ideals": "Ideals",
"politic": "Political ideal",
"boheme": "Boheme"
"boheme": "Boheme",
"annencybonus": "Annency bonus"
}
}
}

View File

@ -1,7 +1,8 @@
{
"TYPES": {
"Actor":{
"Personnage": "PJ"
"character": "Personnage",
"annency": "Anence"
},
"Item": {
"trait": "Trait",
@ -157,7 +158,8 @@
"oniricform": "Forme Onorique (Bohême)",
"ideals": "Idéaux",
"politic": "Idéaux politiques",
"boheme": "Bohême"
"boheme": "Bohême",
"annencybonus": "Bonus d'Anence"
}
}
}

View File

@ -54,6 +54,18 @@ export class EcrymeActor extends Actor {
super._preUpdate(changed, options, user);
}
/* -------------------------------------------- */
async _preCreate(data, options, user) {
await super._preCreate(data, options, user);
// Configure prototype token settings
const prototypeToken = {};
if (this.type === "pc") Object.assign(prototypeToken, {
sight: { enabled: true }, actorLink: true, disposition: CONST.TOKEN_DISPOSITIONS.FRIENDLY
});
this.updateSource({ prototypeToken });
}
/* -------------------------------------------- */
getMoneys() {
let comp = this.items.filter(item => item.type == 'money');
@ -416,6 +428,7 @@ export class EcrymeActor extends Actor {
let rollData = this.getCommonRollData()
rollData.mode = "cephaly"
rollData.skill = duplicate(this.system.cephaly.skilllist[skillKey])
rollData.annency = duplicate(this.getAnnency())
rollData.img = rollData.skill.img
rollData.skill.categKey = "cephaly"
rollData.skill.skillKey = skillKey

View File

@ -221,7 +221,7 @@ export class EcrymeUtility {
let msg = await this.createChatWithRollMode(this.confrontData1.alias, {
content: await renderTemplate(`systems/fvtt-ecryme/templates/chat/chat-confrontation-result.hbs`, confront)
})
msg.setFlag("world", "ecryme-rolldata", confront)
await msg.setFlag("world", "ecryme-rolldata", confront)
console.log("Confront result", confront)
this.lastConfront = confront
@ -539,6 +539,9 @@ export class EcrymeUtility {
diceFormula += "+" + rollData.bonusMalusTraits
diceFormula += "+" + rollData.bonusMalusPerso
diceFormula += "+" + rollData.impactMalus
if (rollData.annency) {
diceFormula += "+" + rollData.annencyBonus
}
rollData.diceFormula = diceFormula
return diceFormula
}
@ -567,7 +570,7 @@ export class EcrymeUtility {
let msg = await this.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-ecryme/templates/chat/chat-generic-result.hbs`, rollData)
})
msg.setFlag("world", "ecryme-rolldata", rollData)
await msg.setFlag("world", "ecryme-rolldata", rollData)
console.log("Rolldata result", rollData)
}
@ -584,7 +587,7 @@ export class EcrymeUtility {
let msg = await this.createChatWithRollMode(rollData.alias, {
content: await renderTemplate(`systems/fvtt-ecryme/templates/chat/chat-generic-result.hbs`, rollData)
})
msg.setFlag("world", "ecryme-rolldata", rollData)
await msg.setFlag("world", "ecryme-rolldata", rollData)
}
/* -------------------------------------------- */
@ -684,6 +687,7 @@ export class EcrymeUtility {
bonusMalusPerso: 0,
bonusMalusSituation: 0,
bonusMalusDef: 0,
annencyBonus: 0,
bonusMalusPortee: 0,
skillTranscendence: 0,
rollMode: game.settings.get("core", "rollMode"),

View File

@ -245,7 +245,9 @@ export class EcrymeConfrontDialog extends Dialog {
this.rollData.applyTranscendence = $('#roll-apply-transcendence').val()
this.computeTotals()
})
html.find('#annency-bonus').change((event) => {
this.rollData.annencyBonus = Number(event.currentTarget.value)
})
}
}

View File

@ -59,6 +59,7 @@ Hooks.once("init", async function () {
// Register sheet application classes
Actors.unregisterSheet("core", ActorSheet);
Actors.registerSheet("fvtt-ecryme", EcrymeActorSheet, { types: ["pc"], makeDefault: true });
Actors.registerSheet("fvtt-ecryme", EcrymeActorSheet, { types: ["npc"], makeDefault: true });
Actors.registerSheet("fvtt-ecryme", EcrymeAnnencySheet, { types: ["annency"], makeDefault: false });
Items.unregisterSheet("core", ItemSheet);

View File

@ -1 +1 @@
MANIFEST-000046
MANIFEST-000054

View File

@ -1,7 +1,7 @@
2023/08/08-14:38:49.036882 7f5afcdf86c0 Recovering log #44
2023/08/08-14:38:49.124780 7f5afcdf86c0 Delete type=3 #42
2023/08/08-14:38:49.124893 7f5afcdf86c0 Delete type=0 #44
2023/08/08-14:54:21.588098 7f58677fe6c0 Level-0 table #49: started
2023/08/08-14:54:21.588122 7f58677fe6c0 Level-0 table #49: 0 bytes OK
2023/08/08-14:54:21.594444 7f58677fe6c0 Delete type=0 #47
2023/08/08-14:54:21.607310 7f58677fe6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)
2023/08/08-18:04:51.701446 7f5afcdf86c0 Recovering log #52
2023/08/08-18:04:51.711602 7f5afcdf86c0 Delete type=3 #50
2023/08/08-18:04:51.711652 7f5afcdf86c0 Delete type=0 #52
2023/08/08-18:04:59.546696 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.546715 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.552809 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.560028 7f58677fe6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-14:36:00.338439 7f5867fff6c0 Recovering log #40
2023/08/08-14:36:00.347950 7f5867fff6c0 Delete type=3 #38
2023/08/08-14:36:00.348021 7f5867fff6c0 Delete type=0 #40
2023/08/08-14:38:45.882749 7f58677fe6c0 Level-0 table #45: started
2023/08/08-14:38:45.882812 7f58677fe6c0 Level-0 table #45: 0 bytes OK
2023/08/08-14:38:45.920058 7f58677fe6c0 Delete type=0 #43
2023/08/08-14:38:45.981054 7f58677fe6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)
2023/08/08-17:50:40.597296 7f5afd5f96c0 Recovering log #48
2023/08/08-17:50:40.655447 7f5afd5f96c0 Delete type=3 #46
2023/08/08-17:50:40.655509 7f5afd5f96c0 Delete type=0 #48
2023/08/08-18:04:06.340910 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.340947 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.347333 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.361314 7f58677fe6c0 Manual compaction at level-0 from '!folders!1GrTlI1xWvaxdKRI' @ 72057594037927935 : 1 .. '!items!zs7krgXhDRndtqbl' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000046
MANIFEST-000054

View File

@ -1,7 +1,7 @@
2023/08/08-14:38:49.155473 7f5867fff6c0 Recovering log #44
2023/08/08-14:38:49.260893 7f5867fff6c0 Delete type=3 #42
2023/08/08-14:38:49.260950 7f5867fff6c0 Delete type=0 #44
2023/08/08-14:54:21.600756 7f58677fe6c0 Level-0 table #49: started
2023/08/08-14:54:21.600776 7f58677fe6c0 Level-0 table #49: 0 bytes OK
2023/08/08-14:54:21.607211 7f58677fe6c0 Delete type=0 #47
2023/08/08-14:54:21.607330 7f58677fe6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)
2023/08/08-18:04:51.714583 7f5afcdf86c0 Recovering log #52
2023/08/08-18:04:51.723706 7f5afcdf86c0 Delete type=3 #50
2023/08/08-18:04:51.723766 7f5afcdf86c0 Delete type=0 #52
2023/08/08-18:04:59.560163 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.560198 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.566320 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.566452 7f58677fe6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-14:36:00.351163 7f5867fff6c0 Recovering log #40
2023/08/08-14:36:00.363535 7f5867fff6c0 Delete type=3 #38
2023/08/08-14:36:00.363690 7f5867fff6c0 Delete type=0 #40
2023/08/08-14:38:46.072007 7f58677fe6c0 Level-0 table #45: started
2023/08/08-14:38:46.072050 7f58677fe6c0 Level-0 table #45: 0 bytes OK
2023/08/08-14:38:46.103317 7f58677fe6c0 Delete type=0 #43
2023/08/08-14:38:46.137931 7f58677fe6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)
2023/08/08-17:50:40.659050 7f5afd5f96c0 Recovering log #48
2023/08/08-17:50:40.767128 7f5afd5f96c0 Delete type=3 #46
2023/08/08-17:50:40.767167 7f5afd5f96c0 Delete type=0 #48
2023/08/08-18:04:06.354489 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.354521 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.361236 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.361331 7f58677fe6c0 Manual compaction at level-0 from '!items!13IYF6BPUTivFZzB' @ 72057594037927935 : 1 .. '!items!oSutlbe9wyBZccmf' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000046
MANIFEST-000054

View File

@ -1,7 +1,7 @@
2023/08/08-14:38:49.036954 7f5867fff6c0 Recovering log #44
2023/08/08-14:38:49.153034 7f5867fff6c0 Delete type=3 #42
2023/08/08-14:38:49.153108 7f5867fff6c0 Delete type=0 #44
2023/08/08-14:54:21.558302 7f58677fe6c0 Level-0 table #49: started
2023/08/08-14:54:21.558341 7f58677fe6c0 Level-0 table #49: 0 bytes OK
2023/08/08-14:54:21.572779 7f58677fe6c0 Delete type=0 #47
2023/08/08-14:54:21.573011 7f58677fe6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)
2023/08/08-18:04:51.701446 7f5afddfa6c0 Recovering log #52
2023/08/08-18:04:51.711597 7f5afddfa6c0 Delete type=3 #50
2023/08/08-18:04:51.711643 7f5afddfa6c0 Delete type=0 #52
2023/08/08-18:04:59.539283 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.539308 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.546617 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.560019 7f58677fe6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-14:36:00.338438 7f5afd5f96c0 Recovering log #40
2023/08/08-14:36:00.347864 7f5afd5f96c0 Delete type=3 #38
2023/08/08-14:36:00.347905 7f5afd5f96c0 Delete type=0 #40
2023/08/08-14:38:46.031269 7f58677fe6c0 Level-0 table #45: started
2023/08/08-14:38:46.031315 7f58677fe6c0 Level-0 table #45: 0 bytes OK
2023/08/08-14:38:46.071808 7f58677fe6c0 Delete type=0 #43
2023/08/08-14:38:46.137889 7f58677fe6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)
2023/08/08-17:50:40.597326 7f5afcdf86c0 Recovering log #48
2023/08/08-17:50:40.655429 7f5afcdf86c0 Delete type=3 #46
2023/08/08-17:50:40.655471 7f5afcdf86c0 Delete type=0 #48
2023/08/08-18:04:06.323953 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.324001 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.330360 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.340887 7f58677fe6c0 Manual compaction at level-0 from '!folders!00Hn2nNarlL7b0DR' @ 72057594037927935 : 1 .. '!items!yozTUjNuc2rEGjFK' @ 0 : 0; will stop at (end)

View File

@ -1 +1 @@
MANIFEST-000046
MANIFEST-000054

View File

@ -1,7 +1,7 @@
2023/08/08-14:38:49.127661 7f5afcdf86c0 Recovering log #44
2023/08/08-14:38:49.237408 7f5afcdf86c0 Delete type=3 #42
2023/08/08-14:38:49.237452 7f5afcdf86c0 Delete type=0 #44
2023/08/08-14:54:21.594546 7f58677fe6c0 Level-0 table #49: started
2023/08/08-14:54:21.594573 7f58677fe6c0 Level-0 table #49: 0 bytes OK
2023/08/08-14:54:21.600659 7f58677fe6c0 Delete type=0 #47
2023/08/08-14:54:21.607322 7f58677fe6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)
2023/08/08-18:04:51.714581 7f5afd5f96c0 Recovering log #52
2023/08/08-18:04:51.723695 7f5afd5f96c0 Delete type=3 #50
2023/08/08-18:04:51.723729 7f5afd5f96c0 Delete type=0 #52
2023/08/08-18:04:59.552915 7f58677fe6c0 Level-0 table #57: started
2023/08/08-18:04:59.552934 7f58677fe6c0 Level-0 table #57: 0 bytes OK
2023/08/08-18:04:59.559910 7f58677fe6c0 Delete type=0 #55
2023/08/08-18:04:59.560044 7f58677fe6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)

View File

@ -1,7 +1,7 @@
2023/08/08-14:36:00.351163 7f5afd5f96c0 Recovering log #40
2023/08/08-14:36:00.360537 7f5afd5f96c0 Delete type=3 #38
2023/08/08-14:36:00.360576 7f5afd5f96c0 Delete type=0 #40
2023/08/08-14:38:46.103419 7f58677fe6c0 Level-0 table #45: started
2023/08/08-14:38:46.103439 7f58677fe6c0 Level-0 table #45: 0 bytes OK
2023/08/08-14:38:46.137624 7f58677fe6c0 Delete type=0 #43
2023/08/08-14:38:46.137971 7f58677fe6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)
2023/08/08-17:50:40.658993 7f5afcdf86c0 Recovering log #48
2023/08/08-17:50:40.748499 7f5afcdf86c0 Delete type=3 #46
2023/08/08-17:50:40.748566 7f5afcdf86c0 Delete type=0 #48
2023/08/08-18:04:06.347462 7f58677fe6c0 Level-0 table #53: started
2023/08/08-18:04:06.347507 7f58677fe6c0 Level-0 table #53: 0 bytes OK
2023/08/08-18:04:06.354352 7f58677fe6c0 Delete type=0 #51
2023/08/08-18:04:06.361324 7f58677fe6c0 Manual compaction at level-0 from '!folders!DiwHbtGAkTYxtshX' @ 72057594037927935 : 1 .. '!items!zgNI2haxhBxBDBdl' @ 0 : 0; will stop at (end)

View File

@ -90,7 +90,7 @@
],
"title": "Ecryme, le Jeu de Rôles",
"url": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme",
"version": "11.0.16",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme/archive/fvtt-ecryme-v11.0.16.zip",
"version": "11.0.19",
"download": "https://www.uberwald.me/gitea/uberwald/fvtt-ecryme/archive/fvtt-ecryme-v11.0.19.zip",
"background": "systems/fvtt-ecryme/images/assets/ecryme_extract_panel_01.webp"
}

View File

@ -1,7 +1,7 @@
{
"Actor": {
"types": [
"pc","annency"
"pc","annency", "npc"
],
"templates": {
"biodata": {
@ -196,6 +196,12 @@
"annency"
]
},
"npc": {
"templates": [
"biodata",
"core"
]
},
"pc": {
"templates": [
"biodata",

View File

@ -16,14 +16,21 @@
<div>
<ul>
<li>{{localize "ECRY.ui.cephaly"}} : {{localize skill.name}}</li>
{{#if annency}}
<li>{{localize "ECRY.ui.annencybonus"}} {{annency.name}}: {{annencyBonus}}</li>
{{/if}}
{{#if (gt marginExecution 0)}}
<li>{{localize "ECRY.ui.execution"}} {{executionTotal}} vs {{difficulty}} : {{marginExecution}}</li>
<li>{{localize cephalySuccess}}</li>
{{/if}}
{{#if (gt marginPreservation 0)}}
<li>{{localize "ECRY.ui.preservation"}} {{preservationTotal}} vs {{difficulty}} : {{marginPreservation}}</li>
<li>{{localize cephalyFailure}}</li>
{{/if}}
</ul>
</div>

View File

@ -100,6 +100,24 @@
{{/each}}
</select>
</div>
{{#if annency}}
<div class="flexrow">
<span class="roll-dialog-label">{{localize "ECRY.ui.annency"}} : {{annency.name}}</span>
<span class="roll-dialog-label">{{annency.system.base.description}}</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">{{localize "ECRY.ui.annencybonus"}}</span>
<select class="" id="annency-bonus" name="annencyBonus" data-type="String">
<option value="0">0</option>
<option value="1">+1</option>
<option value="2">+2</option>
<option value="3">+3</option>
<option value="4">+4</option>
<option value="5">+5</option>
</select>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Bonus/Malus : </span>