make quest categories configurable

This commit is contained in:
Martin Michelsen
2023-06-08 20:43:46 -07:00
parent d6eee92645
commit 25b6c594bd
114 changed files with 257 additions and 251 deletions
+36 -50
View File
@@ -97,55 +97,41 @@
"PCPatchServerMessage": "newserv patch server\r\n\r\nThis server is not affiliated with, sponsored by, or in any other way connected to SEGA or Sonic Team, and is owned and operated completely independently.",
"BBPatchServerMessage": "$C7newserv patch server\n\nThis server is not affiliated with, sponsored by, or in any\nother way connected to SEGA or Sonic Team, and is owned\nand operated completely independently.",
"CommonItemDropRates-Enemy": [
0x03000000, // material
0x20000000, // equipment
0x06000000, // technique disk
0x01800000, // scape doll
0x06000000, // grinder
0x10000000, // atomizers, etc.
0x20000000, // mates/fluids
0x40000000, // meseta
],
"CommonItemDropRates-Box": [
0x00800000, // material
0x20000000, // equipment
0x01000000, // technique disk
0x02000000, // scape doll
0x08000000, // grinder
0x10000000, // atomizers, etc.
0x20000000, // mates/fluids
0x80000000, // meseta
],
"CommonUnitTypes": [
// normal
[0x00, 0x00, 0x00, 0x04, 0x04, 0x04, 0x08, 0x08, 0x08, 0x0C, 0x0C, 0x0C,
0x10, 0x10, 0x10, 0x14, 0x14, 0x14, 0x18, 0x18, 0x18, 0x21, 0x21, 0x21,
0x24, 0x24, 0x24, 0x27, 0x27, 0x27, 0x2A, 0x2A, 0x2A, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF],
// hard
[0x01, 0x01, 0x05, 0x05, 0x09, 0x09, 0x0D, 0x0D, 0x11, 0x11, 0x15, 0x15,
0x19, 0x19, 0x21, 0x21, 0x24, 0x24, 0x27, 0x27, 0x2A, 0x2A, 0x30, 0x30,
0x33, 0x33, 0x36, 0x36, 0x39, 0x39, 0x3C, 0x3C, 0x3F, 0x3F, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF],
// very hard
[0x02, 0x02, 0x06, 0x06, 0x0A, 0x0A, 0x0E, 0x0E, 0x12, 0x12, 0x16, 0x16,
0x1A, 0x1A, 0x22, 0x22, 0x25, 0x25, 0x28, 0x28, 0x2B, 0x2B, 0x31, 0x31,
0x34, 0x34, 0x37, 0x37, 0x3A, 0x3A, 0x3D, 0x3D, 0x3F, 0x3F, 0x41, 0x41,
0x42, 0x42, 0x43, 0x43, 0x44, 0x44, 0x45, 0x45, 0x46, 0x46, 0x47, 0x47,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF],
// ultimate
[0x02, 0x02, 0x06, 0x06, 0x0A, 0x0A, 0x0E, 0x0E, 0x12, 0x12, 0x16, 0x16,
0x1A, 0x1A, 0x23, 0x23, 0x26, 0x26, 0x29, 0x29, 0x2C, 0x2C, 0x31, 0x31,
0x34, 0x34, 0x37, 0x37, 0x3A, 0x3A, 0x3D, 0x3D, 0x3F, 0x3F, 0x41, 0x41,
0x42, 0x42, 0x43, 0x43, 0x44, 0x44, 0x45, 0x45, 0x46, 0x46, 0x47, 0x47,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF],
"QuestCategories": [
// Each entry here is [type, token, flags, category_name, description]. The
// order these are defined matches the order they'll appear in the quest
// categories menu on the client.
// The fields in each entry are:
// flags: a bit field containing an OR'ed combination of one or more of:
// 0x01 - appears in normal mode
// 0x02 - appears in battle mode
// 0x04 - appears in challenge mode
// 0x08 - appears in solo mode (BB)
// 0x10 - appears at government counter (BB)
// 0x20 - appears in download quest menu
// 0x40 - appears in Episode 3 download quest menu
// 0x80 - hidden on pre-V3 versions (DC and PC)
// type: the character that newserv expects at the beginning of the quest
// filename
// short_token: the token newserv expects to see in quest filenames after
// the quest number
// category_name: what appears in the quest menu on the client
// description: what appears in the category description window (may
// contain color escape codes like $C6)
[0x21, "q", "ret", "Retrieval", "$E$C6Quests that involve\nretrieving an object"],
[0x21, "q", "ext", "Extermination", "$E$C6Quests that involve\ndestroying all\nmonsters"],
[0x21, "q", "evt", "Events", "$E$C6Quests that are part\nof an event"],
[0x21, "q", "shp", "Shops", "$E$C6Quests that contain\nshops"],
[0xA1, "q", "vr", "Virtual Reality", "$E$C6Quests that are\ndone in a simulator"],
[0xA1, "q", "twr", "Control Tower", "$E$C6Quests that take\nplace at the Control\nTower"],
[0x02, "b", "", "Battle", "$E$C6Battle mode rule\nsets"],
[0x04, "c", "", "Challenge (Episode 1)", "$E$C6Challenge mode\nquests in Episode 1"],
[0x84, "d", "", "Challenge (Episode 2)", "$E$C6Challenge mode\nquests in Episode 2"],
[0x08, "q", "1p", "Solo", "$E$C6Quests that require\na single player"],
[0x10, "q", "gv1", "Hero in Red", "$E$CG-Red Ring Rico-\n$C6Quests that follow\nthe Episode 1\nstoryline"],
[0x10, "q", "gv2", "The Military's Hero", "$E$CG-Heathcliff Flowen-\n$C6Quests that follow\nthe Episode 2\nstoryline"],
[0x10, "q", "gv4", "The Meteor Impact Incident", "$E$C6Quests that follow\nthe Episode 4\nstoryline"],
[0x20, "q", "dl", "Download", "$E$C6Quests to download\nto your Memory Card"],
[0x40, "e", "", "Download", "$E$C6Quests to download\nto your Memory Card"],
],
}