commit 3b7bc2041ce6babc41a106a4e52257d595e02da9 parent 3317c2b6ac0efe79296d7fb62e01a6f70e690b88 Author: anon <anon@example.com> Date: Tue, 20 Oct 2026 23:11:00 +0000 Add sourced NPC conversations and WASM dialogue support Diffstat:
45 files changed, 1610 insertions(+), 474 deletions(-)
diff --git a/DEVELOPERS.md b/DEVELOPERS.md @@ -5,8 +5,10 @@ See [README.md](README.md) for the quick start and repository overview. ## Server build and operation -Game definitions and their provenance are embedded YAML in `server/gamedata`. Static resources -live in `server/assets` and are embedded in the server. Build with Go 1.24 or +Game definitions and their provenance are embedded YAML in `server/gamedata`. +NPC behavior is Go code in that directory, linked to YAML group IDs through +`NPCScripts`; see [the conversation API and source evidence](docs/npc-scripts.md). +Static resources live in `server/assets` and are embedded in the server. Build with Go 1.24 or newer from the repository root: ```sh diff --git a/docs/README.md b/docs/README.md @@ -25,6 +25,7 @@ current feature status. Read the source for implementation details and the | [protocol-13.2.md](protocol-13.2.md) | Recovered 13.2 envelope, appearance, character, movement, and teleport differences, with native runtime checks. | | [game-data.md](game-data.md) | Resource database, map/terrain decoding, original district populations, monster appearances, and unresolved template links. | | [population-14.9.1.md](population-14.9.1.md) | Selected-client population formats, appearance coverage, sourced name inferences and preservation of YAML edits. | +| [npc-scripts.md](npc-scripts.md) | Recovered dialogue, speaker ID evidence, reconstructed menus and verified 14.9.1 conversation packets. | | [items.md](items.md) | Selected-client item/nano definitions, serialization, requirements and effects, and the boundary between definitions and owned instances. | | [zoning.md](zoning.md) | Fixed door links, shared interior returns, boundary lines and portal polygons, native trigger behavior, and unresolved mission destinations. | | [maps.md](maps.md) | Local and planet coordinates, native world origins, tiled planet imagery, area-map textures and building masks. | diff --git a/docs/npc-scripts.md b/docs/npc-scripts.md @@ -0,0 +1,150 @@ +# Recovered NPC conversations + +The local Fandom mirror contains recorded dialogue, including introductions and +quest conversations. Sixteen speakers can be linked to maintained NPC group IDs. +Their Go scripts in `server/gamedata/npc_scripts.go` expose 164 recorded exchanges. +The source transcripts are linear records: original branch graphs, availability +conditions and most gameplay consequences have not been recovered. The topic +menus are a reconstruction, not a recovered original conversation tree. + +## Sources and attribution + +The 879-page SQLite mirror is `~/tmp/fandom-scraper/anarchyonline.db`, SHA-256 +`012badc22701141d936a50ae574cdeb663cf5b02ca7c27a39ea80b64ded41b11`. +Dialogue text is attributed to the Anarchy Online Wiki contributors under +CC-BY-SA; each registry entry retains its source article URL. The adaptation +normalizes typographic punctuation to ASCII, retains narrative lines and source +spellings, and reconstructs menus and farewell termination. Source typos such as +Ida's spoken surname "Sculler" are retained. + +Several articles bear April 2006 contributor signatures. These date the +documentation, not the introduction of the dialogue. The text is not established +as an exact 14.9.1 transcript. Explicit Shadowlands travel and post-Ross leadership +references are omitted, along with payments, quest acceptance, hand-ins and reward +actions. Other dialogue may still reflect later revisions. + +| Speaker | YAML group ID | Source article | +| --- | --- | --- | +| Ida Schuller | `710/district/0/fixed/23` | [Ida Schuller](https://anarchyonline.fandom.com/wiki/Ida_Schuller) | +| Horatio Campbell | `710/district/0/fixed/22` | [Horatio Campbell](https://anarchyonline.fandom.com/wiki/Horatio_Campbell) | +| Sam Cadena | `550/district/8/fixed/3` | [Sam Cadena](https://anarchyonline.fandom.com/wiki/Sam_Cadena) | +| Mr. Gips | `545/district/1/fixed/8` | [Mr Gips](https://anarchyonline.fandom.com/wiki/Mr_Gips) | +| Eric Mendelson | `600/district/7/fixed/8` | [Eric Mendelson](https://anarchyonline.fandom.com/wiki/Eric_Mendelson) | +| Richelieu | `610/district/11/fixed/1` | [Richelieu](https://anarchyonline.fandom.com/wiki/Richelieu) | +| Sun Tzu | `550/district/2/fixed/9` | [Sun Tzu](https://anarchyonline.fandom.com/wiki/Sun_Tzu) | +| Stolt Jensenberg | `565/district/13/fixed/0` | [Stolt Jensenberg](https://anarchyonline.fandom.com/wiki/Stolt_Jensenberg) | +| Zoftig Blimp | `560/district/18/fixed/4` | [Zoftig Blimp](https://anarchyonline.fandom.com/wiki/Zoftig_Blimp) | +| Tsunayoshi Smith | `610/district/1/fixed/46` | [Tsunayoshi Smith](https://anarchyonline.fandom.com/wiki/Tsunayoshi_Smith) | +| Kendric Kuzio | `595/district/8/fixed/0` | [Jack quest](https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest) | +| Susan Furor | `685/district/5/fixed/0` | [Jack quest](https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest) | +| Quintus Romulus | `1941/district/0/fixed/179` | [Jack quest](https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest) | +| Janella Gheron | `1833/district/0/fixed/0` | [Jack quest](https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest) | +| Robin Raag | `125/district/0/fixed/218` | [Jack quest](https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest) | +| Good Time Party Mixer | `566/district/1/fixed/5` | [Living Cyber Armor](https://anarchyonline.fandom.com/wiki/Living_Cyber_Armor) | + +Four speaker names also resolve placeholders. AVQE matches Kendric's Adventurer +role and Deep Artery Valley coordinates; DOQE matches Quintus's Doctor role in +Biomare; EIQU matches Janella's Engineer role inside Cyborg Barracks; NOTC matches +Robin's profession and the Smuggler's Den location behind Ash within one metre. +These remain name inferences. Their placeholder appearances are retained. +`npc_names.yaml` and the four zone records retain the evidence. The Party Mixer +script is attached to the documented Newland instance; the Reet Retreat instance +is not established as having this armor dialogue. + +The complete extraction is retained locally at +`local/reports/npc-conversations.json`: 24 speaker entries, 191 topic records and +410 recorded turns, including omitted and unmapped content. It also records +mapping notes and additional article transcripts. This research archive is not +loaded by the server. + +## Go scripting contract + +`gamedata.NPCScripts[group.ID]` selects an `NPCScript`. Its `Talk` function takes +an empty string to start and a previously offered `DialogueChoice.ID` to answer. +It returns `Dialogue{Text, Choices}`. Text may be empty (Sun Tzu has no recorded +greeting); no choices ends the conversation. Recovered scripts use `goodbye` for +recorded farewells. Unrecognized choices return an empty dialogue. + +The callbacks are stateless Go functions. Each world connection owns its offered +choices and current NPC; wire indexes are translated to those choice IDs. The +server rechecks visibility, playfield, loading state and a ten-metre distance on +every turn. That distance is a server policy, not a recovered historical rule. +Inventory transactions and quest state are not part of this API yet. + +## Verified 14.9.1 protocol + +Static verification used shipped `kkr.dll`, SHA-256 +`a37bc1c15053fdcc5572772309f7074c4f83baffe2faa164df40b059b7c480c0`. +The 59 retained evidence records and artifact metadata are in +`local/reports/npc-dialogue-protocol-evidence.json` and +`local/reports/npc-dialogue-protocol-metadata.json`. + +SimpleChar activation at `0x100821d0` converts flag `0x08000000` into stat 768 +(`HasKnuBotData`) equal to one. Default action at `0x1002c350` checks that stat +and sends OpenChatWindow with two false booleans. The outer identity is the +player; the nested identity is the NPC. Evidence IDs are +`ev_3b0a69b2fc083c0a402327c55b2989657a34cc90de80c8e469e5d01e58060287` +and `ev_a7c19a7ab89247d290564d7b4a8a50386b784d615766760e5dde01aadf6d9302`. + +After the normal N3 header/pass-on flag, every dialogue payload begins with +big-endian `u16(2)` and NPC identity (`u32 type`, `u32 instance`). + +| Message | Key | Remaining fields | +| --- | --- | --- | +| Open, both directions | `0x3b132d64` | Two u32 booleans; server replies 1,0 | +| Answer, inbound | `0x2103247d` | Zero-based i32 choice index | +| Append text | `0x5d70532a` | i32 zero, u32 byte length, raw text | +| Answer list | `0x55704d31` | u32 count, repeated u32 byte length and raw text | +| Close, both directions | `0x270a4c62` | i32 reason, u32 byte length, raw text | + +Readers: base `0x10154d50`, open `0x10155a50`, answer `0x101538d0`, text +`0x10154960`, choices `0x10153a40`, close `0x10155230`. Text must be 1-10,000 +bytes; answer lists must contain 1-1,000 labels of 1-1,000 bytes each. Empty +lists are invalid, so terminal replies send Close instead. Append text has no +trailing DWORD. Close accepts empty text; server reason 5 follows CellAO. + +CellAO-NightPredator at `ca77f375a7dabe3be769da94e6c2a3d093344c2c` +provides useful secondary examples in `ZoneEngine/Core/KnuBot` and the three +`ZoneEngine/Scripts` samples (InfoBot, Flappy, ItemGiver). These are emulator +examples, not recovered original AO scripts. Its Trade-based start handler +differs from the shipped 14.9.1 default action. Archived CellAO at +`433ecc25a6229000e41a88f1b39c8fe8c3a6f216` corroborates the reply values and +zero-based indexes, but appends a surplus zero to its text packet. + +## Other recovered scripting leads + +The Jack quest article records profession-specific item exchanges and rewards; +Living Cyber Armor records multi-stage tasks; Rings of Tir records dog-tag bag +progression; the shoulderpad article records parts collection. These are useful +inputs for inventory and quest implementations, but do not supply complete +historical conditions or executable original scripts. No mission or item grants +are inferred from the conversation menus. + +Daedra Iberra's location does not select a unique maintained NPC, and Dr. Henrik +Stevenson's Omni-Med transcript has no identified fixed template. Five Jack quest +speaker sections contain no dialogue, and Monday Kline has player prompts without +answers. Those are retained as research gaps. Omni Starter Quests depends on +Newbie Island, and several other dialogue pages describe Shadowlands or later +content; they are excluded from this target. + +Go tests cover every script's ID link, recorded text, omitted actions, protocol +limits and farewell behavior. World-connection tests exercise native packet +framing, conversation validation and repeated open requests. Replies use plain +text and explicit line breaks; this client displays HTML font tags literally. +Repeated opens for the same active NPC are ignored so the native window does not +close and invalidate the current session. + +WASM GUI verification on 2026-10-20 exercised Ida at her maintained location in +the full Omni-1 Trade population: greeting, topic menu, two recorded replies and +closing. Temporary HTML buttons queued mouse events through the existing browser +input bridge; the native dialogue widget selected the topics and emitted the +answer packets. Ordinary desktop pointer automation was unreliable. The other +15 speakers have Go coverage but were not individually exercised in the GUI. +Screenshots, client packets and bundle metadata are retained in +`local/reports/npc-wasm-test-status.json` and its referenced files. + +Choice links require the `MSVCRT.dll!atol` import from `ddr.dll` at +`sub_2B095D60`. The runtime maps it to the same 32-bit decimal parser as `atoi`; +`src/tests/atoi.c` covers 4,366 cases for each export, including wraparound and ABI +state. Human body models also require matching appearance flags; see the +[population notes](population-14.9.1.md). diff --git a/docs/population-14.9.1.md b/docs/population-14.9.1.md @@ -143,6 +143,13 @@ groups in 94 zones: 16,996 affected instances, including 14,993 model changes. the structural comparison permits changes only to name, model, appearance, appearance status and evidence comment. +Human body models also require human breed and sex bits in the packed appearance. +Pairing model 26088 (Solitus thin male) with creature appearance 229 caused a null +material dereference while loading Omni-1 Trade. The generator now assigns +compatible human appearance bits to the 40 human models used by maintained NPCs, +correcting 439 fixed instances across 24 zones. Build 1 remains provisional; +these assignments do not recover original heads, clothing or equipment. + Run `python tools/data/audit_npc_names.py` to refresh the inventory. It reads maintained zone YAML and writes `local/reports/npc-name-audit.json`, ranking unresolved names by instance count and listing every playfield/district context. diff --git a/server/dialogue.go b/server/dialogue.go @@ -0,0 +1,124 @@ +package main + +import ( + "ao/server/gamedata" + "encoding/binary" + "fmt" + "time" +) + +// Only the owning world connection reads or changes its conversation session. +type npcDialogue struct { + npc uint32 + groupID string + choices []gamedata.DialogueChoice +} + +func npcDialoguePacket(key, player, npc uint32, payload []byte) []byte { + // kkr.dll KnubotMsgIIR_c::Read (0x10154d50): version and NPC identity. + body := binary.BigEndian.AppendUint16(nil, 2) + body = binary.BigEndian.AppendUint32(body, 50000) + body = binary.BigEndian.AppendUint32(body, npc) + return n3Packet(key, 50000, player, append(body, payload...)) +} + +func (server *server) handleNPCDialogue(client *worldClient, body []byte) error { + key := binary.BigEndian.Uint32(body) + length := 34 + if key == 0x2103247d { + length = 30 + } + if len(body) < length { + return fmt.Errorf("short NPC dialogue message") + } + if binary.BigEndian.Uint16(body[16:18]) != 2 || binary.BigEndian.Uint32(body[18:22]) != 50000 { + return nil + } + npcID := binary.BigEndian.Uint32(body[22:26]) + if key == 0x270a4c62 { + if client.dialogue != nil && client.dialogue.npc == npcID { + client.dialogue = nil + } + return nil + } + + // Revalidate visibility, zone and proximity on every turn, including after zoning. + server.mutex.Lock() + player, npc := server.characters[client.id], server.characters[npcID] + var script gamedata.NPCScript + groupID := "" + if player != nil && npc != nil && npc.npc && client.ready && !client.loading && client.npcs[npcID] && player.playfield == npc.playfield { + position := predictedPosition_locked(player, client, time.Now()) + x, y, z := npc.position[0]-position[0], npc.position[1]-position[1], npc.position[2]-position[2] + if x*x+y*y+z*z <= 10*10 { + groupID = npc.npcDefinitionID + script = gamedata.NPCScripts[groupID] + } + } + server.mutex.Unlock() + + // Wire indexes can select only choices offered by this connection's script. + choice := "" + if key == 0x2103247d { + index := binary.BigEndian.Uint32(body[26:30]) + if client.dialogue == nil || client.dialogue.npc != npcID { + return nil + } + if client.dialogue.groupID != groupID || index >= uint32(len(client.dialogue.choices)) { + script = gamedata.NPCScript{} + } else { + choice = client.dialogue.choices[index].ID + } + } + if script.Talk == nil { + if client.dialogue != nil && client.dialogue.npc == npcID { + client.dialogue = nil + return client.send(npcDialoguePacket(0x270a4c62, client.id, npcID, []byte{0, 0, 0, 5, 0, 0, 0, 0})) + } + return nil + } + // Reopening an active window makes the native client close the old session. + if key == 0x3b132d64 && client.dialogue != nil && client.dialogue.npc == npcID { + return nil + } + + // Execute Go gamedata without holding the world lock or sharing player sessions. + reply := script.Talk(choice) + var packets [][]byte + if key == 0x3b132d64 { + if client.dialogue != nil && client.dialogue.npc != npcID { + packets = append(packets, npcDialoguePacket(0x270a4c62, client.id, client.dialogue.npc, []byte{0, 0, 0, 5, 0, 0, 0, 0})) + } + packets = append(packets, npcDialoguePacket(0x3b132d64, client.id, npcID, []byte{0, 0, 0, 1, 0, 0, 0, 0})) + } + if reply.Text != "" { + // The native widget appends directly after its player prompt. + text := reply.Text + "\n" + if key == 0x2103247d { + text = "\n" + text + } + payload := binary.BigEndian.AppendUint32(nil, 0) + payload = binary.BigEndian.AppendUint32(payload, uint32(len(text))) + payload = append(payload, text...) + packets = append(packets, npcDialoguePacket(0x5d70532a, client.id, npcID, payload)) + } + client.dialogue = nil + if len(reply.Choices) != 0 { + payload := binary.BigEndian.AppendUint32(nil, uint32(len(reply.Choices))) + for _, option := range reply.Choices { + payload = binary.BigEndian.AppendUint32(payload, uint32(len(option.Text))) + payload = append(payload, option.Text...) + } + packets = append(packets, npcDialoguePacket(0x55704d31, client.id, npcID, payload)) + client.dialogue = &npcDialogue{npc: npcID, groupID: groupID, choices: reply.Choices} + } else { + // The native AnswerList parser rejects an empty list; close a finished script. + packets = append(packets, npcDialoguePacket(0x270a4c62, client.id, npcID, []byte{0, 0, 0, 5, 0, 0, 0, 0})) + } + for _, packet := range packets { + if err := client.send(packet); err != nil { + return err + } + } + return nil +} diff --git a/server/dialogue_test.go b/server/dialogue_test.go @@ -0,0 +1,257 @@ +package main + +import ( + "encoding/binary" + "encoding/hex" + "net" + "strings" + "testing" + "time" +) + +func newDialogueWorld(t *testing.T) *server { + t.Helper() + data := testNPCData() + data.Playfields[0].Districts[0].Groups[0].ID = "710/district/0/fixed/23" + data.Playfields[0].Districts[0].Groups[0].Name = "Ida Schuller" + useNPCData(t, data) + world := newTestServer(t) + world.newCharacter() + return world +} + +func sendDialogueRequest(t *testing.T, client net.Conn, key uint32, payload string) { + t.Helper() + body, err := hex.DecodeString(payload) + if err != nil { + t.Fatal(err) + } + if _, err := client.Write(targetPacket(n3Packet(key, 50000, 1, body))); err != nil { + t.Fatal(err) + } +} + +func readDialogueUpdate(t *testing.T, client net.Conn, key uint32) []byte { + t.Helper() + packet, err := readPacket(client) + if err != nil { + t.Fatal(err) + } + if len(packet) < 39 || binary.BigEndian.Uint32(packet[16:20]) != key || hex.EncodeToString(packet[29:39]) != "00020000c350000f4240" { + t.Fatalf("unexpected native dialogue packet: %x", packet) + } + return packet[39:] +} + +func openIdaConversation(t *testing.T, client net.Conn) { + t.Helper() + // Native default action sends version 2, NPC identity and two false booleans. + sendDialogueRequest(t, client, 0x3b132d64, "00020000c350000f42400000000000000000") + if payload := readDialogueUpdate(t, client, 0x3b132d64); hex.EncodeToString(payload) != "0000000100000000" { + t.Fatalf("unexpected open flags: %x", payload) + } + if payload := readDialogueUpdate(t, client, 0x5d70532a); string(payload[8:]) != "Hi.\n" || binary.BigEndian.Uint32(payload[4:8]) != 4 { + t.Fatalf("unexpected Ida greeting: %x", payload) + } + if payload := readDialogueUpdate(t, client, 0x55704d31); binary.BigEndian.Uint32(payload) != 21 || string(payload[8:31]) != "Tell me about yourself." { + t.Fatalf("unexpected Ida topic menu: %x", payload) + } +} + +func TestNPCConversationUsesNativeWorldMessages(t *testing.T) { + world := newDialogueWorld(t) + client := connectZoningClient(t, world, true) + openIdaConversation(t, client) + + sendDialogueRequest(t, client, 0x2103247d, "00020000c350000f424000000000") + answer := readDialogueUpdate(t, client, 0x5d70532a) + choices := readDialogueUpdate(t, client, 0x55704d31) + sendDialogueRequest(t, client, 0x270a4c62, "00020000c350000f42400000000000000000") + // An answer after closing must be ignored. A ping acts as an ordered barrier. + sendDialogueRequest(t, client, 0x2103247d, "00020000c350000f424000000000") + ping := systemPacket(1, nil) + binary.BigEndian.PutUint16(ping[2:4], 11) + client.Write(ping) + response, err := readPacket(client) + + if len(answer) != int(binary.BigEndian.Uint32(answer[4:8]))+8 || !strings.HasPrefix(string(answer[8:]), "\nI'm Ida Sculler. I'm a nano-technician.") { + t.Fatalf("recorded answer or native string length was lost: %x", answer) + } + if binary.BigEndian.Uint32(choices) != 21 || err != nil || binary.BigEndian.Uint16(response[2:4]) != 11 { + t.Fatalf("menu or conversation close failed: %x %x %v", choices, response, err) + } +} + +func TestNPCConversationIgnoresRepeatedOpen(t *testing.T) { + world := newDialogueWorld(t) + client := connectZoningClient(t, world, true) + openIdaConversation(t, client) + + sendDialogueRequest(t, client, 0x3b132d64, "00020000c350000f42400000000000000000") + sendDialogueRequest(t, client, 0x2103247d, "00020000c350000f424000000000") + answer := readDialogueUpdate(t, client, 0x5d70532a) + choices := readDialogueUpdate(t, client, 0x55704d31) + + if !strings.HasPrefix(string(answer[8:]), "\nI'm Ida Sculler. I'm a nano-technician.") || binary.BigEndian.Uint32(choices) != 21 { + t.Fatalf("repeated open interrupted the conversation: %x %x", answer, choices) + } +} + +func TestScriptedNPCAdvertisesNativeDialogue(t *testing.T) { + for _, spawn := range []struct { + name string + npc character + flagged bool + }{ + {"scripted NPC", character{npc: true, npcDefinitionID: "710/district/0/fixed/23"}, true}, + {"ordinary NPC", character{npc: true}, false}, + {"player", character{npcDefinitionID: "710/district/0/fixed/23"}, false}, + } { + t.Run(spawn.name, func(t *testing.T) { + spawn.npc.rotation[3] = 1 + + packet := targetPacket(characterPacket(&spawn.npc)) + + if (binary.BigEndian.Uint32(packet[30:34])&0x08000000 != 0) != spawn.flagged { + t.Fatalf("native HasKnuBotData flag: %x", packet[30:34]) + } + }) + } +} + +func TestNPCRecordedFarewellEndsConversation(t *testing.T) { + world := newDialogueWorld(t) + world.characters[1000000].npcDefinitionID = "600/district/7/fixed/8" + client := connectZoningClient(t, world, true) + sendDialogueRequest(t, client, 0x3b132d64, "00020000c350000f42400000000000000000") + readDialogueUpdate(t, client, 0x3b132d64) + readDialogueUpdate(t, client, 0x5d70532a) + readDialogueUpdate(t, client, 0x55704d31) + + sendDialogueRequest(t, client, 0x2103247d, "00020000c350000f424000000006") + farewell := readDialogueUpdate(t, client, 0x5d70532a) + closed := readDialogueUpdate(t, client, 0x270a4c62) + + if string(farewell[8:]) != "\nGoodbye.\n" || hex.EncodeToString(closed) != "0000000500000000" { + t.Fatalf("recorded farewell did not end the dialogue: %x %x", farewell, closed) + } +} + +func TestNPCWithoutRecordedGreetingOpensWithChoices(t *testing.T) { + world := newDialogueWorld(t) + world.characters[1000000].npcDefinitionID = "550/district/2/fixed/9" + client := connectZoningClient(t, world, true) + + sendDialogueRequest(t, client, 0x3b132d64, "00020000c350000f42400000000000000000") + readDialogueUpdate(t, client, 0x3b132d64) + choices := readDialogueUpdate(t, client, 0x55704d31) + + if binary.BigEndian.Uint32(choices) != 5 { + t.Fatalf("Sun Tzu lost his topics or received invented greeting text: %x", choices) + } +} + +func TestNPCConversationBelongsToItsWorldConnection(t *testing.T) { + world := newDialogueWorld(t) + first := connectZoningClient(t, world, true) + world.newCharacter() + second, connection := net.Pipe() + t.Cleanup(func() { second.Close() }) + second.SetDeadline(time.Now().Add(5 * time.Second)) + go func() { defer connection.Close(); world.serveWorldConnection(connection) }() + cookie := systemPacket(0x1b, []byte{0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0}) + binary.BigEndian.PutUint16(cookie, 0xdfdf) + second.Write(cookie) + for { + packet, err := readPacket(second) + if err != nil { + t.Fatal(err) + } + if binary.BigEndian.Uint32(packet[16:20]) == 0x5f52412e { + break + } + } + readPacket(first) // The second player's spawn is broadcast to the first. + second.Write(targetPacket(n3Packet(0x570c2039, 50000, 2, nil))) + readPacket(first) + readPacket(second) + openIdaConversation(t, first) + + // The forged player-1 header cannot borrow player 1's open conversation. + sendDialogueRequest(t, second, 0x2103247d, "00020000c350000f424000000000") + sendDialogueRequest(t, second, 0x270a4c62, "00020000c350000f42400000000000000000") + ping := systemPacket(1, nil) + binary.BigEndian.PutUint16(ping[2:4], 11) + second.Write(ping) + ignored, err := readPacket(second) + sendDialogueRequest(t, first, 0x2103247d, "00020000c350000f424000000000") + answer := readDialogueUpdate(t, first, 0x5d70532a) + readDialogueUpdate(t, first, 0x55704d31) + + if err != nil || binary.BigEndian.Uint16(ignored[2:4]) != 11 || !strings.HasPrefix(string(answer[8:]), "\nI'm Ida Sculler.") { + t.Fatalf("another connection selected or closed the first conversation: %x %x %v", ignored, answer, err) + } +} + +func TestNPCConversationRevalidatesAnswers(t *testing.T) { + for _, change := range []string{"distance", "playfield", "loading", "invalid choice"} { + t.Run(change, func(t *testing.T) { + world := newDialogueWorld(t) + client := connectZoningClient(t, world, true) + openIdaConversation(t, client) + world.mutex.Lock() + switch change { + case "distance": + world.characters[1].position[0] += 11 + case "playfield": + world.characters[1].playfield = 800 + case "loading": + world.clients[1].loading = true + } + world.mutex.Unlock() + index := "00000000" + if change == "invalid choice" { + index = "ffffffff" + } + + sendDialogueRequest(t, client, 0x2103247d, "00020000c350000f4240"+index) + closed := readDialogueUpdate(t, client, 0x270a4c62) + + if hex.EncodeToString(closed) != "0000000500000000" { + t.Fatalf("invalid conversation did not close: %x", closed) + } + }) + } +} + +func TestNPCConversationIgnoresUnofferedAnswersAndRemoteStarts(t *testing.T) { + for _, request := range []struct { + name string + key uint32 + payload string + }{ + {"answer before opening", 0x2103247d, "00020000c350000f424000000000"}, + {"unknown NPC", 0x3b132d64, "00020000c350000f42410000000000000000"}, + {"distant NPC", 0x3b132d64, "00020000c350000f42400000000000000000"}, + } { + t.Run(request.name, func(t *testing.T) { + world := newDialogueWorld(t) + client := connectZoningClient(t, world, true) + if request.name == "distant NPC" { + world.mutex.Lock() + world.characters[1].position[0] += 100 + world.mutex.Unlock() + } + + sendDialogueRequest(t, client, request.key, request.payload) + ping := systemPacket(1, nil) + binary.BigEndian.PutUint16(ping[2:4], 11) + client.Write(ping) + response, err := readPacket(client) + + if err != nil || binary.BigEndian.Uint16(response[2:4]) != 11 { + t.Fatalf("unavailable dialogue request produced a response: %x %v", response, err) + } + }) + } +} diff --git a/server/gamedata/catalog_test.go b/server/gamedata/catalog_test.go @@ -63,6 +63,31 @@ func TestCuratedNamesAgreeWithMaintainedGroups(t *testing.T) { } } +func TestHumanNPCBodiesHaveHumanAppearances(t *testing.T) { + humanModels := make(map[uint32]bool) + for _, monster := range gamedata.Monsters { + if monster.MeshFilename == nil { + continue + } + for _, prefix := range []string{"solitus_", "opifex_", "nanomage_", "athrox_"} { + if strings.HasPrefix(*monster.MeshFilename, prefix) { + humanModels[monster.MonsterData] = true + } + } + } + + lieutenant := gamedata.NPCGroups["710/district/1/fixed/8"] + + for _, group := range gamedata.NPCGroups { + if humanModels[group.MonsterData] && (group.Appearance>>4&7 < 1 || group.Appearance>>4&7 > 4) { + t.Fatalf("human body %d on NPC %s has nonhuman appearance %d", group.MonsterData, group.ID, group.Appearance) + } + } + if lieutenant.MonsterData != 26088 || lieutenant.Appearance != 277 { + t.Fatalf("Male Lieutenant has body %d and appearance %d", lieutenant.MonsterData, lieutenant.Appearance) + } +} + func TestClientReferencedNPCNames(t *testing.T) { cases := []struct { item uint32 diff --git a/server/gamedata/npc_names.yaml b/server/gamedata/npc_names.yaml @@ -1,6 +1,8 @@ comment: Names and base species have per-code source evidence. Abbreviations and location matches remain inferences; - client references identify summoned names. Full templates, equipment, dialogue, loot and AI remain unresolved. + client references identify summoned names. Full templates, equipment, loot and AI remain unresolved. + Recovered conversations are defined in npc_scripts.go. sources: + fandom_jack_quest: https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest totw_loot: https://www.ao-universe.com/guides/classic-ao/location-guides-5/temple-of-three-winds-loot-table fandom_camelot: https://anarchyonline.fandom.com/wiki/Camelot_Castle fandom_subway: https://anarchyonline.fandom.com/wiki/Condemned_Subway @@ -2782,7 +2784,7 @@ templates: source: fandom_ida comment: The wiki dialogue and location catalog identify Ida Schuller in Omni-1 Trade; the unique IDSC level-150 to 200 fixed spawn is at (548,297) in that playfield. Name inferred from the abbreviation and - city; exact appearance and original dialogue are not recovered. + city; exact appearance and original branch conditions are not recovered. INFE: name: Infector monster_data: 31909 @@ -3036,3 +3038,31 @@ templates: throughout authored Enigma Garden/Forest districts; the code and habitat support the name, and named enigma dog appearance 40071 supports a provisional base model. Exact variants, equipment, stats and full templates remain unresolved. + AVQE: + name: Kendric Kuzio + confidence: inferred_location + source: fandom_jack_quest + comment: The Adventurer quest speaker is listed in Deep Artery Valley near (1550, 1000); the Nadybot + location is (1532, 999). The unique AVQE fixed spawn at (1530, 1000) matches the role and location. + Name inferred; original appearance remains unresolved. + DOQE: + name: Quintus Romulus + confidence: inferred_location + source: fandom_jack_quest + comment: The Doctor quest speaker is listed in Foremans Office (Biomare). The unique level-160 DOQE + fixed spawn is inside that dungeon. Name inferred from the profession role and dungeon; original + appearance remains unresolved. + EIQU: + name: Janella Gheron + confidence: inferred_location + source: fandom_jack_quest + comment: The Engineer quest speaker is listed at the Cyborg Barracks entrance in Greater Tir County. + The unique level-160 EIQU fixed spawn is inside the barracks. Name inferred from the profession role + and dungeon; original appearance remains unresolved. + NOTC: + name: Robin Raag + confidence: inferred_location + source: fandom_jack_quest + comment: The Nano Technician quest speaker is listed inside Smugglers Den. The Nadybot location note + specifies behind Ash at (21, 217); the unique NOTC fixed spawn is at (21, 216). Name inferred from + the role and location; original appearance remains unresolved. diff --git a/server/gamedata/npc_scripts.go b/server/gamedata/npc_scripts.go @@ -0,0 +1,325 @@ +package gamedata + +// NPCScript attaches Go behavior to the stable NPCGroup ID in the population YAML. +type NPCScript struct { + Source string + Talk func(choice string) Dialogue +} + +type Dialogue struct { + Text string + Choices []DialogueChoice +} + +type DialogueChoice struct { + ID string + Text string +} + +// NPCScripts contains recovered conversations with reconstructed topic menus. +// Source attribution, license and reconstruction limits are in docs/npc-scripts.md. +var NPCScripts = map[string]NPCScript{ + "710/district/0/fixed/23": {Source: "https://anarchyonline.fandom.com/wiki/Ida_Schuller", Talk: idaSchullerDialogue}, + "710/district/0/fixed/22": {Source: "https://anarchyonline.fandom.com/wiki/Horatio_Campbell", Talk: horatioCampbellDialogue}, + "550/district/8/fixed/3": {Source: "https://anarchyonline.fandom.com/wiki/Sam_Cadena", Talk: samCadenaDialogue}, + "545/district/1/fixed/8": {Source: "https://anarchyonline.fandom.com/wiki/Mr_Gips", Talk: mrGipsDialogue}, + "600/district/7/fixed/8": {Source: "https://anarchyonline.fandom.com/wiki/Eric_Mendelson", Talk: ericMendelsonDialogue}, + "610/district/11/fixed/1": {Source: "https://anarchyonline.fandom.com/wiki/Richelieu", Talk: richelieuDialogue}, + "550/district/2/fixed/9": {Source: "https://anarchyonline.fandom.com/wiki/Sun_Tzu", Talk: sunTzuDialogue}, + "565/district/13/fixed/0": {Source: "https://anarchyonline.fandom.com/wiki/Stolt_Jensenberg", Talk: stoltJensenbergDialogue}, + "560/district/18/fixed/4": {Source: "https://anarchyonline.fandom.com/wiki/Zoftig_Blimp", Talk: zoftigBlimpDialogue}, + "610/district/1/fixed/46": {Source: "https://anarchyonline.fandom.com/wiki/Tsunayoshi_Smith", Talk: tsunayoshiSmithDialogue}, + "595/district/8/fixed/0": {Source: "https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest", Talk: kendricKuzioDialogue}, + "685/district/5/fixed/0": {Source: "https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest", Talk: susanFurorDialogue}, + "1941/district/0/fixed/179": {Source: "https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest", Talk: quintusRomulusDialogue}, + "1833/district/0/fixed/0": {Source: "https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest", Talk: janellaGheronDialogue}, + "125/district/0/fixed/218": {Source: "https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest", Talk: robinRaagDialogue}, + "566/district/1/fixed/5": {Source: "https://anarchyonline.fandom.com/wiki/Living_Cyber_Armor", Talk: goodTimePartyMixerDialogue}, +} + +type dialogueTopic struct { + ID string + Text string + Response string +} + +// Empty choice opens the menu. Unknown choices have no response. +func recoveredDialogue(choice, greeting string, topics []dialogueTopic) Dialogue { + dialogue := Dialogue{Text: greeting} + if choice != "" { + dialogue.Text = "" + } + for _, topic := range topics { + dialogue.Choices = append(dialogue.Choices, DialogueChoice{ID: topic.ID, Text: topic.Text}) + if choice == topic.ID { + if topic.ID == "goodbye" { + return Dialogue{Text: topic.Response} + } + dialogue.Text = topic.Response + } + } + if choice != "" && dialogue.Text == "" { + return Dialogue{} + } + return dialogue +} + +// Ida Schuller: https://anarchyonline.fandom.com/wiki/Ida_Schuller +func idaSchullerDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hi.", []dialogueTopic{ + {"topic-1", "Tell me about yourself.", "I'm Ida Sculler. I'm a nano-technician. Although I do more research than fieldwork. I see a lot of dedicated people utilizing our latest research, and that makes me proud.\nShe smiles brightly at you.\nI am assisting the most notable of technicians in their research at the HQ labs. We've got stuff there that would blow your mind. Literally.\nIda Sculler laughs nervously. A sort of high-pitched whine that quickly gets annoying.\nAnyway. I talk too much. Heh."}, + {"topic-2", "You're a nano-technician?", "She glances down to her cyberdeck, then back up at you, a stubborn look in her eyes.\nYes, I am. Most people think the only accredited nano-techs out there are the guys and girls in the field wielding enormous amounts of power, but that's not what we're about in the lab. Sure, we know a few tricks and could probably hold our own, but we're more about trying to use our skills to find the essence, or root of all this power. The very source from which all this power flows."}, + {"topic-3", "What can you tell me about nano-technology?", "Oh, it's just the greatest thing in the entire universe. I'm so glad to be here and to take part in all the discoveries which are being made here on Rubi-Ka... Not that I could be anywhere else, being a nanomage and all. We're finding out new stuff every day. Omni-Tek's research is the edge of the cutting edge. Did you know that we're even going to mine... Um, never mind."}, + {"topic-4", "Mine what?", "Well...\nShe bites her lip and looks around.\nYou didn't hear this from me, but rumors are that the crystals which are being mined here on Rubi-Ka don't actually contain notum in its purest form. And forget about the traditional theories about the origin of the universe, cause we've just discovered...Um... I'm shooting my mouth off again aren't I? I've said too much. I really have. Can't talk more about this. Nope.\nWow...you don't often meet a person who so desperately tries to make herself interesting like this."}, + {"topic-5", "Tell me about notum.", "It's the basis for most of the nano-technology we know. Some simple programs can be run elsewhere along with an internal nanobot contagion, but the notum is what makes everything more powerful on Rubi-Ka. It's also what enables insurance tech here and no where else.\nIt's speculated that nothing we've mined so far is really notum in its purest form. We're working on some new techniques to harvest the most potent form of it. Who knows what we could do if we had a more pure form of notum to play with?"}, + {"topic-6", "What have you discovered so far?", "Oh, we've discovered quite a bit about how the universe is put together through our research into nanotechnology, and I think we might be on the threshold of something really, really big. It's not every day you find out that Rubi-Ka might be where...\nIda Sculler cuts herself short.\nOh, but here I go again, shooting my mouth off. I really have to stop doing that."}, + {"topic-7", "Who are you assisting?", "Her chin lifts almost imperceptibly and a smile plays across her lips.\nI'm assisting quite a few of the most famous people in the field. Mostly, though, I work with professor Maitland. He's just the greatest. He's so structured and organized, and whenever he sets out to do something, you can be sure that he will succeed. He actually has the highest success rate of any of the scientists at the HQ labs. He's a wonderful man.\nShe sighs softly. It couldn't be more obvious that she has a crush on this professor fellow."}, + {"topic-8", "Who's professor Maitland?", "Professor Maitland is the greatest. He's really dedicated, and sad to say, he doesn't get out much. I make sure to get lots of air. The labs can get quite stale after a while. Maitland is the best scientist in in the field of nano-technology. I really admire him. He's so smart. Plus he's really cute too, in a distracted and detached kind of way.\nShe giggles girlishly."}, + {"topic-9", "What kan you tell me about the HQ labs?", "We have some of the best equipped labs in the entire corporation. Our research here is unique, and so we are given the best to make sure we are the first to discover and utilize any new technology developed. The labs are mostly underground, as the departments and such are taking up most of the office space. I feel very privileged to be working at the HQ nano-tech labs."}, + {"topic-10", "What kind of new technology?", "We're constantly making new technology and it usually doesn't take that long before is gets out to the public. We just have to run it through all the necessary tests. Rubi-Ka is quite protected when it comes to some types of technology and the company has quite a lot of restrictions on what kind of equipment is allowed onto the planet, but when it comes to nano-technology, we are the best in the universe. And that doesn't really come as any surprise, given...\nShe hesitates and casts a few glances around.\nWell, let's just say, we're the best."}, + {"topic-11", "What are you doing here?", "Taking a break. We're waiting for some new equipment to be set up. It's a lot of waiting when you do research. Mostly waiting actually."}, + {"topic-12", "What do you do when you're not here?", "I have dedicated my life to understanding nanotechnology and its use. I work at the top research facilities in Omni-HQ, and we're going places with nanotechnology that are beyond anything you're seeing out there today. The people who are developing the new technology are the greatest in the universe! I'm guessing we're going to see some serious breakthroughs before long."}, + {"topic-13", "What kind of breakthroughs?", "I really shouldn't talk in detail about this, but it's just so incredible! Some time ago we did a whole series of connected experiments, and it was just amazing! All the professors were beside themselves with joy when the experiments finished. It didn't exactly do what it was supposed to, but from the test results they deemed the whole experiment a success.They spent several days in meetings. I'm guessing they were discussing how big the potential for nano-technology is and all the things it encompasses. If you think it's awesome now, you just wait and see. I shouldn't have said that, but you didn't hear it from me, right?\nShe giggles and winks at you."}, + {"topic-14", "Could I ask you a question?", "Sure. What do you want to know?\n"}, + {"topic-15", "I have some questions about the conflict.", "I really don't care much about it myself but it doesn't directly affect me. The only thing that worries me is that the clans are doing their own research, and those people up there really don't have a clue about the powers they are messing with.\nShe snorts indignantly.\nThe Council of Truth... Oh, that name is just so inappropriate.\nAnyways, they're doing dangerous and unsupervised experiments with nano-technology, and it could all end in disaster if they're not careful, and then the conflict will escalate."}, + {"topic-16", "How do you feel about Omni-Tek?", "Omni-Tek represents the very forefront of nano-tech research. And you can debate the conflict with the clans all you like, but the fact of the matter is that research and technology here is greatly boosted by it. Omni-Prime is granting more money to research now than ever before, and I can clearly see why. We are about to unv-...\nIda Sculler catches herself, and gives off a little high-pitched whiny laugh.\nThere I go again. I really shouldn't be talking about these things. Good thing I caught myself."}, + {"topic-17", "Omni-Prime?", "Omni-Prime? It's well... Omni-Prime! Come to think of it, I really don't know all that much about it myself. I guess I just live in my own little scientific world."}, + {"topic-18", "How do you feel about the neutrals?", "I don't care about them. I have no opinion of them. They're all kinda grey...like mud."}, + {"topic-19", "How do you feel about the clans?", "The way I see it, the clans are both a curse and a blessing to us in research. On one hand we get more funding from Omni-Prime because of the conflict, but on the other hand, they are doing their own research, and they really shouldn't be doing that with such limited funds and facilities. It's not a safe working environment. I don't care about their conflict with the corporation, and I don't really follow up on the news or study the clans much."}, + {"topic-22", "What projects are you working on?", "We have a lot of really good projects going, which will really help out the general public once we've made it safe to use. We even had Eva Pourais come by one of the labs...\nThe nanomage smiles at you and it's clear that she's very proud of her job.\nWell, I guess I shouldn't brag about it too much. We're far from done with our research in most departments. We're on the bleeding edge, you know.\nIda Sculler gives off a little whine of a laugh."}, + {"topic-23", "What can you tell me about Eva Pourais?", "She comes in every now and then to see how we're doing. She seems to always be in a hurry and is constantly bossing people around like she was on a schedule or something. I guess she can, being the head of Omni-Reform and all."}, + }) +} + +// Horatio Campbell: https://anarchyonline.fandom.com/wiki/Horatio_Campbell +func horatioCampbellDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "What can I do for you?", []dialogueTopic{ + {"topic-1", "Tell me about yourself.", "I'm Horatio Campbell. What more do you want to know?"}, + {"topic-2", "How are you?", "What kind of question is that? Do you really care? Ever been dragged through the dirt and lost everything dear to you?\nHoratio Campbell looks at you intently.\nDidn't think so."}, + {"topic-3", "What did you lose?", "What do you care? Wife, kids, decent colleagues, solid promotion. You name it, I lost it."}, + {"topic-4", "Why did your wife leave?", "Why does anyone do anything? Guess she wasn't happy. That's usually the case. Complaining that I wasn't the man she married and all that. Having Omni-Pol investigating me for some bogus murder didn't help either. Blah, blah, blah, and so I ended up here, talking to deadbeats like you for a living.\n...wanna buy some hot info?"}, + {"topic-5", "Murder?", "Yeah, well I don't know who hated me enough to trump that one up, but if I ever find the guy who pinned that one on me...\nHoratio Campbell trails off, looking bitter."}, + {"topic-6", "Where did your wife and kids go?", "I have no idea. I think that was their plan."}, + {"topic-7", "Tell me about your kids.", "Yeah? What about them? They're gone. I'll probably never see them again. Where do you get your information? I'm not prying into your personal life, am I? The nerve of you people!"}, + {"topic-8", "Tell me about your wife.", "You're really sticking your nose where it doesn't belong now, you know. Fine! She left me. Took the kids and went off-world. Apparently she didn't even want to be on the same planet as me. Fine by me."}, + {"topic-9", "What are you doing here?", "I'm a Bureaucrat for Omni-Tek. Sort of."}, + {"topic-10", "What do you mean by \"sort of\"?", "It's my chosen profession. Not my most clever move ever, I'll admit, but I'll get by. It's not like I could be good at anything else. If something does show up, I'll be glad to quit the paper-pushing any day."}, + {"topic-11", "So you work for Omni-Admin?", "I'm trying not to think about it."}, + {"topic-12", "I need something.", "Spill. I got info to sell."}, + {"topic-13", "I need employment.", "Like I'm going to pay you for anything. You're probably incompetent anyways. But if you really want something to do, go see Alvin Odeleder over in Lush Fields. He's in one of the outposts just to the west of Harry's."}, + {"topic-14", "Who's Alvin Odeleder?", "I haven't looked at his file, so there's not much to tell really. He's out there, doing the dirty work. Poor sucker."}, + {"topic-15", "Where's Lush Fields?", "Yeah. Take the ferry from the west entrance to Trade, and you'll get there."}, + {"topic-16", "Where's Harry's?", "It's in Lush Fields. Look it up."}, + {"topic-17", "I need something.", "Spill. I got info to sell."}, + {"topic-18", "You got info to sell?", "Yeah, I got some information about the happenings at Omni-HQ.\nHoratio Campbell glances around briefly.\nStrictly off the record stuff. It's going to cost you, though. I got juice for fifty, one hundred and two hundred credits. Slip me the cash and I'll give you the intel."}, + {"topic-23", "Could I ask you some questions?", "I guess."}, + {"topic-24", "How do you feel about the clans?", "Oh gee, the people who don't like Omni-Tek have banded together and are demanding to become independent. I have no problem with that, as long as it doesn't interfere with my life. Unfortunately, they have to assume that every Omni employee is their enemy, which is too bad, and it really doesn't make my day all that good. I say give them a terraformer and send them off to the other side of the planet. Have them set up their \"utopian\" society there. This constant bickering over territory and money is getting old, and it really interrupts the flow of my day when they decide to blow up buildings here and there."}, + {"topic-25", "How do you feel about the neutrals?", "I don't get out much. They're probably just like the rest of us. Ignorant and indifferent."}, + {"topic-26", "How do you feel about Omni-Tek?", "Oh, right. You want me to tell you how much I love this corporation and how I love being part of a system designed to promote the worst behaviour of mankind as well as encourage sheep mentality? Not likely. I'm here 'cause it's cushy. I'm relatively safe. I have a decent home, enough food and more entertainment than I know what to do with. All the rest is politics, and I don't much care about that."}, + }) +} + +// Sam Cadena: https://anarchyonline.fandom.com/wiki/Sam_Cadena +func samCadenaDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Yes, yes...what can I do for you today?", []dialogueTopic{ + {"topic-1", "Tell me about yourself.", "One of my favourite subjects as it is. Always happy to talk about myself."}, + {"topic-2", "Who are you?", "Sam. Sam Cadena, but you already knew that.\nGood, good. Always start with a question you know the answer to.\nOldest trick in the book. I've got a feeling about you..."}, + {"topic-3", "Where are you from?", "Oh, I'm from around these parts. Born up in Newland City as a matter of fact. Moved down to Athen after the war.\nNow I just hang around here, take in the beautiful scenery, enjoy quiet walks in the woods.\nEnjoying my retirement, yessir, that's it."}, + {"topic-4", "Tell me about Newland City.", "Newland City's a little bit of a strange place.\nIt's neutral, but Omni-Tek doesn't really consider anyone neutral - or so they say - even though they mostly leave the neutrals alone.\nI know, I don't really understand that stuff myself.\nBut the Council of Truth gave Newland City neutral status in the second amendment of the Tir Accord.\nOf course, that document ain't worth the paper it's written on these days."}, + {"topic-5", "What does all that mean?", "Basically it means that Newland City is neutral - even though there is no such thing as neutral - but the Council of Truth gave them neutrality, but really didn't have any power to do so.\nMake sense? I didn't think so. The result is still that Newland City's where the neutrals hang out, and both sides more or less leave them alone.\nThe ICC Peacekeepers are the ones protecting the Newts these days."}, + {"topic-6", "Thanks.", "I aim to please."}, + {"topic-7", "What are you doing here?", "Tell you the truth, as little as humanly possible.\nHeh, I'm retired, and enjoying every second of it. That's right, enjoying it I am."}, + {"topic-8", "Why did you retire?", "A man can't go on forever, can he? Guess I was gettin' tired.\nThis planet ain't what it used to be, with all the babies running around since Omni-Tek opened the place up in June of '75.\nI've always wonderd about that...OT should have seen we weren't ready.\nGuess they had to accommodate some ICC ruling or other, maybe Sol BC had somethin' to do with that. A complete diasaster it was, no arguments there."}, + {"topic-9", "What happened in June of '75?", "People never learn, that's what went wrong.\nI guess the restrictions OT had put on immigration were illegal - at least from ICC's point of view - but come on, for once they knew what they were doin'!\nThe infrastructure was never ready for the massive influx of colonists.\nCaused complete chaos it did, never seen anything like it."}, + {"topic-10", "Tell me about Sol B.C.", "Sol Banking Corporation. Professional people, and you gotta respect that.\nSome say they lack both ethics and common courtesy. \"What does ethics and common courtesy have to do with tradin'?\", that's what I wanna know.\nThey drive a hard bargain, Sol B.C does, and it's definitely workin'. They about the same size as Omni-Tek these days."}, + {"topic-11", "Is that so?", "Sure thing. Decent crew I say. Know what they want, and do whatever they can to get it. Nothin' wrong with that?\nEven if the ICC might say otherwise."}, + {"topic-12", "Tell me about the ICC.", "Sorry, the Interstellar Confederation of Corporations.\nThey regulate the hyper-corporations, trying to make sure none of them get too much of a grip of things if ya'know what I mean?\nI've always been sceptical about regulated trade, but that's me. So, hang me."}, + {"topic-13", "Let's talk about something else.", "It's a free planet. Ooops, no it's not, but go ahead anyway."}, + {"topic-14", "Have you heard any rumours lately?", "Rumours? Heh...I probably started the rumour. Jobe sound familiar? Traders' Circle? The Omegas? Or the illustrious Lord Galahad?\nRumours are always circulating you know, but the thing is, they're rumours - and in their inherent nature difficult to verify. Hey...I've made a living entirely based on them."}, + {"topic-15", "What can you tell me about the 'Traders' Circle'?", "How about nothing? Zilch? Nada? Don't take it the wrong way my friend, but some stuff's gotta remain within the trade.\nI'm sure you can appreciate that."}, + {"topic-16", "Right.", "Sorry about that, but that's how it's gotta be."}, + {"topic-17", "Tell me about Lord Galahad?", "The joke of the millenium many will say - insanity incarnated.\nOthers will tell you he's got a plan, that there's system to his ludicrous behaviour. It all depends who you listen to my friend."}, + {"topic-18", "What do you think?", "It doesn't really matter what I think, does it friend? I'm no longer a player.\nBut I think Galahad has an ace or two up his sleeve. You don't make that kind of money on interstellar trade unless you're a tough cookie.\nNo I don't buy all that \"insane\" babble. The man's a certified tradin' genius, and he's here for a reason."}, + {"topic-19", "Thank you.", "Hey, you asked my opinion didn't you?"}, + {"topic-20", "Tell me about the Omegas?", "Not a pleasant subject - and one I hope will remain in past tense.\nThey were the ancient rulers my friend - the scum of human history, but it's all a long story."}, + {"topic-21", "I've got time.", "What do you know about the 'Long Winter'?"}, + {"topic-22", "Nothing.", "Then that's where we'll start.\nBack in the 21st Century - yeah, we're talkin' ancient history here - a company called Farmatek set in motion the complete destruction of Earth, and went underground until the end of the ensuing 'Long Winter'..."}, + {"topic-23", "Go on.", "The surviving Farmatek employees - a select few - called themselves the Omegas.\nThey remained underground for thousands of years before returning to the surface, and when they did, they quickly subdued and enslaved the surface dwellers - the Solitus."}, + {"topic-24", "Then what happened?", "The Omegas ruled the world for ages - close to ten thousand years - until they were stopped by one of their own: the great David Marlin."}, + {"topic-25", "So what happened to the Omegas?", "They were hunted down like the dogs they were.\nHunted down, deprived of their nano-technology, and killed...at least..."}, + {"topic-26", "At least?", "Ssshh...keep your voice down. They might hear you.\nAll I'm saying is, there are no guarantees they were all killed, I mean, they had thousands of years of experience hiding."}, + {"topic-27", "Thanks, that'll do.", "Okidoki friend. That's up to you."}, + {"topic-28", "What can you tell me about Jobe?", "Only a few rumours - heh.\nStrange place apparently, and very inaccessible these days.\nFilled with nano geniuses who feel they're too good for the rest of the population.\nDon't let anyone in they don't - only traders from other parts of the galaxy are admitted.\nI hear they're talking about opening it back up though."}, + {"topic-29", "Thank you.", "No problemo."}, + {"topic-30", "Can we change the subject?", "Rumours not your thing friend?"}, + {"topic-31", "Could I ask you some questions?", "Come to find some answers have you? Well I'm your man."}, + {"topic-32", "Have you got any friends in the area?", "What do you take me for? Sure I have friends.\nI have friends all over the planet. Don't know many people around these here parts though, except Andrea over at the War Academy."}, + {"topic-33", "Tell me about Andrea.", "Good girl she is. But a little too serious.\nGuess war'll do that to you. Used to help her out a little when I was still active."}, + {"topic-34", "How did you help her?", "I used to help her get equipment for her recruits.\nEven slipped some stuff under the table.\nShe doesn't get the funding she needs to properly run the Academy you know, and she has to play it a little by ear some times."}, + {"topic-35", "Thanks.", "Anything else I can help you with?"}, + {"topic-36", "How do you feel about the Omni/clan conflict?", "It doesn't matter how I feel about it.\nThe fighting won't stop anytime soon, even if we're not \"technically\" at war at the moment."}, + {"topic-37", "Do you think there'll be another war?", "As I said friend, I'm sure of it.\nAfter the peace talks and the amnesty offered in 75, I think it'll be a long time until they ever try something like that again."}, + {"topic-38", "When did the last war end?", "About six years ago if my memory serves me.\nAfter almost a decade of pointless atrocities, they smilingly shook hands and signed the Tir Accord."}, + }) +} + +// Mr. Gips: https://anarchyonline.fandom.com/wiki/Mr_Gips +func mrGipsDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hi there. Nice to see you.", []dialogueTopic{ + {"topic-1", "Tell me about yourself.", "Oh, I didn't know I could be the topic of a conversation.\nI'm Elroy Gibs, but everyone calls me mister Gibs.\nI guess being a polite Atrox is rather uncommon around here."}, + {"topic-2", "Could I ask you some questions?", "Certainly. What do you need to know?"}, + {"topic-3", "I need some directions.", "I'll see if I can help? What are you looking for?"}, + {"topic-4", "Where can I find mutants?", "That's easy. Just go outside the city. The countryside is crawling with them."}, + {"topic-5", "How do I get to Tir?", "There's a wom-pah here in the city. That should take you to Tir."}, + {"topic-6", "Where's the nearest Wom-pah?", "It's right here in Athen."}, + {"topic-7", "Where's the closest grid?", "Now where was that? I'm sure it's in the city somewhere.\nClose to the center I should imagine."}, + {"topic-8", "What do you do?", "Selling stuff. Actually, I trade in quality goods.\nI get the best stuff from the best people. That's the secret to being a good trader, you know."}, + {"topic-9", "So, you're part of an organization?", "No. I just know a few people. I hear there's an organization of traders around though, but I know very little about them."}, + {"topic-10", "What can you tell me about them?", "Not much, I'm afraid.\nI've heard that there is a coalition of neutral fixers who provide the neutral traders with various goods.\nBoth from off-world and from other sources."}, + {"topic-11", "What kind of other sources?", "I hear that a lot of it is Omni-Tek property, but I've also heard that they get some of it from the clans."}, + {"topic-12", "How do they get this equipment?", "Well, they aren't paying much for it, if anything, because the neutral traders, as far as I've heard, mind you, are making a lot more profit on their gear than any of us clan traders.\nDon't ask me about Omni-Tek. They can fend for themselves."}, + {"topic-14", "Who's running the resurrection booths?", "You don't know?"}, + {"topic-15", "Know what?", "I thought everybody knew about it. Omni-Tek are running all the resurrection booths on Rubi-Ka. It's a fact.\nThey were forced to extend the service to all citizens on Rubi-Ka by the ICC, and so clan members, neutrals and others can use it freely.\nThe technology belongs to Omni-Tek though."}, + {"topic-16", "How can we be sure Omni-Tek is not tampering with it?", "We can't. I gues we have to trust the ICC observers who are here to make sure we all get a fair resurrection.\nAnd besides, Omni-Tek isn't always to blame when something goes wrong. Other things can happen."}, + {"topic-17", "What other things?", "The soul is not an easy thing to control, and things can go wrong.\nI know a bit about this. I figued that if I were to go through the process a few times, I should at least get proper information on it's workings.\nThere are several places a resurrection can go wrong. Timing, age, scan data, the cause of death in the old body.\nI'm mentioning but a few."}, + {"topic-18", "Do some types of death lead to failed resurrection?", "I've heard of it, but I think it's rare. Mind you, I'm no expert.\nI've heard that very sudden and very violent deaths, like having a mountain fall on you or being shredded in a notum-grinder, may cause the soul to flee too fast, and the new body will remain empty.\nIf you die slowly, the soul will hover around for a little while to see if the body gets going again or something.\nOr so I've heard."}, + {"topic-19", "What can go wrong with the scan data?", "I guess this is the most typical thing to go wrong.\nYou may think that only a few people here and there get their scan data corrupted, but you'd be surprised at how many people die because the new is too foreign for the soul to recognize and the subject dies."}, + {"topic-20", "Are there other things which can go wrong?", "With the scan data? Sure. There is a limit to the age of the data as well.\nIf you do not scan yourself frequently, the old scan data will generate a new body that is no longer familiar to the soul and the subject will die.\nAnd then there's the dreaded 'glitch'. The king of all resurrection faults."}, + {"topic-21", "What's the 'glitch'?", "That's when a small part of the scan data is corrupt and the soul comes back to the body, but you end up strangely disfigured or worse."}, + {"topic-22", "How does age affect resurrection?", "There are certain age limitations.\nAfter the age of seventy, resurrection is not advised.\nAnd children are not allowed to be scanned before the age of eighteen.\nI guess careful testing has taught Omni-Tek that it's best to stick to these limits, for whatever reason."}, + {"topic-23", "What happens if the timing is off?", "Timing is crucial.\nThe new body must be completed as the old one dies, or else the soul will not seek out the new one and take its place in it."}, + {"topic-24", "How did you end up here?", "How did an Atrox become a trader you mean?\n\nI never really cared for all the fighting ans such.\nI'm supporting the clans, equipping them with what little goods I have."}, + {"topic-25", "Thanks.", "You're very welcome."}, + }) +} + +// Eric Mendelson: https://anarchyonline.fandom.com/wiki/Eric_Mendelson +func ericMendelsonDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hi.", []dialogueTopic{ + {"topic-1", "Who are you?", "My name is Eric Mendelson. I'm a trader."}, + {"topic-2", "What do you do?", "I trade various goods.\nAnd in my spare time, I try to save the world.\nWell... a small part of it anyway.\nMore specifically, I'm trying to save the Rhinomen from extinction."}, + {"topic-3", "Tell me more about the Rhinomen.", "The Rhinomen are the result of Omni-Med experiments, like most of the other monsters you find on Rubi-Ka.\nThey got loose in the wild when the Eco-Warriors attacked the Omni-Med lab.\nSince then, Omni-Tek has tried to wipe them out."}, + {"topic-4", "Tell me more about Omni-Tek.", "Omni-Tek is a totally fascist corporation.\nThey actually believe than any lifeform not employed by Omni-Tek doesn't have the right to live!\nIn this area, they are especially trying to wipe out the poor Rhinomen.\nThere are several Omni-Tek poachers around here.\nThey have destroyed entire villages of poor defenseless Rhinomen!"}, + {"topic-5", "Poachers?", "The poachers kill Rhinomen and sell their teeth!\nIt sickens me.\nThe worst one is a guy called Stanley Adams."}, + {"topic-6", "Tell me about Stanley Adams.", "He's the worst of the poachers.\nI've heard that he loves killing Rhino babies and making necklaces of their eyes!"}, + {"goodbye", "Goodbye", "Goodbye."}, + }) +} + +// Richelieu: https://anarchyonline.fandom.com/wiki/Richelieu +func richelieuDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hello.Is that a frog over there?\nI think it was a frog. Or maybe it was a rock.\nCome to think of it, I think frogs usually jump.\nI think it's a rock.", []dialogueTopic{ + {"topic-1", "Who are you?", "I am Richelieu, the famous banjo player!"}, + {"topic-2", "What do you do?", "I play the banjo, therefore I...\nTherefore I can fly?"}, + {"topic-3", "Can you play the banjo for me?", "You want me to play the banjo for you?\nSure, I could do that...\nIf I only had more mushroom-soup..."}, + {"topic-4", "Please give me the recipe for mushroom soup.", "You want my recipe for mushroom-soup?\nOK. It's simple. Just take 5 delicious, beautiful, lovely mushrooms.\nThen get 3 Leet legs. About this size! Or maybe a bit smaller. Just get some legs, OK?\nThen you have to get a couple of handfuls of leaves from that Frazetta bush.\nThen you boil it!\nOh, I almost forgot! You have to put all the stuff in a pot and add water till you've covered all the ingredients!\nAnd THEN you boil it.\nAnd then you eat it.\nAnd then you pass out!\nIt's great!!"}, + {"topic-5", "I want to talk about something else.", "OK.\nMush...\nRoooooom....\nYou were saying?"}, + {"topic-6", "Tell me about mushrooms.", "Mushrooms? Oh Yes! I love mushrooms!\nI make my own mushroom-soup, you know. You can have the recipe if you want!\nThe best mushrooms in the world are here in this valley.\nAnd I've been all over the world eating mushrooms!\nThat's why I live here.\nBecause of the mushrooms.\nNow, if only Moog would go away, I'd be perfectly happy!"}, + {"topic-7", "Tell me about Moog.", "Moog is the local whack-job. He's just plain crazy.\nHe's so crazy that crazy people thinks he is crazy!"}, + {"goodbye", "Goodbye", "Goodbye."}, + }) +} + +// Sun Tzu: https://anarchyonline.fandom.com/wiki/Sun_Tzu +func sunTzuDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "", []dialogueTopic{ + {"topic-1", "Who are you?", "All warfare is based on deception."}, + {"topic-2", "What do you do?", "All warfare is based on deception."}, + {"topic-3", "Can you tell me anything about this region?", "In war, then, let your great object be victory, not lengthy campaigns."}, + {"topic-4", "I have come seeking enlightenment. Please give me of your wisdom.", "All warfare is based on deception."}, + {"topic-5", "It was an honor to meet you.", "If you know the enemy and know yourself, you need not fear the result of a hundred battles.\nIf you know yourself but not the enemy, for every victory gained you will also suffer a defeat.\nIf you know neither the enemy nor yourself, you will succumb in every battle."}, + }) +} + +// Stolt Jensenberg: https://anarchyonline.fandom.com/wiki/Stolt_Jensenberg +func stoltJensenbergDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Yeah, yeah! Are you here to trade or talk?", []dialogueTopic{ + {"topic-1", "Who are you?", "My name is Stolt Jensenberg, and I'm a great trader!"}, + {"topic-2", "What do you do?", "What a silly question. I sell stuff, and I buy stuff!"}, + {"topic-3", "Tell me about Rhinoman Valley.", "Rhinoman Valley is northeast of here. Well... a bit more east than north, really.\nAnyway... It's a great place to hunt."}, + {"topic-4", "Do you have a mission for me?", "Yeah! I have a mission for you! Find a way for me to get a wiener, so I can get Heidi Grump back!"}, + {"topic-5", "But don't you already have... I mean...", "Yeah, yeah! I know that I have a very large lump between my legs!\nAnd I know what it looks like!\nTo tell you the truth, all Atroxes put cabbage and leaves in their pants, so it looks like they're well equipped!"}, + {"topic-6", "Can I ask you about something else.", "Sure. Fire away."}, + {"topic-7", "Heidi Grump? Who's that?", "Heidi Grump used to be my girlfriend, but in the end she left me!\nI'm sure it's because I don't have a wiener!"}, + {"goodbye", "Goodbye", "Bye.\nCome back next time you feel like trading."}, + }) +} + +// Zoftig Blimp: https://anarchyonline.fandom.com/wiki/Zoftig_Blimp +func zoftigBlimpDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hi. Life is beautiful.", []dialogueTopic{ + {"topic-1", "What items are you selling here?", "I don't need to tell you, sister... It's protection!"}, + {"topic-2", "Protection against what?", "Against the sun, the night, the elements and stuff!\nAll related to protecting you against yourself, of course. Nothing can harm you if you've taken the time it really takes to sort things out - at least when you know where you're going and what you're doing - that thing known as focus. Man, that's important!\nNothing happens at random - you always have a right choice to make..."}, + {"topic-3", "I hear what you're saying, but I don't understand it...", "Oh...\nThen let's talk about something else."}, + {"topic-4", "You're a hippie, aren't you?", "Ah, been a while since I heard that word...\nI have fought against that description most of my life, like it was some kind of burn...\nBut I've found out that with what I believe... It's probably the most fitting description... After all."}, + {"topic-5", "And how is business?", "My stuff will always be in demand.\nBesides... I don't have much competition. I've just recently started, and already I have customers coming here from everywere, even Jobe.\nYeah, there's money in it, although money isn't everything. You can't believe in money..."}, + {"topic-6", "I tend to agree.", "Stuffs you can believe in are things like religion, ethics, equality - the power of song, the existence of magic and what have you.\nBut one thing... is above all this, I believe..."}, + {"topic-7", "So, what is your cause - what do you believe in, Zoftig?", "I believe in the power of love!"}, + {"goodbye", "Goodbye", "And peace with you."}, + }) +} + +// Tsunayoshi Smith: https://anarchyonline.fandom.com/wiki/Tsunayoshi_Smith +func tsunayoshiSmithDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "What?", []dialogueTopic{ + {"topic-1", "I was just trying to be polite...", "Hum, my fault I guess. Hello...\nYou kinda lose the need for all that superficial politeness when you've lived in the wild for some time.\nI mean, there's no doubt we're looking at each other, and we both know you're only here to buy my weapons, don't we?"}, + {"topic-2", "I'd like to know some more details about your weapons.", "You would, would you?\nWell, I can tell you this:\nI have made them all myself, well, except the designer stuff - I'm just keeping those in stock to help a friend, and he helps me - you know, business...\nNot sure what more I can tell you, you surely wouldn't understand much about the soul of Rubi Ka and the spirit of things anyway..."}, + {"topic-3", "You've been alone out here long?", "Well, quite a few years, in fact.\nI know this area better than anyone else I guess - did research for Omni-Tek here when I was a zoologist and geologist.\nWas almost impossible for me to end that contract, you know, but I pretended I was mad - that did the trick...\nMaybe I didn't even pretend..."}, + {"topic-4", "I thought you were a smith?", "Oh, yes - now I am, but my job with Omni-Tek kinda led me in this direction, you know, all those things I found out about the spirit of things - I mean...\nWhat a waste it would have been not to try researching the possible technical uses of my finds..."}, + {"topic-5", "Spirit of things, you mean - that things have a soul?", "In religious terms I guess it would be called 'animism' - and yeah, things have a soul... Or rather - things may have a soul ...at least they may have on Rubi-Ka...\nBut I don't want to talk more about this - more detail and I'd be ruining my own business - some things better stay secret.\nSay 'Goodbye', will you..."}, + {"goodbye", "Goodbye", "Fare well. Tell them about my weapons, will you..."}, + }) +} + +// Kendric Kuzio: https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest +func kendricKuzioDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Greetings stranger. *It's hard to not notice the bleeding gashes on his legs and arms*", []dialogueTopic{ + {"topic-2", "Who are you?", "I am Kendrick. *Kendrick looks away and keeps nursing his injuries*"}, + {"topic-3", "What are you doing here?", "I am an adventurer - although I'm not that keen on adventuring anymore."}, + {"topic-4", "What happened?", "My hunting buddy Winford was killed two days ago. *Kendrick stares blankly into the ground and sighs* And I just don't feel like doing adventures anymore."}, + {"topic-5", "Who is Winford?", "Winford was my best hunting buddy - I've known him all my life. Life just isn't the same without him around."}, + {"topic-6", "How did he die?", "We were out hunting the elusive Soulswappers in Varmint Woods when this freak Jack Legchopper attacked us. We put up a good fight - but we knew it was a fight we were gonna lose. Just as we were gonna make a tactical retreat - Jack managed to land a tremendous blow with his axe - almost splitting poor Winford in two... I'd really, really like to get pay back - revenge Winfords death! To see Jack dead. *Kendrick looks you square in the eyes* W-would you help me avenge Winford's death?"}, + }) +} + +// Susan Furor: https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest +func susanFurorDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hi there, handsome.", []dialogueTopic{ + {"topic-2", "What are you doing here?", "Omni-Tek has been a little worried by the volume of Galway's propaganda.\nI'm here to check if he's playing by the company rules, or if he needs a little talking to.\nI am also waiting on my good friend Joslyn to return from a mission in Varmint Woods. She should have been back well over a day ago."}, + {"topic-3", "Who is Joslyn?", "Joslyn and I are both Omni Agents - we've known each other since the first day of training.\nSusan sighs\nShe went on a short mission to Varmint Woods - it was a short and simple mission - and now she's been gone for over a day!\nI hope she's alright.\nListen, if you find her or find out what has happened - let me know will ya?"}, + }) +} + +// Quintus Romulus: https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest +func quintusRomulusDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Quintus Romulus looks at you with a friendly smile\nHi there!", []dialogueTopic{ + {"topic-2", "who are you?", "I'm Dr. Romelus- I'm a doctor researching the effects of raw notum on the humanoid DNA"}, + {"topic-3", "what effects?", "We know that notum works as a selective mutagen on some types of DNA. I use raw notum crystals on various DNA I've collected to try to figure out in exactly what ways it does mutate the DNA.\nThe problem now is that I need a hard to get the right type of DNA sample to advance my research."}, + {"topic-4", "what type DNA?", "Well it's quite complicated to understand, unless you're an expert in the field like myself.\nSimply put - I need a unique form of mutated Atrox DNA.\nAnd I know of only one place to get it"}, + {"topic-5", "where can i get it?", "The only place, to my knowledge, is to get a sample of Jack Legchopper, up in Varmint Woods.\nI really don't think he will give up a sample of his DNA willingly though - at least not in the quantities I need."}, + }) +} + +// Janella Gheron: https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest +func janellaGheronDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hello\nIt seems like Janella has just been crying.", []dialogueTopic{ + {"topic-1", "Why are you crying?", "I've been looking for my pet all day - and he's nowhere to be found! I'm so worried, he's been lost for three days now.\nJanella looks sad.\nDo you think you would help me find him?"}, + }) +} + +// Robin Raag: https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest +func robinRaagDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Robin Raag seems far too busy fiddling with his instruments to notice you", []dialogueTopic{ + {"topic-3", "What are you doing?", "Robin Raag adjusts some knobs on a strange looking instrument\nMinding my own business.\nMaybe you should go mind your business?"}, + {"topic-4", "What business?", "Why are you still bothering me?\nMy business is science.\nRobin Raag flicks a switch and an arc of lightning flashes through a small crystal, with a peculiar\nsounding pop - leaving the crystal glowing dimly\nWould you leave me alone!"}, + {"topic-5", "What is that crystal?", "your question seems to have caught Robin Raag's attention - as he for the first time looks away from\nhis experiment\nRobin Raag seems to realize that he is neglecting his experiment and quickly returns to flicking\nswitches and adjusting knobs\nI am studying the effects of strong magnetic fields on notum-crystals. I have managed to\nproduce some very interesting effects!"}, + {"topic-6", "What effects?", "Robin Raag stares at you for a few seconds - analyzing you, as if to see if you are worthy of an\nanswer\nBy applying a very strong alternating magnetic field, I have managed to set up a standing\nwave of incredible power inside the notum-crystal.\nThis wave seems to alter the crystal at a sub-atomic level - in a way I have yet to fully\nunderstand, altering the quantum guide wave of the individual particles. Net result is that the\ncrystal for a millionth of a second completely de-materializes - disappears out of existence if you\nwant.\nProblem is that I cannot find a large enough crystal of pure notum to conduct the\nexperiment properly\nI do know of such a crystal however..\nBut I cannot get it myself.\nI would need help."}, + }) +} + +// Good Time Party Mixer: https://anarchyonline.fandom.com/wiki/Living_Cyber_Armor +func goodTimePartyMixerDialogue(choice string) Dialogue { + return recoveredDialogue(choice, "Hi there! I gather from the fact that you talk to me, and not just ask for refreshments, that you are interested in something special.", []dialogueTopic{ + {"topic-1", "What are you doing here?", "A little of this, a little of that. You know... I'm in the business of solving problems.\nTo do this, I recruit people from all sides to run errands.\nI guess this is why you are here, right, because you have heard about the living cyber armor that I sell?"}, + }) +} diff --git a/server/gamedata/npc_scripts_test.go b/server/gamedata/npc_scripts_test.go @@ -0,0 +1,155 @@ +package gamedata_test + +import ( + "ao/server/gamedata" + "strings" + "testing" +) + +func TestNPCScriptsResolveMaintainedGroups(t *testing.T) { + names := map[string]string{ + "710/district/0/fixed/23": "Ida Schuller", + "710/district/0/fixed/22": "Horatio Campbell", + "550/district/8/fixed/3": "Sam Cadena", + "545/district/1/fixed/8": "Mr. Gips", + "600/district/7/fixed/8": "Eric Mendelson", + "610/district/11/fixed/1": "Richelieu", + "550/district/2/fixed/9": "Sun Tzu", + "565/district/13/fixed/0": "Stolt Jensenberg", + "560/district/18/fixed/4": "Zoftig Blimp", + "610/district/1/fixed/46": "Tsunayoshi Smith", + "595/district/8/fixed/0": "Kendric Kuzio", + "685/district/5/fixed/0": "Susan Furor", + "1941/district/0/fixed/179": "Quintus Romulus", + "1833/district/0/fixed/0": "Janella Gheron", + "125/district/0/fixed/218": "Robin Raag", + "566/district/1/fixed/5": "Good Time Party Mixer", + } + + if len(gamedata.NPCScripts) != len(names) { + t.Fatalf("got %d NPC scripts, want %d", len(gamedata.NPCScripts), len(names)) + } + for id, script := range gamedata.NPCScripts { + group := gamedata.NPCGroups[id] + if group == nil || names[id] == "" || group.Name != names[id] { + t.Fatalf("script %s does not resolve to its maintained NPC", id) + } + if !strings.HasPrefix(script.Source, "https://anarchyonline.fandom.com/wiki/") || script.Talk == nil { + t.Fatalf("script %s has no source or conversation", id) + } + } +} + +func TestIdaSchullerRecordedConversation(t *testing.T) { + script := gamedata.NPCScripts["710/district/0/fixed/23"] + + greeting := script.Talk("") + answer := script.Talk("topic-1") + + if greeting.Text != "Hi." || len(greeting.Choices) != 21 { + t.Fatalf("unexpected Ida greeting: %#v", greeting) + } + if greeting.Choices[0].ID != "topic-1" || greeting.Choices[0].Text != "Tell me about yourself." { + t.Fatalf("unexpected first topic: %#v", greeting.Choices[0]) + } + if !strings.HasPrefix(answer.Text, "I'm Ida Sculler. I'm a nano-technician.") || !strings.Contains(answer.Text, "\nShe smiles brightly at you.\n") { + t.Fatalf("Ida answer lost recorded speech or narration: %q", answer.Text) + } +} + +func TestNPCScriptChoicesFitNativeConversationProtocol(t *testing.T) { + topicCount := 0 + for id, script := range gamedata.NPCScripts { + greeting := script.Talk("") + unknown := script.Talk("not-a-recorded-choice") + + if len(greeting.Choices) < 1 || len(greeting.Choices) > 1000 || len(greeting.Text) > 10000 { + t.Fatalf("script %s has an invalid opening", id) + } + if greeting.Text == "" && gamedata.NPCGroups[id].Name != "Sun Tzu" { + t.Fatalf("script %s lost its recorded greeting", id) + } + if unknown.Text != "" || len(unknown.Choices) != 0 { + t.Fatalf("script %s accepted an unrecorded choice", id) + } + seen := make(map[string]bool) + texts := []string{greeting.Text} + for _, choice := range greeting.Choices { + if choice.ID == "" || seen[choice.ID] || len(choice.Text) < 1 || len(choice.Text) > 1000 { + t.Fatalf("script %s has an invalid or duplicate choice: %#v", id, choice) + } + seen[choice.ID] = true + answer := script.Talk(choice.ID) + if len(answer.Text) < 1 || len(answer.Text) > 10000 || (choice.ID != "goodbye" && len(answer.Choices) != len(greeting.Choices)) || (choice.ID == "goodbye" && len(answer.Choices) != 0) { + t.Fatalf("script %s choice %s has an invalid answer", id, choice.ID) + } + texts = append(texts, choice.ID, choice.Text, answer.Text) + topicCount++ + } + for _, text := range texts { + for _, character := range text { + if character > 127 || (character < 32 && character != '\n' && character != '\t') { + t.Fatalf("script %s contains unsupported conversation text: %q", id, text) + } + } + } + } + if topicCount != 164 { + t.Fatalf("got %d recovered topics, want 164", topicCount) + } +} + +func TestNPCScriptsOmitUnrecoveredOrUnsupportedTopics(t *testing.T) { + omitted := map[string][]string{ + "710/district/0/fixed/23": {"topic-20", "topic-21"}, + "710/district/0/fixed/22": {"topic-19", "topic-20", "topic-21", "topic-22"}, + "550/district/8/fixed/3": {"topic-39"}, + "545/district/1/fixed/8": {"topic-13"}, + "610/district/11/fixed/1": {"topic-8"}, + "550/district/2/fixed/9": {"topic-6"}, + "595/district/8/fixed/0": {"topic-7"}, + "685/district/5/fixed/0": {"topic-4"}, + "1941/district/0/fixed/179": {"topic-6", "topic-7"}, + "1833/district/0/fixed/0": {"topic-2"}, + "125/district/0/fixed/218": {"topic-7", "topic-8"}, + "566/district/1/fixed/5": {"topic-2"}, + } + + for id, choices := range omitted { + for _, choice := range choices { + answer := gamedata.NPCScripts[id].Talk(choice) + if answer.Text != "" || len(answer.Choices) != 0 { + t.Fatalf("script %s exposes omitted topic %s", id, choice) + } + } + } +} + +func TestEricMendelsonRecordedFarewellClosesConversation(t *testing.T) { + script := gamedata.NPCScripts["600/district/7/fixed/8"] + + answer := script.Talk("goodbye") + + if answer.Text != "Goodbye." || len(answer.Choices) != 0 { + t.Fatalf("unexpected Eric farewell: %#v", answer) + } +} + +func TestQuestNPCsRetainRecordedLore(t *testing.T) { + cases := []struct { + id string + topic string + text string + }{ + {"595/district/8/fixed/0", "topic-5", "Winford was my best hunting buddy"}, + {"1941/district/0/fixed/179", "topic-2", "I'm Dr. Romelus- I'm a doctor researching"}, + {"125/district/0/fixed/218", "topic-5", "I am studying the effects of strong magnetic fields"}, + } + for _, test := range cases { + answer := gamedata.NPCScripts[test.id].Talk(test.topic) + + if !strings.Contains(answer.Text, test.text) { + t.Fatalf("NPC %s lost its recorded lore: %q", test.id, answer.Text) + } + } +} diff --git a/server/gamedata/zones/zone_125.yaml b/server/gamedata/zones/zone_125.yaml @@ -2726,13 +2726,16 @@ districts: id: 125/district/0/fixed/217 source_index: 217 - template_code: NOTC - name: Placeholder NOTC + name: Robin Raag monster_data: 17655 appearance: 229 level: 160 appearance_status: placeholder_creature placement_status: fixed_point - comment: Original template unresolved; Leet used as a visible stand-in. + comment: The Nano Technician quest speaker is listed inside Smugglers Den. The Nadybot location note + specifies behind Ash at (21, 217); the unique NOTC fixed spawn is at (21, 216). Name inferred from + the role and location; original appearance remains unresolved. Leet remains a visible stand-in. + Source https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest positions: - [21, 51, 216] id: 125/district/0/fixed/218 diff --git a/server/gamedata/zones/zone_127.yaml b/server/gamedata/zones/zone_127.yaml @@ -6,7 +6,7 @@ districts: - template_code: TAIL name: "Tailor" monster_data: 26076 - appearance: 229 + appearance: 405 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -28,7 +28,7 @@ districts: - template_code: BQWR name: "Basic Quality Weaponsdealer" monster_data: 26092 - appearance: 229 + appearance: 277 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -50,7 +50,7 @@ districts: - template_code: BQAU name: "Basic Quality Armorer" monster_data: 26097 - appearance: 229 + appearance: 197 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -72,7 +72,7 @@ districts: - template_code: BQPW name: "Basic Quality Pharmacist" monster_data: 26151 - appearance: 229 + appearance: 309 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -94,7 +94,7 @@ districts: - template_code: BTMV name: "Basic Tools Merchant" monster_data: 26137 - appearance: 229 + appearance: 421 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -110,7 +110,7 @@ districts: - template_code: CSBI name: "Container Supplier" monster_data: 26082 - appearance: 229 + appearance: 405 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -201,7 +201,7 @@ districts: - template_code: DRSH name: "Deranged Shopper" monster_data: 203736 - appearance: 229 + appearance: 405 level: 7 appearance_status: inferred_species placement_status: fixed_point @@ -421,7 +421,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 4 appearance_status: inferred_species placement_status: fixed_point @@ -726,7 +726,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 5 appearance_status: inferred_species placement_status: fixed_point @@ -810,7 +810,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 6 appearance_status: inferred_species placement_status: fixed_point @@ -826,7 +826,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 6 appearance_status: inferred_species placement_status: fixed_point @@ -859,7 +859,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 6 appearance_status: inferred_species placement_status: fixed_point @@ -991,7 +991,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 5 appearance_status: inferred_species placement_status: fixed_point @@ -1007,7 +1007,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 7 appearance_status: inferred_species placement_status: fixed_point @@ -1023,7 +1023,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 5 appearance_status: inferred_species placement_status: fixed_point @@ -1051,7 +1051,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 6 appearance_status: inferred_species placement_status: fixed_point @@ -1067,7 +1067,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 9 appearance_status: inferred_species placement_status: fixed_point @@ -1083,7 +1083,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 9 appearance_status: inferred_species placement_status: fixed_point @@ -1150,7 +1150,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 6 appearance_status: inferred_species placement_status: fixed_point @@ -1166,7 +1166,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 6 appearance_status: inferred_species placement_status: fixed_point @@ -1236,7 +1236,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -1422,7 +1422,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -1438,7 +1438,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 14 appearance_status: "inferred_species" placement_status: fixed_point @@ -1455,7 +1455,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -1539,7 +1539,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -1572,7 +1572,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -1605,7 +1605,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -1791,7 +1791,7 @@ districts: - template_code: MENI name: "Eumenides" monster_data: 203726 - appearance: 229 + appearance: 309 level: 20 appearance_status: inferred_species placement_status: fixed_point @@ -1807,7 +1807,7 @@ districts: - template_code: STFO name: "Striker Foreman" monster_data: 203744 - appearance: 229 + appearance: 277 level: 19 appearance_status: inferred_species placement_status: fixed_point @@ -1823,7 +1823,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 15 appearance_status: inferred_species placement_status: fixed_point @@ -1839,7 +1839,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 15 appearance_status: "inferred_species" placement_status: fixed_point @@ -1975,7 +1975,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 15 appearance_status: inferred_species placement_status: fixed_point @@ -1991,7 +1991,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 15 appearance_status: "inferred_species" placement_status: fixed_point @@ -2093,7 +2093,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 15 appearance_status: inferred_species placement_status: fixed_point @@ -2109,7 +2109,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -2125,7 +2125,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 15 appearance_status: "inferred_species" placement_status: fixed_point @@ -2142,7 +2142,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -2158,7 +2158,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -2174,7 +2174,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -2190,7 +2190,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 14 appearance_status: inferred_species placement_status: fixed_point @@ -2206,7 +2206,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 13 appearance_status: inferred_species placement_status: fixed_point @@ -2222,7 +2222,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 13 appearance_status: inferred_species placement_status: fixed_point @@ -2238,7 +2238,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 13 appearance_status: inferred_species placement_status: fixed_point @@ -2254,7 +2254,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 13 appearance_status: "inferred_species" placement_status: fixed_point @@ -2288,7 +2288,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 13 appearance_status: inferred_species placement_status: fixed_point @@ -2304,7 +2304,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 13 appearance_status: "inferred_species" placement_status: fixed_point @@ -2321,7 +2321,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 13 appearance_status: "inferred_species" placement_status: fixed_point @@ -2338,7 +2338,7 @@ districts: - template_code: EHDL name: "Architect Striker" monster_data: 203743 - appearance: 229 + appearance: 277 level: 13 appearance_status: "inferred_species" placement_status: fixed_point @@ -2423,7 +2423,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 12 appearance_status: inferred_species placement_status: fixed_point @@ -2507,7 +2507,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 9 appearance_status: inferred_species placement_status: fixed_point @@ -2523,7 +2523,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 8 appearance_status: inferred_species placement_status: fixed_point @@ -2539,7 +2539,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 8 appearance_status: inferred_species placement_status: fixed_point @@ -2555,7 +2555,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 7 appearance_status: inferred_species placement_status: fixed_point @@ -2622,7 +2622,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -2638,7 +2638,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -2654,7 +2654,7 @@ districts: - template_code: VOVG name: "Violent Vagabond" monster_data: 203733 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -2755,7 +2755,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -2817,7 +2817,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 8 appearance_status: inferred_species placement_status: fixed_point @@ -2833,7 +2833,7 @@ districts: - template_code: STFE name: "Stim Fiend" monster_data: 203739 - appearance: 229 + appearance: 277 level: 8 appearance_status: inferred_species placement_status: fixed_point @@ -3133,7 +3133,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 10 appearance_status: inferred_species placement_status: fixed_point @@ -3166,7 +3166,7 @@ districts: - template_code: MUGG name: "Mugger" monster_data: 203734 - appearance: 229 + appearance: 277 level: 7 appearance_status: inferred_species placement_status: fixed_point @@ -3182,7 +3182,7 @@ districts: - template_code: WOST name: "Workman Striker" monster_data: 203854 - appearance: 229 + appearance: 197 level: 13 appearance_status: inferred_species placement_status: fixed_point @@ -3201,7 +3201,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 17 appearance_status: "inferred_species" placement_status: fixed_point @@ -3218,7 +3218,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 17 appearance_status: "inferred_species" placement_status: fixed_point @@ -3235,7 +3235,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -3251,7 +3251,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3267,7 +3267,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3300,7 +3300,7 @@ districts: - template_code: RESC name: "Redundant Scan" monster_data: 204178 - appearance: 229 + appearance: 437 level: 19 appearance_status: inferred_species placement_status: fixed_point @@ -3316,7 +3316,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 19 appearance_status: "inferred_species" placement_status: fixed_point @@ -3365,7 +3365,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 19 appearance_status: inferred_species placement_status: fixed_point @@ -3381,7 +3381,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 19 appearance_status: inferred_species placement_status: fixed_point @@ -3397,7 +3397,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 19 appearance_status: "inferred_species" placement_status: fixed_point @@ -3414,7 +3414,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 19 appearance_status: "inferred_species" placement_status: fixed_point @@ -3533,7 +3533,7 @@ districts: - template_code: MDPA name: "Melded Patterns" monster_data: 203747 - appearance: 229 + appearance: 437 level: 20 appearance_status: inferred_species placement_status: fixed_point @@ -3549,7 +3549,7 @@ districts: - template_code: RESC name: "Redundant Scan" monster_data: 204178 - appearance: 229 + appearance: 437 level: 20 appearance_status: inferred_species placement_status: fixed_point @@ -3565,7 +3565,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 19 appearance_status: "inferred_species" placement_status: fixed_point @@ -3582,7 +3582,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 18 appearance_status: "inferred_species" placement_status: fixed_point @@ -3599,7 +3599,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 19 appearance_status: "inferred_species" placement_status: fixed_point @@ -3633,7 +3633,7 @@ districts: - template_code: RESC name: "Redundant Scan" monster_data: 204178 - appearance: 229 + appearance: 437 level: 20 appearance_status: inferred_species placement_status: fixed_point @@ -3649,7 +3649,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 19 appearance_status: "inferred_species" placement_status: fixed_point @@ -3666,7 +3666,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 19 appearance_status: "inferred_species" placement_status: fixed_point @@ -3717,7 +3717,7 @@ districts: - template_code: MDPA name: "Melded Patterns" monster_data: 203747 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3750,7 +3750,7 @@ districts: - template_code: EMSE name: "Empty Shell" monster_data: 203731 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3766,7 +3766,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3782,7 +3782,7 @@ districts: - template_code: EMSE name: "Empty Shell" monster_data: 203731 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3815,7 +3815,7 @@ districts: - template_code: NUBR name: "Neural Burnout" monster_data: 203730 - appearance: 229 + appearance: 437 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -3831,7 +3831,7 @@ districts: - template_code: MDPA name: "Melded Patterns" monster_data: 203747 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3864,7 +3864,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3880,7 +3880,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3896,7 +3896,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 18 appearance_status: "inferred_species" placement_status: fixed_point @@ -3947,7 +3947,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3963,7 +3963,7 @@ districts: - template_code: NUBR name: "Neural Burnout" monster_data: 203730 - appearance: 229 + appearance: 437 level: 19 appearance_status: inferred_species placement_status: fixed_point @@ -3979,7 +3979,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -3995,7 +3995,7 @@ districts: - template_code: PMPE name: "Premature Pattern" monster_data: 203727 - appearance: 229 + appearance: 437 level: 16 appearance_status: "inferred_species" placement_status: fixed_point @@ -4012,7 +4012,7 @@ districts: - template_code: PMPE name: "Premature Pattern" monster_data: 203727 - appearance: 229 + appearance: 437 level: 16 appearance_status: "inferred_species" placement_status: fixed_point @@ -4368,7 +4368,7 @@ districts: - template_code: NUBR name: "Neural Burnout" monster_data: 203730 - appearance: 229 + appearance: 437 level: 23 appearance_status: inferred_species placement_status: fixed_point @@ -4384,7 +4384,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -4400,7 +4400,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -4433,7 +4433,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 23 appearance_status: "inferred_species" placement_status: fixed_point @@ -4518,7 +4518,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 21 appearance_status: "inferred_species" placement_status: fixed_point @@ -4535,7 +4535,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 23 appearance_status: "inferred_species" placement_status: fixed_point @@ -4552,7 +4552,7 @@ districts: - template_code: MDPA name: "Melded Patterns" monster_data: 203747 - appearance: 229 + appearance: 437 level: 21 appearance_status: inferred_species placement_status: fixed_point @@ -4602,7 +4602,7 @@ districts: - template_code: NUBR name: "Neural Burnout" monster_data: 203730 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -4618,7 +4618,7 @@ districts: - template_code: NUBR name: "Neural Burnout" monster_data: 203730 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -4876,7 +4876,7 @@ districts: - template_code: IORB name: "Incomplete Rebuild" monster_data: 203728 - appearance: 229 + appearance: 309 level: 16 appearance_status: "inferred_species" placement_status: fixed_point @@ -4893,7 +4893,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 17 appearance_status: "inferred_species" placement_status: fixed_point @@ -4910,7 +4910,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -5067,7 +5067,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -5083,7 +5083,7 @@ districts: - template_code: MEML name: "Molested Molecules" monster_data: 203746 - appearance: 229 + appearance: 309 level: 17 appearance_status: "inferred_species" placement_status: fixed_point @@ -5100,7 +5100,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -5116,7 +5116,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -5132,7 +5132,7 @@ districts: - template_code: FASO name: "Fragmented Soul" monster_data: 203729 - appearance: 229 + appearance: 309 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -5148,7 +5148,7 @@ districts: - template_code: NUBR name: "Neural Burnout" monster_data: 203730 - appearance: 229 + appearance: 437 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -5164,7 +5164,7 @@ districts: - template_code: NUBR name: "Neural Burnout" monster_data: 203730 - appearance: 229 + appearance: 437 level: 17 appearance_status: inferred_species placement_status: fixed_point @@ -5180,7 +5180,7 @@ districts: - template_code: EMSE name: "Empty Shell" monster_data: 203731 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -5196,7 +5196,7 @@ districts: - template_code: PMPE name: "Premature Pattern" monster_data: 203727 - appearance: 229 + appearance: 437 level: 16 appearance_status: "inferred_species" placement_status: fixed_point @@ -5230,7 +5230,7 @@ districts: - template_code: RESC name: "Redundant Scan" monster_data: 204178 - appearance: 229 + appearance: 437 level: 18 appearance_status: inferred_species placement_status: fixed_point @@ -5249,7 +5249,7 @@ districts: - template_code: MDPA name: "Melded Patterns" monster_data: 203747 - appearance: 229 + appearance: 437 level: 24 appearance_status: inferred_species placement_status: fixed_point @@ -5265,7 +5265,7 @@ districts: - template_code: MDPA name: "Melded Patterns" monster_data: 203747 - appearance: 229 + appearance: 437 level: 24 appearance_status: inferred_species placement_status: fixed_point @@ -5416,7 +5416,7 @@ districts: - template_code: VEAE name: "Vergil Aeneid" monster_data: 203748 - appearance: 229 + appearance: 309 level: 29 appearance_status: inferred_species placement_status: fixed_point diff --git a/server/gamedata/zones/zone_1833.yaml b/server/gamedata/zones/zone_1833.yaml @@ -4,13 +4,16 @@ districts: - name: District groups: - template_code: EIQU - name: Placeholder EIQU + name: Janella Gheron monster_data: 17655 appearance: 229 level: 160 appearance_status: placeholder_creature placement_status: fixed_point - comment: Original template unresolved; Leet used as a visible stand-in. + comment: The Engineer quest speaker is listed at the Cyborg Barracks entrance in Greater Tir County. + The unique level-160 EIQU fixed spawn is inside the barracks. Name inferred from the profession role + and dungeon; original appearance remains unresolved. Leet remains a visible stand-in. + Source https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest positions: - [87.5, 5.1, 153.1] id: 1833/district/0/fixed/0 diff --git a/server/gamedata/zones/zone_1931.yaml b/server/gamedata/zones/zone_1931.yaml @@ -19,7 +19,7 @@ districts: - template_code: NMTH name: "Nematet the Custodian of Time" monster_data: 26159 - appearance: 229 + appearance: 309 level: 66 appearance_status: "inferred_species" placement_status: fixed_point @@ -91,7 +91,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -109,7 +109,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -127,7 +127,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -145,7 +145,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -163,7 +163,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -181,7 +181,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -202,7 +202,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -220,7 +220,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -238,7 +238,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -259,7 +259,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -277,7 +277,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -295,7 +295,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -340,7 +340,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -358,7 +358,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -376,7 +376,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -394,7 +394,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -425,7 +425,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -443,7 +443,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -461,7 +461,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -479,7 +479,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -500,7 +500,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -518,7 +518,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -536,7 +536,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -554,7 +554,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -572,7 +572,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -590,7 +590,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -608,7 +608,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -626,7 +626,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -644,7 +644,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -662,7 +662,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -680,7 +680,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -698,7 +698,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -716,7 +716,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -734,7 +734,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -752,7 +752,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -770,7 +770,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -788,7 +788,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -806,7 +806,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -824,7 +824,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -842,7 +842,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -860,7 +860,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -878,7 +878,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -896,7 +896,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -914,7 +914,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -932,7 +932,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -950,7 +950,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -968,7 +968,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -986,7 +986,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1004,7 +1004,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1022,7 +1022,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1040,7 +1040,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1058,7 +1058,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1076,7 +1076,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1094,7 +1094,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1112,7 +1112,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1130,7 +1130,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1148,7 +1148,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1166,7 +1166,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1184,7 +1184,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1202,7 +1202,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1220,7 +1220,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1238,7 +1238,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1256,7 +1256,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1274,7 +1274,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1292,7 +1292,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1310,7 +1310,7 @@ districts: - template_code: WIYA name: "Windcaller Yatila" monster_data: 26151 - appearance: 229 + appearance: 309 level: 55 appearance_status: "inferred_species" placement_status: fixed_point @@ -1330,7 +1330,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -1351,7 +1351,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -1372,7 +1372,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -1390,7 +1390,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -1408,7 +1408,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -1426,7 +1426,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -1464,7 +1464,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1482,7 +1482,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1500,7 +1500,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1518,7 +1518,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1536,7 +1536,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1554,7 +1554,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1572,7 +1572,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1593,7 +1593,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1611,7 +1611,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1632,7 +1632,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1650,7 +1650,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1668,7 +1668,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1686,7 +1686,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1704,7 +1704,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1722,7 +1722,7 @@ districts: - template_code: ACBT name: "Acolyte Betany" monster_data: 26143 - appearance: 229 + appearance: 437 level: 32 appearance_status: "inferred_species" placement_status: fixed_point @@ -1742,7 +1742,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1760,7 +1760,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1778,7 +1778,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -1854,7 +1854,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1872,7 +1872,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1890,7 +1890,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1908,7 +1908,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1926,7 +1926,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1944,7 +1944,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1962,7 +1962,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -1983,7 +1983,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2001,7 +2001,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2019,7 +2019,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2037,7 +2037,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2055,7 +2055,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2073,7 +2073,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2094,7 +2094,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2112,7 +2112,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2130,7 +2130,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2148,7 +2148,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2166,7 +2166,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2184,7 +2184,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2205,7 +2205,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2223,7 +2223,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2241,7 +2241,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2259,7 +2259,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2277,7 +2277,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2295,7 +2295,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2313,7 +2313,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2334,7 +2334,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2352,7 +2352,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2373,7 +2373,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2391,7 +2391,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2409,7 +2409,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2430,7 +2430,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2448,7 +2448,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2466,7 +2466,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2484,7 +2484,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2502,7 +2502,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2523,7 +2523,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2541,7 +2541,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2559,7 +2559,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2577,7 +2577,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2595,7 +2595,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2613,7 +2613,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2631,7 +2631,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2649,7 +2649,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2667,7 +2667,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2688,7 +2688,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2706,7 +2706,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -2796,7 +2796,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2814,7 +2814,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2832,7 +2832,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2850,7 +2850,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2868,7 +2868,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2889,7 +2889,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2907,7 +2907,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2925,7 +2925,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2943,7 +2943,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -2961,7 +2961,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3018,7 +3018,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -3036,7 +3036,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -3057,7 +3057,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -3075,7 +3075,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -3106,7 +3106,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 20 appearance_status: "inferred_species" placement_status: fixed_point @@ -3137,7 +3137,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3155,7 +3155,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3173,7 +3173,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3191,7 +3191,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3209,7 +3209,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3227,7 +3227,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3245,7 +3245,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3263,7 +3263,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3281,7 +3281,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3299,7 +3299,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3317,7 +3317,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3335,7 +3335,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3353,7 +3353,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3371,7 +3371,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3389,7 +3389,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3407,7 +3407,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3425,7 +3425,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3443,7 +3443,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3461,7 +3461,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3479,7 +3479,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -3509,7 +3509,7 @@ districts: - template_code: GATH name: "Gartua the Doorkeeper" monster_data: 159085 - appearance: 229 + appearance: 197 level: 62 appearance_status: "inferred_species" placement_status: fixed_point @@ -3529,7 +3529,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -3550,7 +3550,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -3571,7 +3571,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -3592,7 +3592,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 35 appearance_status: "inferred_species" placement_status: fixed_point @@ -3613,7 +3613,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3647,7 +3647,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3668,7 +3668,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3689,7 +3689,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3710,7 +3710,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3728,7 +3728,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3746,7 +3746,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3767,7 +3767,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 25 appearance_status: "inferred_species" placement_status: fixed_point @@ -3912,7 +3912,7 @@ districts: - template_code: MUTE name: "Murial the Faithful" monster_data: 26090 - appearance: 229 + appearance: 405 level: 34 appearance_status: "inferred_species" placement_status: fixed_point @@ -4251,7 +4251,7 @@ districts: - template_code: BBOI name: "Cultist" monster_data: 26082 - appearance: 229 + appearance: 405 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -4269,7 +4269,7 @@ districts: - template_code: CULT name: "Cultist" monster_data: 26103 - appearance: 229 + appearance: 197 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -4290,7 +4290,7 @@ districts: - template_code: ULTI name: "Cultist" monster_data: 26149 - appearance: 229 + appearance: 437 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -4308,7 +4308,7 @@ districts: - template_code: KNSL name: "Cultist" monster_data: 26074 - appearance: 229 + appearance: 277 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -4326,7 +4326,7 @@ districts: - template_code: OLSE name: "Cultist" monster_data: 26135 - appearance: 229 + appearance: 293 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -4344,7 +4344,7 @@ districts: - template_code: COKC name: "Cultist" monster_data: 26147 - appearance: 229 + appearance: 309 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -4362,7 +4362,7 @@ districts: - template_code: PCFH name: "Cultist" monster_data: 26137 - appearance: 229 + appearance: 421 level: 30 appearance_status: "inferred_species" placement_status: fixed_point @@ -4380,7 +4380,7 @@ districts: - template_code: TRRN name: "The Re-animator" monster_data: 26155 - appearance: 229 + appearance: 437 level: 58 appearance_status: "inferred_species" placement_status: fixed_point @@ -4400,7 +4400,7 @@ districts: - template_code: REGU name: "Reverend Gulard" monster_data: 26147 - appearance: 229 + appearance: 309 level: 38 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_1941.yaml b/server/gamedata/zones/zone_1941.yaml @@ -2206,13 +2206,16 @@ districts: id: 1941/district/0/fixed/178 source_index: 178 - template_code: DOQE - name: Placeholder DOQE + name: Quintus Romulus monster_data: 17655 appearance: 229 level: 160 appearance_status: placeholder_creature placement_status: fixed_point - comment: Original template unresolved; Leet used as a visible stand-in. + comment: The Doctor quest speaker is listed in Foremans Office (Biomare). The unique level-160 DOQE + fixed spawn is inside that dungeon. Name inferred from the profession role and dungeon; original + appearance remains unresolved. Leet remains a visible stand-in. + Source https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest positions: - [383.0119, 22.01008, 217.3052] id: 1941/district/0/fixed/179 diff --git a/server/gamedata/zones/zone_2060.yaml b/server/gamedata/zones/zone_2060.yaml @@ -6,7 +6,7 @@ districts: - template_code: BQWR name: "Neutral Basic Weapon Merchant" monster_data: 26092 - appearance: 229 + appearance: 277 level: 180 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_2061.yaml b/server/gamedata/zones/zone_2061.yaml @@ -6,7 +6,7 @@ districts: - template_code: BQAU name: "Neutral Basic Armor Merchant" monster_data: 26097 - appearance: 229 + appearance: 197 level: 180 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_2062.yaml b/server/gamedata/zones/zone_2062.yaml @@ -6,7 +6,7 @@ districts: - template_code: BQPW name: "Neutral Basic Pharmacy Merchant" monster_data: 26151 - appearance: 229 + appearance: 309 level: 180 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_2063.yaml b/server/gamedata/zones/zone_2063.yaml @@ -6,7 +6,7 @@ districts: - template_code: TAIL name: "Neutral Basic Clothing Merchant" monster_data: 26076 - appearance: 229 + appearance: 405 level: 180 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_4805.yaml b/server/gamedata/zones/zone_4805.yaml @@ -6,7 +6,7 @@ districts: - template_code: DACE name: "Dark Cenobite" monster_data: 206249 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -24,7 +24,7 @@ districts: - template_code: DACE name: "Dark Cenobite" monster_data: 206249 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -39,7 +39,7 @@ districts: - template_code: DASN name: "Dark Sanitary" monster_data: 206251 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -72,7 +72,7 @@ districts: - template_code: DACE name: "Dark Cenobite" monster_data: 206249 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -87,7 +87,7 @@ districts: - template_code: DASN name: "Dark Sanitary" monster_data: 206251 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -120,7 +120,7 @@ districts: - template_code: DACE name: "Dark Cenobite" monster_data: 206249 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -138,7 +138,7 @@ districts: - template_code: DASN name: "Dark Sanitary" monster_data: 206251 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -153,7 +153,7 @@ districts: - template_code: DACE name: "Dark Cenobite" monster_data: 206249 - appearance: 229 + appearance: 277 level: 61 appearance_status: "inferred_species" placement_status: fixed_point @@ -168,7 +168,7 @@ districts: - template_code: DACE name: "Dark Cenobite" monster_data: 206249 - appearance: 229 + appearance: 277 level: 61 appearance_status: "inferred_species" placement_status: fixed_point @@ -183,7 +183,7 @@ districts: - template_code: DRSU name: "Dark Summoner" monster_data: 206250 - appearance: 229 + appearance: 277 level: 63 appearance_status: "inferred_species" placement_status: fixed_point @@ -276,7 +276,7 @@ districts: - template_code: DASN name: "Dark Sanitary" monster_data: 206251 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -291,7 +291,7 @@ districts: - template_code: DACE name: "Dark Cenobite" monster_data: 206249 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point @@ -306,7 +306,7 @@ districts: - template_code: DRSU name: "Dark Summoner" monster_data: 206250 - appearance: 229 + appearance: 277 level: 60 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_560.yaml b/server/gamedata/zones/zone_560.yaml @@ -3973,7 +3973,7 @@ districts: - template_code: ZFBL name: "Zoftig Blimp" monster_data: 205867 - appearance: 229 + appearance: 277 level: 90 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_565.yaml b/server/gamedata/zones/zone_565.yaml @@ -2624,7 +2624,7 @@ districts: - template_code: BQWR name: "Neutral Basic Weapon Merchant" monster_data: 26092 - appearance: 229 + appearance: 277 level: 188 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_567.yaml b/server/gamedata/zones/zone_567.yaml @@ -3263,7 +3263,7 @@ districts: - template_code: BQWR name: "Neutral Basic Weapon Merchant" monster_data: 26092 - appearance: 229 + appearance: 277 level: 20 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_595.yaml b/server/gamedata/zones/zone_595.yaml @@ -3113,13 +3113,16 @@ districts: id: 595/district/8/group/18/spread_authored_point source_index: 18 - template_code: AVQE - name: Placeholder AVQE + name: Kendric Kuzio monster_data: 17655 appearance: 229 level: 160 appearance_status: placeholder_creature placement_status: fixed_point - comment: Original template unresolved; Leet used as a visible stand-in. + comment: The Adventurer quest speaker is listed in Deep Artery Valley near (1550, 1000); the Nadybot + location is (1532, 999). The unique AVQE fixed spawn at (1530, 1000) matches the role and location. + Name inferred; original appearance remains unresolved. Leet remains a visible stand-in. + Source https://anarchyonline.fandom.com/wiki/Jack_%22The_Leg-chopper%22_Quest positions: - [1530, 9.81, 1000] id: 595/district/8/fixed/0 diff --git a/server/gamedata/zones/zone_600.yaml b/server/gamedata/zones/zone_600.yaml @@ -6,7 +6,7 @@ districts: - template_code: JALE name: "Jack Legchopper Clone" monster_data: 152241 - appearance: 229 + appearance: 197 level: 109 appearance_status: "inferred_species" placement_status: fixed_point @@ -84,7 +84,7 @@ districts: - template_code: JALE name: "Jack Legchopper Clone" monster_data: 152241 - appearance: 229 + appearance: 197 level: 109 appearance_status: "inferred_species" placement_status: fixed_point @@ -147,7 +147,7 @@ districts: - template_code: JALE name: "Jack Legchopper Clone" monster_data: 152241 - appearance: 229 + appearance: 197 level: 109 appearance_status: "inferred_species" placement_status: fixed_point @@ -1889,7 +1889,7 @@ districts: - template_code: JALE name: "Jack Legchopper Clone" monster_data: 152241 - appearance: 229 + appearance: 197 level: 109 appearance_status: "inferred_species" placement_status: fixed_point @@ -2696,7 +2696,7 @@ districts: - template_code: JATH name: "Jack \"Legchopper\" Menendez" monster_data: 152241 - appearance: 229 + appearance: 197 level: 160 appearance_status: "inferred_species" placement_status: fixed_point @@ -3332,7 +3332,7 @@ districts: - template_code: JALE name: "Jack Legchopper Clone" monster_data: 152241 - appearance: 229 + appearance: 197 level: 109 appearance_status: "inferred_species" placement_status: fixed_point @@ -3806,7 +3806,7 @@ districts: - template_code: JALE name: "Jack Legchopper Clone" monster_data: 152241 - appearance: 229 + appearance: 197 level: 109 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_615.yaml b/server/gamedata/zones/zone_615.yaml @@ -3979,7 +3979,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -4119,7 +4119,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_625.yaml b/server/gamedata/zones/zone_625.yaml @@ -1380,7 +1380,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -5112,7 +5112,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -5186,7 +5186,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -5371,7 +5371,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -6188,7 +6188,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_630.yaml b/server/gamedata/zones/zone_630.yaml @@ -1620,7 +1620,7 @@ districts: - template_code: TAIL name: "Neutral Basic Clothing Merchant" monster_data: 26076 - appearance: 229 + appearance: 405 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -2301,7 +2301,7 @@ districts: - template_code: BQPW name: "Neutral Basic Pharmacy Merchant" monster_data: 26151 - appearance: 229 + appearance: 309 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -2319,7 +2319,7 @@ districts: - template_code: CSBI name: "Container Supplier" monster_data: 26082 - appearance: 229 + appearance: 405 level: 180 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_670.yaml b/server/gamedata/zones/zone_670.yaml @@ -925,7 +925,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -942,7 +942,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -959,7 +959,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -976,7 +976,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -4028,7 +4028,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -4045,7 +4045,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_687.yaml b/server/gamedata/zones/zone_687.yaml @@ -6,7 +6,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -23,7 +23,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -40,7 +40,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -57,7 +57,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -543,7 +543,7 @@ districts: - template_code: ELZM name: "Elian Zuwadza" monster_data: 152239 - appearance: 229 + appearance: 277 level: 110 appearance_status: "inferred_species" placement_status: fixed_point @@ -1013,7 +1013,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_695.yaml b/server/gamedata/zones/zone_695.yaml @@ -1485,7 +1485,7 @@ districts: - template_code: BQAU name: "Neutral Basic Armor Merchant" monster_data: 26097 - appearance: 229 + appearance: 197 level: 180 appearance_status: "inferred_species" placement_status: fixed_point @@ -2052,7 +2052,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -2093,7 +2093,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_705.yaml b/server/gamedata/zones/zone_705.yaml @@ -421,7 +421,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -450,7 +450,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -467,7 +467,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -520,7 +520,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -537,7 +537,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -554,7 +554,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -571,7 +571,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -612,7 +612,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -629,7 +629,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -646,7 +646,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -663,7 +663,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -680,7 +680,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_710.yaml b/server/gamedata/zones/zone_710.yaml @@ -180,7 +180,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -475,7 +475,7 @@ districts: comment: "Original template unresolved; Leet used as a visible stand-in. Name confidence: inferred_location. The wiki dialogue and location catalog identify Ida Schuller in Omni-1 Trade; the unique IDSC level-150 to 200 fixed spawn is at (548,297) in that playfield. Name inferred from the - abbreviation and city; exact appearance and original dialogue are not recovered. Source: + abbreviation and city; exact appearance and original branch conditions are not recovered. Source: https://anarchyonline.fandom.com/wiki/Ida_Schuller" positions: - [548, 8.01, 297] @@ -595,7 +595,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -612,7 +612,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_730.yaml b/server/gamedata/zones/zone_730.yaml @@ -6,7 +6,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -23,7 +23,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -40,7 +40,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -57,7 +57,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -74,7 +74,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -91,7 +91,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -108,7 +108,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -125,7 +125,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -142,7 +142,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -159,7 +159,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -176,7 +176,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -193,7 +193,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -210,7 +210,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -227,7 +227,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_735.yaml b/server/gamedata/zones/zone_735.yaml @@ -198,7 +198,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -215,7 +215,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -256,7 +256,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -273,7 +273,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -290,7 +290,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -307,7 +307,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -324,7 +324,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -341,7 +341,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -358,7 +358,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -375,7 +375,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -392,7 +392,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -409,7 +409,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -426,7 +426,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -443,7 +443,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -460,7 +460,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -477,7 +477,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -494,7 +494,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -511,7 +511,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -528,7 +528,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_740.yaml b/server/gamedata/zones/zone_740.yaml @@ -222,7 +222,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -239,7 +239,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -256,7 +256,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -273,7 +273,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -314,7 +314,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -331,7 +331,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -348,7 +348,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -365,7 +365,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -382,7 +382,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -399,7 +399,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -416,7 +416,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -457,7 +457,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -474,7 +474,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -491,7 +491,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point @@ -508,7 +508,7 @@ districts: - template_code: MACA name: "Male Captain" monster_data: 26151 - appearance: 229 + appearance: 309 level: 163 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_790.yaml b/server/gamedata/zones/zone_790.yaml @@ -468,7 +468,7 @@ districts: - template_code: TAIL name: "Neutral Basic Clothing Merchant" monster_data: 26076 - appearance: 229 + appearance: 405 level: 45 appearance_status: "inferred_species" placement_status: fixed_point @@ -486,7 +486,7 @@ districts: - template_code: CSBI name: "Container Supplier" monster_data: 26082 - appearance: 229 + appearance: 405 level: 45 appearance_status: "inferred_species" placement_status: fixed_point @@ -514,7 +514,7 @@ districts: - template_code: BQWR name: "Neutral Basic Weapon Merchant" monster_data: 26092 - appearance: 229 + appearance: 277 level: 45 appearance_status: "inferred_species" placement_status: fixed_point @@ -532,7 +532,7 @@ districts: - template_code: BQAU name: "Neutral Basic Armor Merchant" monster_data: 26097 - appearance: 229 + appearance: 197 level: 45 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/gamedata/zones/zone_795.yaml b/server/gamedata/zones/zone_795.yaml @@ -318,7 +318,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -335,7 +335,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -352,7 +352,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point @@ -369,7 +369,7 @@ districts: - template_code: MALI name: "Male Lieutenant" monster_data: 26088 - appearance: 229 + appearance: 277 level: 150 appearance_status: "inferred_species" placement_status: fixed_point diff --git a/server/main.go b/server/main.go @@ -398,6 +398,10 @@ func (server *server) serveWorldClient(client *worldClient) error { return fmt.Errorf("N3 message before character initialization") } switch binary.BigEndian.Uint32(body[0:4]) { + case 0x3b132d64, 0x2103247d, 0x270a4c62: + if err := server.handleNPCDialogue(client, body); err != nil { + return err + } case 0x5e477770: if len(body) < 36 { return fmt.Errorf("short character action message") diff --git a/server/state.go b/server/state.go @@ -42,6 +42,7 @@ type worldClient struct { forward float32 movementStarted time.Time npcs map[uint32]bool + dialogue *npcDialogue } func (client *worldClient) send(packet []byte) error { diff --git a/server/world.go b/server/world.go @@ -54,6 +54,10 @@ func characterPacket(character *character) []byte { human := character.appearance>>4&7 < 6 if character.npc { flags |= 1 + // kkr.dll 0x100821d0: bit 27 supplies HasKnuBotData (stat 768). + if gamedata.NPCScripts[character.npcDefinitionID].Talk != nil { + flags |= 0x08000000 + } } if human { flags |= 0x90 diff --git a/src/runtime/guest_crt.c b/src/runtime/guest_crt.c @@ -1113,7 +1113,7 @@ recomp_func_t guest_crt_lookup(const char *name) {"strrchr", crt_strrchr}, {"_mbsrchr", crt_strrchr}, /* Initial single-byte locale. */ {"memcmp", crt_memcmp}, {"memchr", crt_memchr}, {"sscanf", crt_sscanf}, - {"atoi", crt_atoi}, + {"atoi", crt_atoi}, {"atol", crt_atoi}, /* Both return 32 bits on Windows. */ {"setlocale", crt_setlocale}, {"localeconv", crt_localeconv}, {"_Getdays", crt_getdays}, {"_Getmonths", crt_getmonths}, diff --git a/src/tests/atoi.c b/src/tests/atoi.c @@ -13,6 +13,8 @@ recomp_func_t recomp_lookup(uint32_t address) { (void)address; abort(); } recomp_func_t recomp_lookup_import(uint32_t address) { return recomp_lookup(address); } #endif +static const char *conversion; + static uint32_t call(const char *input) { #ifdef _WIN32 @@ -27,7 +29,7 @@ static uint32_t call(const char *input) MEM32(g_esp + 4) = 0x50000100u; g_ebx = 0x12345678u; g_esi = 0x23456789u; g_edi = 0x3456789au; g_ebp = 0x456789abu; - guest_crt_lookup("atoi")(); + guest_crt_lookup(conversion)(); assert(g_esp == 0x5000ff04u && MEM32(guest_crt_errno_address()) == 0); assert(g_ebx == 0x12345678u && g_esi == 0x23456789u); assert(g_edi == 0x3456789au && g_ebp == 0x456789abu); @@ -39,9 +41,8 @@ int main(void) { #ifdef _WIN32 HMODULE crt = LoadLibraryA("msvcrt.dll"); - convert = (void *)GetProcAddress(crt, "atoi"); int *(__cdecl *get_errno)(void) = (void *)GetProcAddress(crt, "_errno"); - assert(convert && get_errno); + assert(get_errno); error_number = get_errno(); #else assert(guest_map("atoi test", 0x50000000u, 0x10000u)); @@ -55,26 +56,34 @@ int main(void) {"184467440737095516160", 0}, {"-999999999999999999999", 559939585}, {"+", 0}, {"\v\f\r\n\t 7", 7}, {"\xa0" "42", 0} }; - uint32_t results[14], digest = 2166136261u, random = 12345; + const char *names[] = {"atoi", "atol"}; + for (unsigned name = 0; name < 2; ++name) { + conversion = names[name]; +#ifdef _WIN32 + convert = (void *)GetProcAddress(crt, conversion); + assert(convert); +#endif + uint32_t results[14], digest = 2166136261u, random = 12345; - for (unsigned i = 0; i < 14; ++i) results[i] = call(cases[i].input); - for (unsigned c = 0; c < 256; ++c) { - char input[] = {(char)c, '1', '2', '3', 0}; - digest = (digest ^ call(input)) * 16777619u; - } - for (unsigned i = 0; i < 4096; ++i) { - char input[68]; - input[0] = i & 1 ? '+' : '-'; - for (unsigned j = 1; j < 65; ++j) { - random = random * 1664525u + 1013904223u; - input[j] = '0' + random % 10; + for (unsigned i = 0; i < 14; ++i) results[i] = call(cases[i].input); + for (unsigned c = 0; c < 256; ++c) { + char input[] = {(char)c, '1', '2', '3', 0}; + digest = (digest ^ call(input)) * 16777619u; + } + for (unsigned i = 0; i < 4096; ++i) { + char input[68]; + input[0] = i & 1 ? '+' : '-'; + for (unsigned j = 1; j < 65; ++j) { + random = random * 1664525u + 1013904223u; + input[j] = '0' + random % 10; + } + strcpy(input + 65, "x"); + digest = (digest ^ call(input)) * 16777619u; } - strcpy(input + 65, "x"); - digest = (digest ^ call(input)) * 16777619u; - } - for (unsigned i = 0; i < 14; ++i) assert(results[i] == cases[i].expected); - assert(digest == 0xc691d92du); - printf("atoi: 4366 cases, digest %08x, decimal prefixes, 32-bit wrap, errno and ABI passed\n", digest); + for (unsigned i = 0; i < 14; ++i) assert(results[i] == cases[i].expected); + assert(digest == 0xc691d92du); + printf("%s: 4366 cases, digest %08x, decimal prefixes, 32-bit wrap, errno and ABI passed\n", conversion, digest); + } return 0; } diff --git a/tools/data/generate_npcs.py b/tools/data/generate_npcs.py @@ -39,6 +39,22 @@ families = { 'WO': 30348, 'YU': 22802, } +# Human body records require matching breed and sex to initialize their materials. +# Build 1 is provisional; these values do not recover clothing or head selection. +human_appearances = { + 26074: 0x115, 26076: 0x195, 26082: 0x195, 26088: 0x115, + 26090: 0x195, 26092: 0x115, 26097: 0xc5, 26103: 0xc5, + 26135: 0x125, 26137: 0x1a5, 26143: 0x1b5, 26147: 0x135, + 26149: 0x1b5, 26151: 0x135, 26155: 0x1b5, 26159: 0x135, + 152239: 0x115, 152241: 0xc5, 159085: 0xc5, + 203726: 0x135, 203727: 0x1b5, 203728: 0x135, 203729: 0x135, + 203730: 0x1b5, 203731: 0x1b5, 203733: 0x115, 203734: 0x115, + 203736: 0x195, 203739: 0x115, 203743: 0x115, 203744: 0x115, + 203746: 0x135, 203747: 0x1b5, 203748: 0x135, 203854: 0xc5, + 204178: 0x1b5, 205867: 0x115, 206249: 0x115, 206250: 0x115, + 206251: 0x115, +} + def appearance(template_code, playfield, monsters, names): monster_data = appearances.get(template_code) @@ -76,6 +92,10 @@ def appearance(template_code, playfield, monsters, names): result[0] = mapping['names'][template_code] result[4] += ' Name confidence: ' + mapping['confidence'] + '. ' + mapping['comment'] result[4] += ' Source: ' + names['sources'][mapping['source']] + + # Keep faction and head bits while pairing a human body with human materials. + if result[1] in human_appearances: + result[2] = result[2] & ~0x1ff | human_appearances[result[1]] return result diff --git a/tools/data/test_population.py b/tools/data/test_population.py @@ -12,6 +12,16 @@ import npc_yaml class PopulationTests(unittest.TestCase): + def test_inferred_male_lieutenant_has_human_materials(self): + names = {'sources': {'captures': 'Rome Blue captures'}, 'templates': {'MALI': { + 'name': 'Male Lieutenant', 'monster_data': 26088, 'confidence': 'inferred_location', + 'source': 'captures', 'comment': 'Body model identified at the original posts.', + }}} + + result = generate_npcs.appearance('MALI', {'playfield': 710, 'name': 'Rome Blue'}, {}, names) + + self.assertEqual(result[:4], ['Male Lieutenant', 26088, 277, 'inferred_species']) + def test_name_evidence_keeps_an_unresolved_appearance(self): names = {'sources': {'guide': 'Guide source'}, 'templates': {'TEST': { 'name': 'Named NPC', 'confidence': 'inferred', 'source': 'guide', 'comment': 'Name only.',