Added PvP field to zones table
This commit is contained in:
parent
58f801e302
commit
6070e587c6
@ -0,0 +1,2 @@
|
|||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE `Zone` ADD COLUMN `pvp` BOOLEAN NOT NULL DEFAULT false;
|
@ -107,6 +107,7 @@ model Zone {
|
|||||||
width Int
|
width Int
|
||||||
height Int
|
height Int
|
||||||
tiles Json
|
tiles Json
|
||||||
|
pvp Boolean @default(false)
|
||||||
zoneEventTiles ZoneEventTile[]
|
zoneEventTiles ZoneEventTile[]
|
||||||
zoneObjects ZoneObject[]
|
zoneObjects ZoneObject[]
|
||||||
characters Character[]
|
characters Character[]
|
||||||
|
@ -62,7 +62,7 @@ export class Server
|
|||||||
// Load zone manager
|
// Load zone manager
|
||||||
await ZoneManager.boot();
|
await ZoneManager.boot();
|
||||||
|
|
||||||
// Load command manager
|
// Load command manager - Disabled for now
|
||||||
// await CommandManager.boot(this.io);
|
// await CommandManager.boot(this.io);
|
||||||
|
|
||||||
// Listen for socket connections
|
// Listen for socket connections
|
||||||
|
Loading…
x
Reference in New Issue
Block a user