Fix duplicate room_objective definition in TileDefinitions.js
This commit is contained in:
@@ -339,53 +339,7 @@ export const TILES = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
// ROOM OBJECTIVE
|
|
||||||
// -------------------------------------------------------------------------
|
|
||||||
'room_objective': {
|
|
||||||
id: 'room_objective',
|
|
||||||
name: 'Dungeon Room',
|
|
||||||
type: TILE_TYPES.ROOM,
|
|
||||||
textures: [
|
|
||||||
'/assets/images/dungeon1/tiles/room_4x4_circle.png',
|
|
||||||
'/assets/images/dungeon1/tiles/room_4x4_orange.png',
|
|
||||||
'/assets/images/dungeon1/tiles/room_4x4_squeleton.png'
|
|
||||||
],
|
|
||||||
variants: {
|
|
||||||
[DIRECTIONS.NORTH]: {
|
|
||||||
width: 4, height: 4,
|
|
||||||
layout: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]],
|
|
||||||
exits: [
|
|
||||||
{ x: 1, y: 0, direction: DIRECTIONS.SOUTH }, { x: 2, y: 0, direction: DIRECTIONS.SOUTH },
|
|
||||||
{ x: 1, y: 3, direction: DIRECTIONS.NORTH }, { x: 2, y: 3, direction: DIRECTIONS.NORTH }
|
|
||||||
]
|
|
||||||
},
|
|
||||||
[DIRECTIONS.EAST]: {
|
|
||||||
width: 4, height: 4,
|
|
||||||
layout: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]],
|
|
||||||
exits: [
|
|
||||||
{ x: 0, y: 1, direction: DIRECTIONS.WEST }, { x: 0, y: 2, direction: DIRECTIONS.WEST },
|
|
||||||
{ x: 3, y: 1, direction: DIRECTIONS.EAST }, { x: 3, y: 2, direction: DIRECTIONS.EAST }
|
|
||||||
]
|
|
||||||
},
|
|
||||||
[DIRECTIONS.SOUTH]: {
|
|
||||||
width: 4, height: 4,
|
|
||||||
layout: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]],
|
|
||||||
exits: [
|
|
||||||
{ x: 1, y: 3, direction: DIRECTIONS.NORTH }, { x: 2, y: 3, direction: DIRECTIONS.NORTH },
|
|
||||||
{ x: 1, y: 0, direction: DIRECTIONS.SOUTH }, { x: 2, y: 0, direction: DIRECTIONS.SOUTH }
|
|
||||||
]
|
|
||||||
},
|
|
||||||
[DIRECTIONS.WEST]: {
|
|
||||||
width: 4, height: 4,
|
|
||||||
layout: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]],
|
|
||||||
exits: [
|
|
||||||
{ x: 3, y: 1, direction: DIRECTIONS.EAST }, { x: 3, y: 2, direction: DIRECTIONS.EAST },
|
|
||||||
{ x: 0, y: 1, direction: DIRECTIONS.WEST }, { x: 0, y: 2, direction: DIRECTIONS.WEST }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
// ROOM OBJECTIVE
|
// ROOM OBJECTIVE
|
||||||
|
|||||||
Reference in New Issue
Block a user