mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
feat: two worlds, rooms of 40, random spawn with space
- rooms hold 40 players. a player not starting in their den arrives in a random room of config.spawnRooms that has space (AJ_SPAWN_ROOMS overrides); with every one full, the emptiest, over the cap. - two worlds, Aldan and Congo (AJ_WORLDS sets how many): each its own copy of every land, dens and parties shared. a player arrives in a random world with space and keeps it through dens and parties. - the settings menu's World row is back: the server sends the worlds' names (generic list 16) and the world list (rm), and the client asks for the names once at login. a buddy's "go to" leads into their world, whose name the buddy card shows. "Find Open World" (on by default) joins a full room in a world with space. - the panels show the world with the room. the test harness pins one world and the township. buildVersion 60.
This commit is contained in:
1 parent
b813d89cfa
commit
31cbd87ff8
7 files changed
+161
-25
No files matched your search
@@ -120,7 +120,7 @@ module.exports = {
|
||||
// 41: the game's text says "Burrow" where it said Animal Jam.
|
||||
// 48: the item giver (the item finder renamed) with previews and hex colours;
|
||||
// 49 and 50: its link to a colour picker.
|
||||
buildVersion: env.AJ_BUILD_VERSION || "57",
|
||||
buildVersion: env.AJ_BUILD_VERSION || "60",
|
||||
// what the official CDN is asked for; not ours to change.
|
||||
upstreamBuildVersion: "3",
|
||||
|
||||
@@ -250,8 +250,21 @@ module.exports = {
|
||||
{room: "appondale.room_museum", shown: "appondale.room_museum_ant", months: [2, 4, 6, 8, 10, 12]},
|
||||
],
|
||||
startupRoom: "jamaa_township.room_main",
|
||||
shards: [{id: 1, name: "Aldan"}],
|
||||
maxUsersPerRoom: 80,
|
||||
// where a player who does not start in their den arrives: one of these at
|
||||
// random, of those that are not full (lib/world.js). AJ_SPAWN_ROOMS: a
|
||||
// list of its own, comma-separated (the tests' is the township alone).
|
||||
spawnRooms: env.AJ_SPAWN_ROOMS ? env.AJ_SPAWN_ROOMS.split(",").map(room => room.trim()).filter(Boolean)
|
||||
: ["jamaa_township.room_main", "sarepia.room_main", "crystal_sands.room_main", "coral_canyons.room_main",
|
||||
"mountains_of_shivveer.room_main", "appondale.room_main", "lost_temple_of_zios.room_main", "aussie.room_main", "balloosh.room_main"],
|
||||
// the worlds, each its own copy of every land (rooms are "path#world";
|
||||
// dens and parties are everyone's). a player arrives in one at random and
|
||||
// can switch in the settings menu (gui.ServerSelector). the game names
|
||||
// world N after the Nth name of its own list (551 Aldan, 552 Congo...,
|
||||
// generic list 16), so the names here are only for the panels and logs.
|
||||
// AJ_WORLDS: how many (the tests' is one).
|
||||
shards: ["Aldan", "Congo", "Draa", "Grande", "Kama", "Nile", "Pecos", "Ramu", "Tigris", "Zambezi"]
|
||||
.slice(0, Math.min(10, Math.max(1, Number(env.AJ_WORLDS) || 2))).map((name, i) => ({id: i + 1, name})),
|
||||
maxUsersPerRoom: 40,
|
||||
// everything in every shop for nothing (AJ_FREE_SHOPS=1). off unless
|
||||
// asked for: what the game's shops make of a price of 0 has not been seen.
|
||||
freeShops: env.AJ_FREE_SHOPS === "1",
|
||||
|
||||
Reference in new issue
Block a user