Put reused stuff in local storage for other use
This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/585278/1865890/Wolvden%20-%20Storage.js
// ==UserScript==
// @name Wolvden - Storage
// @namespace https://greasyfork.org/users/817374
// @version 2026-07-02
// @description Put reused stuff in local storage for other use
// @author mandanarchi
// @match https://www.wolvden.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=wolvden.com
// @grant none
// @license MIT
// ==/UserScript==
////////// COMBO BASES //////////
const STORAGE_COMBO_BASES = 'wolfComboBases';
let comboBases = {
'Arthia': {'combine': ['Artemis', 'Cynthia'], 'condition': 'Night' },
'Diaelum': {'combine': ['Caelum', 'Diana'], 'condition': 'Night' },
'Glownoise': {'combine': ['Airglow', 'Turquoise'], 'condition': 'Night' },
'Moonloss': {'combine': ['Losna', 'Moonlight'], 'condition': 'Night' },
'Selunia': {'combine': ['Luna', 'Selene'], 'condition': 'Night' },
'Acid': {'combine': ['Arkose', 'Rain']},
'Biochar': {'combine': ['Nightshade', 'Sphalerite']},
'Collagen': {'combine': ['Antler', 'Tide']},
'Crayfish': {'combine': ['Auburn', 'Denim']},
'Crocus': {'combine': ['Malachite', 'Saffron']},
'Cupcake': {'combine': ['Lavender', 'Rime']},
'Febris': {'combine': ['Isabel', 'Vapor']},
'Fulica': {'combine': ['Coot', 'Lupin']},
'Giallo Antico': {'combine': ['Marble', 'Xanthic']},
'Guilder': {'combine': ['Blonde', 'Doubloon']},
'Ruby Cocoa': {'combine': ['Cocoa', 'Sarder']},
'Rusticle': {'combine': ['Acanthite', 'Corrosion']},
'Sap': {'combine': ['Obsidian', 'Rufous']},
'Saprolite': {'combine': ['Bedrock', 'Sepia']},
'Seed': {'combine': ['Melchior', 'Peach']},
'Silica': {'combine': ['Greisen', 'Grossular']},
'Smoked Salt': {'combine': ['Jacinthe', 'Salt']},
'Steel Blue': {'combine': ['Maltese', 'Stele']},
};
let comboBaseStorage = localStorage.getItem(STORAGE_COMBO_BASES);
if (comboBaseStorage) {
comboBaseStorage = JSON.parse(comboBaseStorage);
} else {
comboBaseStorage = comboBases;
localStorage.setItem(STORAGE_COMBO_BASES, JSON.stringify(comboBaseStorage));
}
////////// PERSONALITIES //////////
const STORAGE_PERSONALITIES = 'wolfPersonalities';
let personalities = {
'aggressive': ['Arrogant', 'Bossy', 'Combative', 'Conceited', 'Impulsive', 'Malicious', 'Obnoxious', 'Sarcastic', 'Selfish', 'Vulgar'],
'stoic': ['Aloof', 'Anxious', 'Dishonest', 'Independent', 'Neutral', 'Pessimistic', 'Quiet', 'Sneaky', 'Sullen', 'Unfriendly'],
'friendly': ['Adventurous', 'Amiable', 'Fair', 'Helpful', 'Humble', 'Lazy', 'Observant', 'Optimistic', 'Scatterbrained', 'Sociable'],
'romantic': ['Capable', 'Charming', 'Confident', 'Dedicated', 'Dutiful', 'Imaginative', 'Keen', 'Precise', 'Reliable', 'Trusting']
};
let personalityStorage = localStorage.getItem(STORAGE_PERSONALITIES);
if (personalityStorage) {
personalityStorage = JSON.parse(personalityStorage);
} else {
personalityStorage = personalities;
localStorage.setItem(STORAGE_PERSONALITIES, JSON.stringify(personalityStorage));
}
console.log(personalityStorage);