Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
6cfedca162 | |||
de884cbd22 |
@ -45,4 +45,9 @@
|
||||
font-weight: bold;
|
||||
border-bottom: 1px solid;
|
||||
background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);
|
||||
}
|
||||
|
||||
.skills-name-left-align {
|
||||
text-align: left;
|
||||
padding-left: 2px;
|
||||
}
|
@ -18,6 +18,10 @@ export class RFRPUtility {
|
||||
this.skillCategories.sort((a, b) => a.name.localeCompare(b.name));
|
||||
}
|
||||
|
||||
static getGameSystem() {
|
||||
return this.gameSystem;
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static getSkillCategories() {
|
||||
return this.skillCategories
|
||||
|
@ -1,3 +1,5 @@
|
||||
import { RFRPUtility } from "../../rfrp-utility.js";
|
||||
|
||||
export default class RMSSToolsSCImporter extends FormApplication {
|
||||
|
||||
constructor(selectOptions, character) {
|
||||
@ -42,13 +44,13 @@ export default class RMSSToolsSCImporter extends FormApplication {
|
||||
const skillCategoryData = await pack.getIndex();
|
||||
|
||||
console.log("Importing New Skills/Skill Categories.");
|
||||
|
||||
let gameSystem = RFRPUtility.getGameSystem();
|
||||
for (const sc of skillCategoryData) {
|
||||
const newitem = await pack.getDocument(sc._id);
|
||||
|
||||
|
||||
let newDocuments = [];
|
||||
if (newitem.type === itemType) {
|
||||
console.log(newitem);
|
||||
if (newitem.type === itemType && (newitem.system.game_system === "common" || newitem.system.game_system === gameSystem)) {
|
||||
//console.log(newitem);
|
||||
newDocuments.push(newitem);
|
||||
}
|
||||
if (newDocuments.length > 0) {
|
||||
|
@ -1 +1 @@
|
||||
MANIFEST-000101
|
||||
MANIFEST-000125
|
||||
|
@ -1,3 +1,8 @@
|
||||
2024/08/09-23:57:39.252249 7f92874006c0 Recovering log #99
|
||||
2024/08/09-23:57:39.263715 7f92874006c0 Delete type=3 #97
|
||||
2024/08/09-23:57:39.263837 7f92874006c0 Delete type=0 #99
|
||||
2024/08/10-00:20:42.417666 7f9287e006c0 Recovering log #123
|
||||
2024/08/10-00:20:42.428409 7f9287e006c0 Delete type=3 #121
|
||||
2024/08/10-00:20:42.428461 7f9287e006c0 Delete type=0 #123
|
||||
2024/08/10-00:24:00.419073 7f9285a006c0 Level-0 table #128: started
|
||||
2024/08/10-00:24:00.419133 7f9285a006c0 Level-0 table #128: 0 bytes OK
|
||||
2024/08/10-00:24:00.425273 7f9285a006c0 Delete type=0 #126
|
||||
2024/08/10-00:24:00.455588 7f9285a006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:24:00.455633 7f9285a006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2024/08/09-23:54:12.263425 7f92874006c0 Recovering log #95
|
||||
2024/08/09-23:54:12.272735 7f92874006c0 Delete type=3 #93
|
||||
2024/08/09-23:54:12.272785 7f92874006c0 Delete type=0 #95
|
||||
2024/08/09-23:56:47.698844 7f9285a006c0 Level-0 table #100: started
|
||||
2024/08/09-23:56:47.698916 7f9285a006c0 Level-0 table #100: 0 bytes OK
|
||||
2024/08/09-23:56:47.705094 7f9285a006c0 Delete type=0 #98
|
||||
2024/08/09-23:56:47.744132 7f9285a006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
|
||||
2024/08/09-23:56:47.760291 7f9285a006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:18:04.248055 7f9286a006c0 Recovering log #119
|
||||
2024/08/10-00:18:04.258807 7f9286a006c0 Delete type=3 #117
|
||||
2024/08/10-00:18:04.258908 7f9286a006c0 Delete type=0 #119
|
||||
2024/08/10-00:18:22.913947 7f9285a006c0 Level-0 table #124: started
|
||||
2024/08/10-00:18:22.913981 7f9285a006c0 Level-0 table #124: 0 bytes OK
|
||||
2024/08/10-00:18:22.920952 7f9285a006c0 Delete type=0 #122
|
||||
2024/08/10-00:18:22.934571 7f9285a006c0 Manual compaction at level-0 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:18:22.934639 7f9285a006c0 Manual compaction at level-1 from '!items!1HevhbCbvMonyQXe' @ 72057594037927935 : 1 .. '!items!yRIFroc5VC9Oj3qY' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
BIN
packs/skills-merp/000005.ldb
Normal file
BIN
packs/skills-merp/000005.ldb
Normal file
Binary file not shown.
1
packs/skills-merp/CURRENT
Normal file
1
packs/skills-merp/CURRENT
Normal file
@ -0,0 +1 @@
|
||||
MANIFEST-000010
|
0
packs/skills-merp/LOCK
Normal file
0
packs/skills-merp/LOCK
Normal file
8
packs/skills-merp/LOG
Normal file
8
packs/skills-merp/LOG
Normal file
@ -0,0 +1,8 @@
|
||||
2024/08/10-00:18:04.261355 7f92874006c0 Recovering log #8
|
||||
2024/08/10-00:18:04.271365 7f92874006c0 Delete type=3 #6
|
||||
2024/08/10-00:18:04.271415 7f92874006c0 Delete type=0 #8
|
||||
2024/08/10-00:18:22.906854 7f9285a006c0 Level-0 table #13: started
|
||||
2024/08/10-00:18:22.906926 7f9285a006c0 Level-0 table #13: 0 bytes OK
|
||||
2024/08/10-00:18:22.913782 7f9285a006c0 Delete type=0 #11
|
||||
2024/08/10-00:18:22.934544 7f9285a006c0 Manual compaction at level-0 from '!items!5Sg9t8YQubtRoghF' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:18:22.934626 7f9285a006c0 Manual compaction at level-1 from '!items!5Sg9t8YQubtRoghF' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
8
packs/skills-merp/LOG.old
Normal file
8
packs/skills-merp/LOG.old
Normal file
@ -0,0 +1,8 @@
|
||||
2024/08/10-00:16:16.693967 7f92874006c0 Recovering log #4
|
||||
2024/08/10-00:16:16.704014 7f92874006c0 Delete type=3 #2
|
||||
2024/08/10-00:16:16.704134 7f92874006c0 Delete type=0 #4
|
||||
2024/08/10-00:17:37.874387 7f9285a006c0 Level-0 table #9: started
|
||||
2024/08/10-00:17:37.874475 7f9285a006c0 Level-0 table #9: 0 bytes OK
|
||||
2024/08/10-00:17:37.881498 7f9285a006c0 Delete type=0 #7
|
||||
2024/08/10-00:17:37.894547 7f9285a006c0 Manual compaction at level-0 from '!items!5Sg9t8YQubtRoghF' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:17:37.894586 7f9285a006c0 Manual compaction at level-1 from '!items!5Sg9t8YQubtRoghF' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
BIN
packs/skills-merp/MANIFEST-000010
Normal file
BIN
packs/skills-merp/MANIFEST-000010
Normal file
Binary file not shown.
BIN
packs/skills-rmfrp/000005.ldb
Normal file
BIN
packs/skills-rmfrp/000005.ldb
Normal file
Binary file not shown.
0
packs/skills-rmfrp/000012.log
Normal file
0
packs/skills-rmfrp/000012.log
Normal file
1
packs/skills-rmfrp/CURRENT
Normal file
1
packs/skills-rmfrp/CURRENT
Normal file
@ -0,0 +1 @@
|
||||
MANIFEST-000010
|
0
packs/skills-rmfrp/LOCK
Normal file
0
packs/skills-rmfrp/LOCK
Normal file
8
packs/skills-rmfrp/LOG
Normal file
8
packs/skills-rmfrp/LOG
Normal file
@ -0,0 +1,8 @@
|
||||
2024/08/10-00:18:04.273721 7f928cc006c0 Recovering log #8
|
||||
2024/08/10-00:18:04.284604 7f928cc006c0 Delete type=3 #6
|
||||
2024/08/10-00:18:04.284657 7f928cc006c0 Delete type=0 #8
|
||||
2024/08/10-00:18:22.934766 7f9285a006c0 Level-0 table #13: started
|
||||
2024/08/10-00:18:22.934803 7f9285a006c0 Level-0 table #13: 0 bytes OK
|
||||
2024/08/10-00:18:22.944819 7f9285a006c0 Delete type=0 #11
|
||||
2024/08/10-00:18:22.973938 7f9285a006c0 Manual compaction at level-0 from '!items!03BgTdeYE7TYk9LN' @ 72057594037927935 : 1 .. '!items!zYdJP3YQjsK9c3kh' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:18:22.973982 7f9285a006c0 Manual compaction at level-1 from '!items!03BgTdeYE7TYk9LN' @ 72057594037927935 : 1 .. '!items!zYdJP3YQjsK9c3kh' @ 0 : 0; will stop at (end)
|
8
packs/skills-rmfrp/LOG.old
Normal file
8
packs/skills-rmfrp/LOG.old
Normal file
@ -0,0 +1,8 @@
|
||||
2024/08/10-00:16:16.707097 7f9287e006c0 Recovering log #4
|
||||
2024/08/10-00:16:16.718136 7f9287e006c0 Delete type=3 #2
|
||||
2024/08/10-00:16:16.718187 7f9287e006c0 Delete type=0 #4
|
||||
2024/08/10-00:17:37.881615 7f9285a006c0 Level-0 table #9: started
|
||||
2024/08/10-00:17:37.881641 7f9285a006c0 Level-0 table #9: 0 bytes OK
|
||||
2024/08/10-00:17:37.888187 7f9285a006c0 Delete type=0 #7
|
||||
2024/08/10-00:17:37.894563 7f9285a006c0 Manual compaction at level-0 from '!items!03BgTdeYE7TYk9LN' @ 72057594037927935 : 1 .. '!items!zYdJP3YQjsK9c3kh' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:17:37.894604 7f9285a006c0 Manual compaction at level-1 from '!items!03BgTdeYE7TYk9LN' @ 72057594037927935 : 1 .. '!items!zYdJP3YQjsK9c3kh' @ 0 : 0; will stop at (end)
|
BIN
packs/skills-rmfrp/MANIFEST-000010
Normal file
BIN
packs/skills-rmfrp/MANIFEST-000010
Normal file
Binary file not shown.
0
packs/skills/000033.log
Normal file
0
packs/skills/000033.log
Normal file
@ -1 +1 @@
|
||||
MANIFEST-000019
|
||||
MANIFEST-000031
|
||||
|
@ -1,3 +1,8 @@
|
||||
2024/08/09-23:57:39.267134 7f9287e006c0 Recovering log #17
|
||||
2024/08/09-23:57:39.276489 7f9287e006c0 Delete type=3 #15
|
||||
2024/08/09-23:57:39.276571 7f9287e006c0 Delete type=0 #17
|
||||
2024/08/10-00:20:42.430762 7f9286a006c0 Recovering log #29
|
||||
2024/08/10-00:20:42.440202 7f9286a006c0 Delete type=3 #27
|
||||
2024/08/10-00:20:42.440254 7f9286a006c0 Delete type=0 #29
|
||||
2024/08/10-00:24:00.432479 7f9285a006c0 Level-0 table #34: started
|
||||
2024/08/10-00:24:00.432516 7f9285a006c0 Level-0 table #34: 0 bytes OK
|
||||
2024/08/10-00:24:00.438691 7f9285a006c0 Delete type=0 #32
|
||||
2024/08/10-00:24:00.455614 7f9285a006c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:24:00.455646 7f9285a006c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
|
@ -1,8 +1,8 @@
|
||||
2024/08/09-23:54:12.275641 7f928cc006c0 Recovering log #13
|
||||
2024/08/09-23:54:12.285878 7f928cc006c0 Delete type=3 #11
|
||||
2024/08/09-23:54:12.285936 7f928cc006c0 Delete type=0 #13
|
||||
2024/08/09-23:56:47.736686 7f9285a006c0 Level-0 table #18: started
|
||||
2024/08/09-23:56:47.736717 7f9285a006c0 Level-0 table #18: 0 bytes OK
|
||||
2024/08/09-23:56:47.743954 7f9285a006c0 Delete type=0 #16
|
||||
2024/08/09-23:56:47.760260 7f9285a006c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
2024/08/09-23:56:47.760325 7f9285a006c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:12:37.581095 7f928cc006c0 Recovering log #25
|
||||
2024/08/10-00:12:37.591191 7f928cc006c0 Delete type=3 #23
|
||||
2024/08/10-00:12:37.591242 7f928cc006c0 Delete type=0 #25
|
||||
2024/08/10-00:13:00.458023 7f9285a006c0 Level-0 table #30: started
|
||||
2024/08/10-00:13:00.458082 7f9285a006c0 Level-0 table #30: 0 bytes OK
|
||||
2024/08/10-00:13:00.464677 7f9285a006c0 Delete type=0 #28
|
||||
2024/08/10-00:13:00.478046 7f9285a006c0 Manual compaction at level-0 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
2024/08/10-00:13:00.478087 7f9285a006c0 Manual compaction at level-1 from '!folders!Lr9SCthdWWHecwEI' @ 72057594037927935 : 1 .. '!items!zvdsAxlRZnL6gqms' @ 0 : 0; will stop at (end)
|
||||
|
Binary file not shown.
4
rmss.css
4
rmss.css
@ -232,6 +232,10 @@
|
||||
border-bottom: 1px solid;
|
||||
background-image: linear-gradient(rgba(0, 0, 0, 0.1) 0 0);
|
||||
}
|
||||
.skills-name-left-align {
|
||||
text-align: left;
|
||||
padding-left: 2px;
|
||||
}
|
||||
.money-column {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
"title": "Rolemaster FRP System",
|
||||
"description": "The Rolemaster FRP system for FoundryVTT.",
|
||||
"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.12.zip",
|
||||
"download": "https://www.uberwald.me/gitea/public/fvtt-rolemaster-frp/archive/v12.0.14.zip",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Cynicide",
|
||||
@ -14,7 +14,7 @@
|
||||
"email": ""
|
||||
}
|
||||
],
|
||||
"version": "12.0.12",
|
||||
"version": "12.0.14",
|
||||
"compatibility": {
|
||||
"minimum": "12",
|
||||
"verified": "12"
|
||||
|
@ -19,7 +19,7 @@
|
||||
{{#each skillcat as |skill_category id|}}
|
||||
<div class="skillcat-grid-container">
|
||||
|
||||
<div>{{skill_category.name}}</div>
|
||||
<div><a class="item-roll" title="Roll Check" data-item-id="{{skill_category._id}}">{{skill_category.name}}</a> <i class="fas fa-dice"></i></div>
|
||||
<div>{{skill_category.system.applicable_stats}}</div>
|
||||
<div>{{skill_category.system.development_cost}}</div>
|
||||
<div>{{skill_category.system.ranks}}</div>
|
||||
@ -39,8 +39,7 @@
|
||||
<div>{{skill_category.system.total_bonus}}</div>
|
||||
<div class="skillcat-icons">
|
||||
<a class="item-edit" title="Edit Category" data-item-id="{{skill_category._id}}"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-delete item" title="Delete Category" data-item-id="{{skill_category._id}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-roll" title="Roll Check" data-item-id="{{skill_category._id}}"><i class="fas fa-dice"></i></a>
|
||||
<a class="item-delete item" title="Delete Category" data-item-id="{{skill_category._id}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
<div><a class="skill-favorite" data-item-id="{{skill._id}}"><i class="fa-regular fa-square"></i></a></div>
|
||||
{{/if}}
|
||||
<!--<div><input type="checkbox" name="system.favorite" {{checked skill.system.favorite}}/></div>-->
|
||||
<div>{{skill.name}}</div>
|
||||
<div class="skills-name-left-align"><a class="item-roll" title="Roll Check" data-item-id="{{skill_category._id}}">{{skill.name}}<i class="fas fa-dice"></i></a></div>
|
||||
<div>{{skill.system.ranks}}</div>
|
||||
<div>
|
||||
{{#switch skill.system.new_ranks.value}}
|
||||
@ -41,7 +41,6 @@
|
||||
<div >
|
||||
<a class="item-edit" title="Edit Skill" data-item-id="{{skill._id}}"><i class="fas fa-edit"></i></a>
|
||||
<a class="item-delete" title="Delete Skill" data-item-id="{{skill._id}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-roll" title="Roll Check" data-item-id="{{skill._id}}"><i class="fas fa-dice"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
<h3>Import Skill Categories/Skills</h3>
|
||||
<div>
|
||||
WARNING: This will erase your existing Skill Categories or Skills and import all Skill Categories/Skills from the selected Compendium.
|
||||
Note that the import will select only skills and categories matching the "Common" items and the selected game system.
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span >Select Skill Categories Compendium:</span>
|
||||
|
Reference in New Issue
Block a user