Kiwami-2-Model-Replacer/config.default.js
Lordmau5 3993a25e4f Allow exclusion to work as a whitelist as well
That way only the models listed in it will be replaced with other models (e.g. only Kiryu)
2020-05-21 19:21:06 +02:00

72 lines
1.6 KiB
JavaScript

// Which mode the program should run in?
//
// 0 = Everyone is one model (singleModel)
// 1 = Everyone has a random model from a list (randomModels)
// 2 = Everyone is a completely random model
const mode = 2;
// Should we try to make sure models are replaced
// with another one of the same "type"? (2nd byte)
const sameType = false;
// Singular model to replace when mode is 0
//
// Example: [0x71, 0x08] for Kiryu
// const singleModel = [0x71, 0x08];
const singleModel = [0x71, 0x08];
// List of models to choose randomly from when mode is 1
const randomModels = [
[0x71, 0x08],
[0x72, 0x08],
[0x81, 0x08],
[0x75, 0x08],
[0x7d, 0x08],
[0x77, 0x08],
[0x7b, 0x08],
[0x7a, 0x08],
[0x78, 0x08],
[0x79, 0x08],
[0x73, 0x08],
[0x7f, 0x08],
[0x7e, 0x08],
[0x7c, 0x08],
[0x82, 0x08],
[0x76, 0x08],
[0x80, 0x08],
[0x83, 0x08],
];
// List of base models to exclude from modifications
// Other models can still be replaced *with* that model
//
// Example: If Kiryu's base model is found it will never be changed
// That means Kiryu can't be set to Daigo, but Daigo can still be set to Kiryu
// Can also work as a whitelist so only the models listed here will be replaced
const exclusions = {
isWhitelist: false,
models: [
[0x71, 0x08],
[0x72, 0x08],
],
};
// Blacklist to prevent models from appearing
// Can also act as a whitelist so *only* those models will appear
const blacklist = {
isWhitelist: false,
models: [
[0x58, 0x08],
[0x1e, 0x0a],
],
};
module.exports = {
mode,
sameType,
singleModel,
randomModels,
exclusions,
blacklist,
};