Skip to content

Commit

Permalink
fix: white tugboat
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanger committed Apr 4, 2024
1 parent 81e76c8 commit f1a0a1d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions common/src/definitions/buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2295,25 +2295,25 @@ export const Buildings = ObjectDefinitions.create<BuildingDefinition>()(
{ type: "metal", hitbox: RectangleHitbox.fromRect(10, 8.7, Vec.create(89.9, -46)) }
],
obstacles: [
{ idString: "tugboat", position: Vec.create(0, 0), rotation: 0 },
{ idString: "tire", position: Vec.create(21.28, 5.18), rotation: 0 },
{ idString: "tire", position: Vec.create(21.4, 14.57), rotation: 0 },
{ idString: "tire", position: Vec.create(21.4, 24.17), rotation: 0 },
{ idString: "tire", position: Vec.create(-21.55, 24.17), rotation: 0 },
{ idString: "tire", position: Vec.create(-21.5, 14.57), rotation: 0 },
{ idString: "tire", position: Vec.create(-21.45, 5.12), rotation: 0 },
{ idString: "regular_crate", position: Vec.create(-11.48, -37.36) },
{ idString: "regular_crate", position: Vec.create(11.49, -11.45) },
{ idString: "grenade_crate", position: Vec.create(12.3, -38.43) },
{ idString: "barrel", position: Vec.create(12.74, -26.23) },
{ idString: "tugboat_control_panel", position: Vec.create(0, 24.1), rotation: 0 },
{ idString: "office_chair", position: Vec.create(0, 16.65), rotation: 0 },
{ idString: "door", position: Vec.create(0.45, -4.8), rotation: 0 },
{ idString: "large_drawer", position: Vec.create(9.29, 2.98), rotation: 3 },
{ idString: "life_preserver", position: Vec.create(11.23, 14.67), rotation: 0 },
{ idString: "lux_crate", position: Vec.create(-9.62, 4.29), rotation: 1 },
{ idString: "window2", position: Vec.create(-6.09, 30.75), rotation: 1 },
{ idString: "window2", position: Vec.create(5.63, 30.75), rotation: 1 }
{ idString: "tugboat", position: Vec.create(90, 0), rotation: 0 },
{ idString: "tire", position: Vec.create(111.28, 5.18), rotation: 0 },
{ idString: "tire", position: Vec.create(111.4, 14.57), rotation: 0 },
{ idString: "tire", position: Vec.create(111.4, 24.17), rotation: 0 },
{ idString: "tire", position: Vec.create(71.55, 24.17), rotation: 0 },
{ idString: "tire", position: Vec.create(71.5, 14.57), rotation: 0 },
{ idString: "tire", position: Vec.create(71.45, 5.12), rotation: 0 },
{ idString: "regular_crate", position: Vec.create(81.48, -37.36) },
{ idString: "regular_crate", position: Vec.create(101.49, -11.45) },
{ idString: "grenade_crate", position: Vec.create(102.3, -38.43) },
{ idString: "barrel", position: Vec.create(102.74, -26.23) },
{ idString: "tugboat_control_panel", position: Vec.create(90, 24.1), rotation: 0 },
{ idString: "office_chair", position: Vec.create(90, 16.65), rotation: 0 },
{ idString: "door", position: Vec.create(90.45, -4.8), rotation: 0 },
{ idString: "large_drawer", position: Vec.create(99.29, 2.98), rotation: 3 },
{ idString: "life_preserver", position: Vec.create(101.23, 14.67), rotation: 0 },
{ idString: "gun_case", position: Vec.create(80.38, 4.29), rotation: 1 },
{ idString: "window2", position: Vec.create(83.91, 30.75), rotation: 1 },
{ idString: "window2", position: Vec.create(95.63, 30.75), rotation: 1 }
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion server/src/data/maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ const maps = {
oceanSize: 64,
genCallback(map) {
// map.game.grid.addObject(new Decal(map.game, "sea_traffic_control_decal", Vec.create(this.width / 2, this.height / 2), 0));
map.generateBuilding("green_house", Vec.create(this.width / 2, this.height / 2), 0);
map.generateBuilding("tugboat_white", Vec.create(this.width / 2, this.height / 2), 0);
}
},
singleObstacle: {
Expand Down

0 comments on commit f1a0a1d

Please sign in to comment.