Skip to content

Commit

Permalink
first draft at runebound species overhaul
Browse files Browse the repository at this point in the history
  • Loading branch information
Forien committed Dec 30, 2023
1 parent 0d5ee18 commit 6637b8c
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/modules/ForienArmoury.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Integrations from "./Integrations.mjs";
import ItemProperties from "./features/ItemProperties.mjs";
import ItemRepair from "./features/ItemRepair.mjs";
import SettingsApp from "./apps/SettingsApp.mjs";
import Species from "./features/Species.mjs";
import TemporaryRunes from "./features/Runes.mjs";
import Utility from "./utility/Utility.mjs";
import WorldTimeObserver from "./utility/WorldTimeObserver.mjs";
Expand All @@ -28,6 +29,7 @@ export default class ForienArmoury {
Integrations,
ItemProperties,
ItemRepair,
Species,
TemporaryRunes,
WorldTimeObserver,
]
Expand Down
174 changes: 174 additions & 0 deletions dist/modules/features/Species.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
import ForienBaseModule from "../utility/ForienBaseModule.mjs";

export default class Species extends ForienBaseModule {

applyWfrp4eConfig() {
let config = {};

config = foundry.utils.mergeObject(config, this.#species());
config = foundry.utils.mergeObject(config, this.#subspecies());

this.#mergeCareerReplacements();

return config;
}

#species() {
const config = {
species: {},
speciesCharacteristics: {},
speciesSkills: {},
speciesTalents: {},
speciesFate: {},
speciesRes: {},
speciesExtra: {},
speciesMovement: {},
speciesAge: {},
speciesHeight: {},
speciesRandomTalents: {},
};

/**#region Runebound */

config.species["runebound"] = "Runebound";
config.speciesCharacteristics["runebound"] = {
"ws": "2d10+25",
"bs": "2d10+25",
"s": "2d10+25",
"t": "2d10+25",
"i": "2d10+25",
"ag": "2d10+25",
"dex": "2d10+25",
"int": "2d10+15",
"wp": "2d10+25",
"fel": "2d10+15"
};
config.speciesSkills["runebound"] = [
"Animal Care",
"Charm",
"Cool",
"Consume Alcohol",
"Evaluate",
"Gossip",
"Haggle",
"Language (Wastelander)",
"Leadership",
"Lore (local)",
"Melee (Basic)",
"Ranged (Bow)"
];
config.speciesTalents["runebound"] = [
"Doomed",
"Runebound Mutation",
"Savvy, Suave",
];
config.speciesRandomTalents["runebound"] = {
'runebound-talents': 4
};
config.speciesFate["runebound"] = 1;
config.speciesRes["runebound"] = 2;
config.speciesExtra["runebound"] = 1;
config.speciesMovement["runebound"] = 4;
config.speciesAge["runebound"] = "2d6 + 10";
config.speciesHeight["runebound"] = {
feet: 4,
inches: 10,
die: "2d10"
};

/**#endregion Runebound */

return config;
}

#subspecies() {
let config = {
subspecies: {
runebound: {}
}
}

/**#region Runebound */

config.subspecies.runebound['reiklander'] = {
name: "Reiklander",
skills: [
"Animal Care",
"Charm",
"Cool",
"Evaluate",
"Gossip",
"Haggle",
"Language (Bretonnian)",
"Language (Wastelander)",
"Leadership",
"Lore (Reikland)",
"Melee (Basic)",
"Ranged (Bow)"
],
talents: [
"Doomed",
"Runebound Mutation",
"Savvy, Suave",
],
randomTalents: {
talents: 2,
'runebound-talents': 3
}
}

config.subspecies.runebound['orphaned'] = {
name: "Orphaned",
skills: [
"Animal Care",
"Bribery",
"Charm",
"Climb",
"Cool",
"Evaluate",
"Gossip",
"Haggle",
"Melee (Basic)",
"Melee (Brawling)",
"Ranged (Sling)",
"Stealth (Urban)"
],
talents: [
"Doomed",
"Flee!, Stone Soup",
"Small, random[1][runebound-talents]"
],
randomTalents: {
'runebound-talents': 3
}
}

/**#endregion Runebound */

return config;
}

#mergeCareerReplacements() {
game.wfrp4e.utility.mergeCareerReplacements({
runebound: {
"Cavalryman": ["Monster Hunter"],
"Engineer": ["Runebound Ranger"],
"Guard": ["Monster Hunter"],
"Hedge Witch": ["Runebound Ranger"],
"Hunter": ["Runebound Ranger"],
"Knight": ["Monster Hunter"],
"Mystic": ["Runebound Ranger"],
"Nun": ["Runebound Ranger"],
"Priest": ["Runebound Ranger"],
"Protagonist": ["Monster Hunter"],
"Road Warden": ["Monster Hunter", "Runebound Ranger"],
"Scout": ["Runebound Ranger"],
"Soldier": ["Monster Hunter", "Runebound Ranger"],
"Warrior Priest": ["Runebound Ranger"],
"Watchman": ["Runebound Ranger"],
"Witch": ["Runebound Ranger"],
"Wizard": ["Runebound Ranger"],
},
});
}
}

0 comments on commit 6637b8c

Please sign in to comment.