Compare commits

..

No commits in common. "main" and "develop" have entirely different histories.

47 changed files with 3567 additions and 77404 deletions

BIN
assets/art/chapter2.webp (Stored with Git LFS)

Binary file not shown.

BIN
assets/art/old_sycamore_totm.webp (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/maps/greenbelt/boggard_lair.webp (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/maps/greenbelt/old_sycamore.webp (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
assets/maps/greenbelt/tatzlwyrm_den.webp (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,53 +0,0 @@
const forms = [
{
token: 'modules/mb-pfsw-kingmaker/assets/tokens/npcs/companions/kanerah.Token.webp',
avatar: 'modules/mb-pfsw-kingmaker/assets/tokens/npcs/companions/kanerah.Avatar.webp',
name: 'Kanerah',
formName: 'Kanerah Form',
formItem: null,
}, {
token: 'modules/mb-pfsw-kingmaker/assets/tokens/npcs/companions/kalikke.Token.webp',
avatar: 'modules/mb-pfsw-kingmaker/assets/tokens/npcs/companions/kalikke.Avatar.webp',
name: 'Kalikke',
formName: 'Kalikke Form',
formItem: null
}
]
const actorUUID = 'Actor.vfyKGZVNAuWnBPSU'
const EQUIPPED = CONFIG.SWADE.CONST.EQUIP_STATE.EQUIPPED
const STORED = CONFIG.SWADE.CONST.EQUIP_STATE.STORED
async function main() {
if (token.actor.uuid !== actorUUID) {
ui.notifications.error("Incorrect token selected")
return
}
let activeForm = 0
for (let idx = 0; idx < forms.length; idx++) {
const form = forms[idx]
form.formItem = token.actor.items.find(i => i.name === form.formName)
if (form.formItem.system.equipStatus === EQUIPPED) {
activeForm = idx
}
form.formItem.update({'system.equipStatus': STORED})
}
activeForm = (activeForm + 1) % forms.length
const itemMods = {'system.equipStatus': EQUIPPED}
const tokenMods = {
name: forms[activeForm].name,
'texture.src': forms[activeForm].token
}
const actorMods = {
name: forms[activeForm].name,
img: forms[activeForm].avatar,
}
await token.document.update(tokenMods)
await token.actor.update(actorMods)
await forms[activeForm].formItem.update(itemMods)
await token.actor.prototypeToken.update(tokenMods)
}
main()

View File

@ -1,7 +1,7 @@
{ {
"id": "mb-pfsw-kingmaker", "id": "mb-pfsw-kingmaker",
"title": "Pathfinder Kingmaker", "title": "Pathfinder Kingmaker",
"version": "1.0.3", "version": "1.0.0",
"compatibility": { "compatibility": {
"minimum": "11", "minimum": "11",
"verified": "11" "verified": "11"
@ -140,5 +140,5 @@
}, },
"url": "https://git.bloy.org/foundryvtt/mb-pfsw-kingmaker", "url": "https://git.bloy.org/foundryvtt/mb-pfsw-kingmaker",
"manifest": "https://git.bloy.org/foundryvtt/mb-pfsw-kingmaker/raw/branch/main/module.json", "manifest": "https://git.bloy.org/foundryvtt/mb-pfsw-kingmaker/raw/branch/main/module.json",
"download": "https://git.bloy.org/api/packages/foundryvtt/generic/mb-pfsw-kingmaker/1.0.3/mb-pfsw-kingmaker.zip" "download": "https://git.bloy.org/api/packages/foundryvtt/generic/mb-pfsw-kingmaker/1.0.0/mb-pfsw-kingmaker.zip"
} }

Binary file not shown.

View File

@ -1,5 +1,5 @@
2024/02/27-22:09:17.570364 7f92fa7be700 Delete type=3 #1 2024/01/21-22:28:49.752788 7fd329fbe700 Delete type=3 #1
2024/02/27-22:09:17.595026 7f92f8fbb700 Level-0 table #5: started 2024/01/21-22:28:49.766857 7fd08bfff700 Level-0 table #5: started
2024/02/27-22:09:17.619538 7f92f8fbb700 Level-0 table #5: 1373868 bytes OK 2024/01/21-22:28:49.785457 7fd08bfff700 Level-0 table #5: 874195 bytes OK
2024/02/27-22:09:17.628575 7f92f8fbb700 Delete type=0 #3 2024/01/21-22:28:49.794412 7fd08bfff700 Delete type=0 #3
2024/02/27-22:09:17.629092 7f92f8fbb700 Manual compaction at level-0 from '!adventures!71Nu38ym6C2QGY3a' @ 72057594037927935 : 1 .. '!adventures!wGybm3ZyVD37mjtC' @ 0 : 0; will stop at (end) 2024/01/21-22:28:49.794840 7fd08bfff700 Manual compaction at level-0 from '!adventures!AVYZezrKqXtcPw7N' @ 72057594037927935 : 1 .. '!adventures!wGybm3ZyVD37mjtC' @ 0 : 0; will stop at (end)

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,5 +1,5 @@
2024/02/27-22:09:18.227051 7fd3b37fe700 Delete type=3 #1 2024/01/21-22:28:50.449895 7f9203fff700 Delete type=3 #1
2024/02/27-22:09:18.229450 7fd3b1d80700 Level-0 table #5: started 2024/01/21-22:28:50.452518 7f9201d41700 Level-0 table #5: started
2024/02/27-22:09:18.239209 7fd3b1d80700 Level-0 table #5: 9065 bytes OK 2024/01/21-22:28:50.464938 7f9201d41700 Level-0 table #5: 1691 bytes OK
2024/02/27-22:09:18.249157 7fd3b1d80700 Delete type=0 #3 2024/01/21-22:28:50.474894 7f9201d41700 Delete type=0 #3
2024/02/27-22:09:18.249251 7fd3b1d80700 Manual compaction at level-0 from '!items!7hcnBcliZS3fdugQ' @ 72057594037927935 : 1 .. '!items.effects!SQSAZ101VjE9HXKB.zzfvcSywLEBcfaWY' @ 0 : 0; will stop at (end) 2024/01/21-22:28:50.475031 7f9201d41700 Manual compaction at level-0 from '!items!KzICEyN3XG3wGDTc' @ 72057594037927935 : 1 .. '!items.effects!KzICEyN3XG3wGDTc.zzfvcSywLEBcfaWY' @ 0 : 0; will stop at (end)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,37 +0,0 @@
{
"folder": null,
"name": "Magus' Weapon",
"type": "ability",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_SpecialAbility.webp",
"system": {
"description": "<p>The Magus may hold a melee weapon while using their Spell Strike. A weapon's Reach increases the range of a Magus's Touch-limited powers.</p>",
"notes": "",
"source": "",
"swid": "magus-weapon",
"additionalStats": {},
"favorite": false,
"category": "",
"grants": [],
"subtype": "special",
"grantsPowers": false
},
"effects": [],
"ownership": {
"default": 0,
"Aqnn9hCDQPbyTWiq": 3
},
"flags": {
"core": {}
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1706222946734,
"modifiedTime": 1706246919957,
"lastModifiedBy": "Aqnn9hCDQPbyTWiq"
},
"_id": "LFzVYlDYdfIO6Ra2",
"sort": 400000,
"_key": "!items!LFzVYlDYdfIO6Ra2"
}

View File

@ -1,44 +0,0 @@
{
"folder": null,
"name": "Martial Cantrip",
"type": "ability",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_SpecialAbility.webp",
"system": {
"description": "<p>The magus has studied enough magic to be able to use cantrip effects from any of the powers available to her Mystic Powers or Spell Strike. In addition, she gets access to the Minor Bolt complex cantrip. She uses the better of her Common Knowledge or Academics when a roll is required for these effects, and may suffer backlash (and fatigue if out of power points) on a critical failure.</p>",
"notes": "",
"source": "",
"swid": "martial-cantrip",
"additionalStats": {},
"favorite": false,
"category": "",
"grants": [
{
"name": "Minor Bolt",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_Power_v2.webp",
"uuid": "Compendium.swpf-apg.swpf-apg-powers.Item.ZZuTG3eeg2jCTNcH",
"mutation": {}
}
],
"subtype": "special",
"grantsPowers": true
},
"effects": [],
"ownership": {
"default": 0,
"Aqnn9hCDQPbyTWiq": 3
},
"flags": {
"core": {}
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1706223156142,
"modifiedTime": 1706246919957,
"lastModifiedBy": "Aqnn9hCDQPbyTWiq"
},
"_id": "gUEksowXPeadtNzW",
"sort": 200000,
"_key": "!items!gUEksowXPeadtNzW"
}

View File

@ -1,56 +0,0 @@
{
"folder": null,
"name": "Mystic Powers (Magus)",
"type": "ability",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_SpecialAbility.webp",
"system": {
"description": "<p>As a limited free action, the magus can invoke any one of the following powers. Boost Trait (Agility or Fighting only), Deflection, or Smite. All are self only but the magus gains no benefit from the limitation. The magus has a dedicated pool of 10 power points that recharges normally, and may activate the power at the normal cost, or with a raise for +2pp. She may use any power modifiers that are compatible with the self limitation.</p>",
"notes": "",
"source": "",
"swid": "mystic-powers-magus",
"additionalStats": {},
"favorite": false,
"category": "",
"grants": [
{
"uuid": "Compendium.swpf-core-rules.swpf-powers.Item.hBfpNdcd1WBsszu3",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_Power_v2.webp",
"name": "Boost/Lower Trait",
"mutation": {}
},
{
"uuid": "Compendium.swpf-core-rules.swpf-powers.Item.p0sK0KYfyvGFNLNt",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_Power_v2.webp",
"name": "Deflection",
"mutation": {}
},
{
"name": "Smite",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_Power_v2.webp",
"uuid": "Compendium.swpf-core-rules.swpf-powers.Item.LiY5yCQkOOKz9T2L",
"mutation": {}
}
],
"subtype": "special",
"grantsPowers": true
},
"effects": [],
"ownership": {
"default": 0,
"Aqnn9hCDQPbyTWiq": 3
},
"flags": {
"core": {}
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1706223043004,
"modifiedTime": 1706246919957,
"lastModifiedBy": "Aqnn9hCDQPbyTWiq"
},
"_id": "L7L8N2NeUjpHCzVo",
"sort": 300000,
"_key": "!items!L7L8N2NeUjpHCzVo"
}

File diff suppressed because one or more lines are too long

View File

@ -1,108 +0,0 @@
{
"name": "Urgothoa's Blessing",
"type": "edge",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_Edge.webp",
"system": {
"description": "<p>The character has pleased <strong>Urgothoa</strong> in some way and has risen after death as an undead version of their former self. This is not always a voluntary honor.</p><p>They do not age or sleep, but they still need daily \"sleep\" or suffer the effects of Fatigue. The Undead special ability applies. They gain an Environmental Weakness to divine energy such that</p><p></p>",
"notes": "",
"additionalStats": {},
"favorite": false,
"category": "Background",
"isArcaneBackground": false,
"requirements": [
{
"type": "rank",
"value": 0,
"selector": "",
"combinator": "and"
},
{
"type": "other",
"label": "Special",
"selector": "",
"value": "",
"combinator": "and"
}
],
"grants": [
{
"uuid": "Compendium.swpf-core-rules.swpf-abilities.Item.3BzUgHdy4vDnZcBH",
"img": "systems/swade/assets/icons/ability.svg",
"name": "Undead",
"mutation": {}
},
{
"uuid": "Compendium.swpf-core-rules.swpf-abilities.Item.EGIyWLOTA3SbjrCE",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_SpecialAbility.webp",
"name": "Undead (Type)",
"mutation": {}
},
{
"name": "Environmental Weakness (Divine)",
"img": "modules/swpf-core-rules/assets/icons/Pathfinder_Icons_SpecialAbility.webp",
"uuid": "Compendium.mb-pfsw-kingmaker.kingmaker-abilities.Item.WXVUylMnRJiKtU8O",
"mutation": {}
}
],
"source": "",
"swid": "urgothoas-blessing"
},
"effects": [
{
"icon": "icons/magic/light/explosion-star-glow-blue.webp",
"duration": {
"rounds": null,
"startTime": 63430819327,
"seconds": null,
"combat": null,
"turns": null,
"startRound": null,
"startTurn": null
},
"flags": {
"swade": {
"expiration": null,
"loseTurnOnHold": false
}
},
"changes": [
{
"key": "system.stats.globalMods.trait",
"mode": 2,
"value": "-1",
"priority": null
}
],
"transfer": true,
"name": "Light Sensitive (in bright light)",
"_id": "zzfvcSywLEBcfaWY",
"disabled": true,
"description": "",
"origin": null,
"statuses": [],
"tint": null,
"_key": "!items.effects!SQSAZ101VjE9HXKB.zzfvcSywLEBcfaWY"
}
],
"folder": null,
"ownership": {
"default": 0,
"Aqnn9hCDQPbyTWiq": 3
},
"flags": {
"core": {
"sheetClass": "swade.SWPFItemSheet"
}
},
"_stats": {
"systemId": "swade",
"systemVersion": "3.2.5",
"coreVersion": "11.315",
"createdTime": 1689656890888,
"modifiedTime": 1706246919957,
"lastModifiedBy": "Aqnn9hCDQPbyTWiq"
},
"_id": "SQSAZ101VjE9HXKB",
"sort": 600000,
"_key": "!items!SQSAZ101VjE9HXKB"
}

View File

@ -1,5 +1,5 @@
2024/02/27-22:09:18.842467 7fb2697bc700 Delete type=3 #1 2024/01/21-22:28:51.069042 7fd1d5fbd700 Delete type=3 #1
2024/02/27-22:09:18.844858 7fb268fbb700 Level-0 table #5: started 2024/01/21-22:28:51.071496 7fd1d4fbb700 Level-0 table #5: started
2024/02/27-22:09:18.853054 7fb268fbb700 Level-0 table #5: 5487 bytes OK 2024/01/21-22:28:51.078653 7fd1d4fbb700 Level-0 table #5: 5487 bytes OK
2024/02/27-22:09:18.863261 7fb268fbb700 Delete type=0 #3 2024/01/21-22:28:51.087641 7fd1d4fbb700 Delete type=0 #3
2024/02/27-22:09:18.863370 7fb268fbb700 Manual compaction at level-0 from '!items!ACp5yonogPTePk6H' @ 72057594037927935 : 1 .. '!items!zhQ2l4Dh9GeFvCyH' @ 0 : 0; will stop at (end) 2024/01/21-22:28:51.087734 7fd1d4fbb700 Manual compaction at level-0 from '!items!ACp5yonogPTePk6H' @ 72057594037927935 : 1 .. '!items!zhQ2l4Dh9GeFvCyH' @ 0 : 0; will stop at (end)