Skip to content

Commit

Permalink
Delve NPCs
Browse files Browse the repository at this point in the history
  • Loading branch information
ben committed Aug 23, 2024
1 parent 71aaec9 commit 911e4aa
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 29 deletions.
62 changes: 33 additions & 29 deletions src/module/datasworn2/import/images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,64 +31,68 @@ export const ICON_MAP = {
Mystic: 'icons/environment/people/cleric-orange.webp',
Raider: 'icons/sundries/flags/banner-flag-pirate.webp',
Warrior: 'icons/skills/melee/hand-grip-sword-red.webp',
Husk: 'icons/magic/earth/strike-body-stone-crumble.webp',
Zealot: 'icons/environment/people/cleric-grey.webp',
Elf: 'icons/creatures/magical/humanoid-horned-rider.webp',
Giant: 'icons/creatures/magical/humanoid-giant-forest-blue.webp',
Primordial: 'icons/creatures/magical/spirit-undead-horned-blue.webp',
Troll: 'icons/creatures/mammals/bull-horns-eyes-glowin-orange.webp',
Varou: 'icons/creatures/mammals/wolf-shadow-black.webp',
Atanya: 'icons/magic/air/wind-weather-sailing-ship.webp',
Merrow: 'icons/creatures/fish/fish-man-eye-green.webp',
Bear: 'icons/creatures/abilities/bear-roar-bite-brown-green.webp',
Boar: 'icons/commodities/treasure/figurine-boar.webp',
Gaunt: 'icons/magic/fire/elemental-creature-horse.webp',
'Marsh Rat': 'icons/creatures/mammals/rodent-rat-diseaed-gray.webp',
Wolf: 'icons/creatures/abilities/wolf-howl-moon-purple.webp',
Bladewing: 'icons/creatures/magical/spirit-undead-winged-ghost.webp',
'Carrion newt':
'icons/creatures/reptiles/chameleon-camouflage-green-brown.webp',
'Cave lion': 'icons/creatures/abilities/lion-roar-yellow.webp',
'Deep rat': 'icons/creatures/mammals/rodent-rat-green.webp',
'Nightmare spider':
'icons/creatures/invertebrates/spider-mandibles-brown.webp',
'Shroud crab':
'icons/consumables/meat/claw-crab-lobster-serrated-pink.webp',
Trog: 'icons/creatures/reptiles/lizard-iguana-green.webp',
Basilisk: 'icons/creatures/reptiles/snake-poised-white.webp',
'Elder Beast':
'icons/creatures/mammals/beast-horned-scaled-glowing-orange.webp',
'Harrow Spider': 'icons/creatures/invertebrates/spider-web-black.webp',
Leviathan: 'icons/creatures/reptiles/serpent-horned-green.webp',
Mammoth: 'icons/commodities/leather/fur-white.webp',
Wyvern: 'icons/creatures/abilities/wolf-heads-swirl-purple.webp',
Chitter: 'icons/creatures/invertebrates/bug-sixlegged-gray.webp',
Gnarl: 'icons/magic/nature/tree-animated-strike.webp',
'Iron-Wracked beast':
'icons/environment/wilderness/statue-hound-horned.webp',
Kraken: 'icons/creatures/fish/squid-kraken-orange.webp',
Nightspawn: 'icons/creatures/unholy/demon-horned-black-yellow.webp',
Rhaskar: 'icons/creatures/fish/fish-marlin-swordfight-blue.webp',
Wyrm: 'icons/creatures/eyes/lizard-single-slit-pink.webp',
Bonewalker: 'icons/magic/death/undead-skeleton-worn-blue.webp',
Frostbound: 'icons/creatures/magical/spirit-undead-ghost-blue.webp',
Chimera: 'icons/creatures/magical/spirit-earth-stone-magma-yellow.webp',
Haunt: 'icons/magic/death/undead-ghost-strike-white.webp',
Hollow: 'icons/consumables/plants/grass-leaves-green.webp',
'Iron Revenant':
'icons/creatures/magical/construct-golem-stone-blue.webp',
Sodden: 'icons/magic/death/undead-ghost-scream-teal.webp',
Sodden: 'icons/magic/death/undead-ghost-scream-teal.webp'
}
},
delve: {
foe: {
Bladewing: 'icons/creatures/magical/spirit-undead-winged-ghost.webp',
'Carrion Newt':
'icons/creatures/reptiles/chameleon-camouflage-green-brown.webp',
'Cave Lion': 'icons/creatures/abilities/lion-roar-yellow.webp',
'Deep Rat': 'icons/creatures/mammals/rodent-rat-green.webp',
'Nightmare Spider':
'icons/creatures/invertebrates/spider-mandibles-brown.webp',
'Shroud Crab':
'icons/consumables/meat/claw-crab-lobster-serrated-pink.webp',
Trog: 'icons/creatures/reptiles/lizard-iguana-green.webp',
'Blood Thorn': 'icons/consumables/plants/thorned-stem-vine-green.webp',
'Circle of Stones': 'icons/environment/wilderness/arch-stone.webp',
Glimmer: 'icons/magic/nature/elemental-plant-humanoid.webp',
Gloom: 'icons/magic/perception/silhouette-stealth-shadow.webp',
Maelstrom: 'icons/magic/water/vortex-water-whirlpool.webp',
Tempest: 'icons/magic/lightning/bolts-salvo-clouds-sky.webp',
Chitter: 'icons/creatures/invertebrates/bug-sixlegged-gray.webp',
Gnarl: 'icons/magic/nature/tree-animated-strike.webp',
'Iron-Wracked Beast':
'icons/environment/wilderness/statue-hound-horned.webp',
Kraken: 'icons/creatures/fish/squid-kraken-orange.webp',
Nightspawn: 'icons/creatures/unholy/demon-horned-black-yellow.webp',
Rhaskar: 'icons/creatures/fish/fish-marlin-swordfight-blue.webp',
Wyrm: 'icons/creatures/eyes/lizard-single-slit-pink.webp',
Atanya: 'icons/magic/air/wind-weather-sailing-ship.webp',
Merrow: 'icons/creatures/fish/fish-man-eye-green.webp',
Blighthound: 'icons/commodities/treasure/figurine-dog.webp',
'Bog Rot': 'icons/magic/death/hand-dirt-undead-zombie.webp',
Bonehorde: 'icons/skills/trades/academics-study-archaeology-bones.webp',
Thrall: 'icons/creatures/abilities/mouth-teeth-human.webp',
Wight: 'icons/creatures/magical/humanoid-silhouette-green.webp',
'Blood Thorn': 'icons/consumables/plants/thorned-stem-vine-green.webp',
'Circle of stones': 'icons/environment/wilderness/arch-stone.webp',
Glimmer: 'icons/magic/nature/elemental-plant-humanoid.webp',
Gloom: 'icons/magic/perception/silhouette-stealth-shadow.webp',
Maelstrom: 'icons/magic/water/vortex-water-whirlpool.webp',
Tempest: 'icons/magic/lightning/bolts-salvo-clouds-sky.webp'
Husk: 'icons/magic/earth/strike-body-stone-crumble.webp',
Zealot: 'icons/environment/people/cleric-grey.webp'
}
},
starforged: {
Expand Down
2 changes: 2 additions & 0 deletions src/module/datasworn2/import/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ for (const collection of collections) {
console.log(collection)
const itemPackName = {
classic: 'foes',
delve: 'delve-foes',
starforged: 'starforged-encounters',
sundered_isles: 'sundered-isles-encounters'
}[collection]
Expand All @@ -653,6 +654,7 @@ for (const collection of collections) {

const actorPackName = {
classic: 'foe-actors-is',
delve: 'foe-actors-delve',
starforged: 'foe-actors-sf',
sundered_isles: 'foe-actors-si'
}[collection]
Expand Down
1 change: 1 addition & 0 deletions src/module/datasworn2/import/rendering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const COMPENDIUM_KEY_MAP = {
},
npc: {
classic: 'ironswornfoes',
delve: 'delvefoes',
starforged: 'starforgedencounters',
sundered_isles: 'sunderedislesnpcs'
},
Expand Down
16 changes: 16 additions & 0 deletions system/system.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@
"name": "Ironsworn: Delve",
"color": "#444444",
"packs": [
"ironsworndelvefoes",
"foeactorsdelve",
"ironsworndelvemoves",
"ironsworndelveoracles",
"ironsworndelvethemes",
Expand Down Expand Up @@ -145,6 +147,13 @@
"path": "packs/foe-actors-is",
"type": "Actor"
},
{
"name": "foeactorsdelve",
"label": "Delve Foe Actors",
"system": "foundry-ironsworn",
"path": "packs/foe-actors-delve",
"type": "Actor"
},
{
"name": "foeactorssf",
"label": "Starforged Foe Actors",
Expand Down Expand Up @@ -208,6 +217,13 @@
"path": "packs/foes",
"type": "Item"
},
{
"name": "ironsworndelvefoes",
"label": "Delve Foes",
"system": "foundry-ironsworn",
"path": "packs/delve-foes",
"type": "Item"
},
{
"name": "ironswornscenes",
"label": "Ironsworn Maps",
Expand Down

0 comments on commit 911e4aa

Please sign in to comment.