Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions build/tradable.mjs
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
const builtUntradable = ['Warframe', 'Throwing', 'Shotgun', 'Rifle', 'Pistol', 'Melee', 'Sword And Shield'];
const tradableConditions = (item) => !(builtUntradable.includes(item.type) && item.name.match(/Prime/gi));

const tradableTypes = [
'Arcane',
const tradableMods = [
'Arch-Melee Mod',
'Archwing Mod',
'Captura',
'Companion Mod',
'Cut Gem',
'Fish',
'Focus Lens',
'K-Drive Mod',
'Kavat Mod',
'Kubrow Mod',
'Melee Mod',
'Necramech Mod',
'Primary Mod',
'Relic',
'Secondary Mod',
'Sentinel Mod',
'Shotgun Mod',
'Stance Mod',
'Upgrades',
'Warframe Mod',
];
const tradableTypes = ['Arcane', 'Captura', 'Cut Gem', 'Fish', 'Focus Lens', 'Relic', 'Upgrades', ...tradableMods];
const untradableTypes = [
'Color Palette',
'Exalted Weapon',
Expand Down
2 changes: 1 addition & 1 deletion build/wikia/scrapers/ModScraper.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import transformMod from '../transformers/transformMod.mjs';

export default class ModScraper extends WikiaDataScraper {
constructor() {
super('https://warframe.fandom.com/wiki/Module:Mods/data?action=edit', 'Mod', transformMod);
super('https://wiki.warframe.com/w/Module:Mods/data?action=edit', 'Mod', transformMod);
}
}
Loading