Add game system for skills

This commit is contained in:
LeRatierBretonnien 2024-08-08 05:04:53 +02:00
parent 98e6b70b1b
commit c11f7d23a8
7 changed files with 28 additions and 19 deletions

View File

@ -14,6 +14,8 @@ export class RFRPUtility {
const skillCategories = await RFRPUtility.loadCompendium("fvtt-rolemaster-frp.skill_categories") const skillCategories = await RFRPUtility.loadCompendium("fvtt-rolemaster-frp.skill_categories")
this.skillCategories = skillCategories.map(i => i.toObject()).filter( i => i.system.game_system == "common" || i.system.game_system == this.gameSystem); this.skillCategories = skillCategories.map(i => i.toObject()).filter( i => i.system.game_system == "common" || i.system.game_system == this.gameSystem);
// Sort skill categories by name
this.skillCategories.sort((a, b) => a.name.localeCompare(b.name));
} }
/* -------------------------------------------- */ /* -------------------------------------------- */

Binary file not shown.

View File

@ -1 +1 @@
MANIFEST-000072 MANIFEST-000076

View File

@ -1,8 +1,15 @@
2024/08/07-23:07:46.117612 7f33982006c0 Recovering log #70 2024/08/08-04:58:23.767734 7f33996006c0 Recovering log #74
2024/08/07-23:07:46.128384 7f33982006c0 Delete type=3 #68 2024/08/08-04:58:23.828546 7f33996006c0 Delete type=3 #72
2024/08/07-23:07:46.128478 7f33982006c0 Delete type=0 #70 2024/08/08-04:58:23.828601 7f33996006c0 Delete type=0 #74
2024/08/07-23:08:55.204549 7f33978006c0 Level-0 table #75: started 2024/08/08-05:04:31.857707 7f33978006c0 Level-0 table #79: started
2024/08/07-23:08:55.204589 7f33978006c0 Level-0 table #75: 0 bytes OK 2024/08/08-05:04:31.861026 7f33978006c0 Level-0 table #79: 24481 bytes OK
2024/08/07-23:08:55.210948 7f33978006c0 Delete type=0 #73 2024/08/08-05:04:31.868635 7f33978006c0 Delete type=0 #77
2024/08/07-23:08:55.211205 7f33978006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) 2024/08/08-05:04:31.903805 7f33978006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
2024/08/07-23:08:55.238982 7f33978006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) 2024/08/08-05:04:31.903951 7f33978006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at '!items!yRIFroc5VC9Oj3qY' @ 136 : 1
2024/08/08-05:04:31.903973 7f33978006c0 Compacting 1@1 + 1@2 files
2024/08/08-05:04:31.907992 7f33978006c0 Generated table #80@1: 56 keys, 24845 bytes
2024/08/08-05:04:31.908019 7f33978006c0 Compacted 1@1 + 1@2 files => 24845 bytes
2024/08/08-05:04:31.914722 7f33978006c0 compacted to: files[ 0 0 1 0 0 0 0 ]
2024/08/08-05:04:31.914879 7f33978006c0 Delete type=2 #5
2024/08/08-05:04:31.915115 7f33978006c0 Delete type=2 #79
2024/08/08-05:04:31.933903 7f33978006c0 Manual compaction at level-1 from '!items!yRIFroc5VC9Oj3qY' @ 136 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)

View File

@ -1,8 +1,8 @@
2024/08/07-17:16:18.797577 7f33982006c0 Recovering log #66 2024/08/07-23:07:46.117612 7f33982006c0 Recovering log #70
2024/08/07-17:16:18.808374 7f33982006c0 Delete type=3 #64 2024/08/07-23:07:46.128384 7f33982006c0 Delete type=3 #68
2024/08/07-17:16:18.808471 7f33982006c0 Delete type=0 #66 2024/08/07-23:07:46.128478 7f33982006c0 Delete type=0 #70
2024/08/07-17:26:53.698667 7f33978006c0 Level-0 table #71: started 2024/08/07-23:08:55.204549 7f33978006c0 Level-0 table #75: started
2024/08/07-17:26:53.698733 7f33978006c0 Level-0 table #71: 0 bytes OK 2024/08/07-23:08:55.204589 7f33978006c0 Level-0 table #75: 0 bytes OK
2024/08/07-17:26:53.705983 7f33978006c0 Delete type=0 #69 2024/08/07-23:08:55.210948 7f33978006c0 Delete type=0 #73
2024/08/07-17:26:53.706219 7f33978006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) 2024/08/07-23:08:55.211205 7f33978006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
2024/08/07-17:26:53.706260 7f33978006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end) 2024/08/07-23:08:55.238982 7f33978006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)

View File

@ -3,7 +3,7 @@
"title": "Rolemaster FRP System", "title": "Rolemaster FRP System",
"description": "The Rolemaster FRP system for FoundryVTT.", "description": "The Rolemaster FRP system for FoundryVTT.",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/raw/branch/develop/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/raw/branch/develop/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/archive/v12.0.9.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/archive/v12.0.10.zip",
"authors": [ "authors": [
{ {
"name": "Cynicide", "name": "Cynicide",
@ -14,7 +14,7 @@
"email": "" "email": ""
} }
], ],
"version": "12.0.9", "version": "12.0.10",
"compatibility": { "compatibility": {
"minimum": "12", "minimum": "12",
"verified": "12" "verified": "12"