mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -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
+3
-1
@@ -117,7 +117,9 @@ module.exports = ({enterRoom, findOnline, blocks}) => {
|
||||
// PartyManager.customPartyJoinResponse: [success, reason]
|
||||
const joinHosted = (session, host) => {
|
||||
const party = host && partyOf(host);
|
||||
if (!party || blocks.either(host, session.account)) {
|
||||
// A one-use staff teleport may inspect a hosted party despite a block;
|
||||
// ordinary party joins retain the host's privacy rule.
|
||||
if (!party || (!session.staffTravel && blocks.either(host, session.account))) {
|
||||
session.sendXt("sjp", -1, 0, party ? "BLK" : "NPP");
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user