mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
feat(world): expand events, rewards, and den behavior
Add owner/developer room-effect controls and chat shortcuts, staff movement that bypasses full or locked destinations, in-game moderation entry points, theatre video synchronization, and shared room effects. Restore game and trade popups, reliably award refreshments and game rewards, support pet play outside parties, correct den placement categories, improve den item persistence, and refresh custom-item and masterpiece behavior. Harden room, party, pet, minigame, and item state handling with matching feature and restored-system regression coverage.
This commit is contained in:
1 parent
7dee29010a
commit
5c9b2e0066
11 files changed
+389
-29
No files matched your search
@@ -172,6 +172,14 @@ const run = async () => {
|
||||
a.xt("mg", subRoom[4], 1, 2, 3); // not signed: no gems
|
||||
await a.nextXt("mg");
|
||||
assert.ok(nextSerial > 0);
|
||||
// food machine wins award a temporary avatar attachment rather than an
|
||||
// inventory entry.
|
||||
a.xt("mm", subRoom[4], 15, "_a", 1);
|
||||
assert.deepStrictEqual((await a.nextXt("mm")).slice(2), ["_a", "1", ""]);
|
||||
// Attachment packets must also return to their sender: that echoed media
|
||||
// id is what makes the local avatar draw the held item.
|
||||
a.send(`<msg t='sys'><body action='pubMsg' r='${subRoom[4]}'><txt><![CDATA[1,%4]]></txt></body></msg>`);
|
||||
assert.deepStrictEqual((await a.nextXt("uc")).slice(2), [String(annLogin.params.userId), "35,", "4"]);
|
||||
a.xt("rl", subRoom[4], subRoom[4]);
|
||||
a.xt("mj", roomId, 4, 0, 0, -1); // gem Ball takes the room's place
|
||||
const gameRoom = await a.nextXt("rj");
|
||||
|
||||
Reference in new issue
Block a user