Skip to content

Commit

Permalink
Update buildings.ts
Browse files Browse the repository at this point in the history
Removed original center lootspawner and added two to the entrances.
Removed all small boxes as they cramped the space too much.
Readjusted location of ammo crate and applied a 0.97 scale over it to make some space around them.
Added a regular crate to the center.
  • Loading branch information
Leon-9982 authored May 24, 2024
1 parent 350711b commit d4f06a6
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions common/src/definitions/buildings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,21 +366,23 @@ export const Buildings = ObjectDefinitions.create<BuildingDefinition>()(
{ idString: "regular_crate", position: Vec.create(-14, -28.5) },
{ idString: "regular_crate", position: Vec.create(14, 28.5) },
{ idString: warehouseObstacle, position: Vec.create(-14, 28.5) },
{ idString: "regular_crate", position: Vec.create(0, 0) },

{ idString: "ammo_crate", position: Vec.create(-14, 0) },
{ idString: "ammo_crate", position: Vec.create(14, 0) },
{ idString: "ammo_crate", position: Vec.create(-10, 0), scale: 0.97 },
{ idString: "ammo_crate", position: Vec.create(10, 0), scale: 0.97 },

Check failure on line 372 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Unexpected trailing comma

{ idString: { box: 9, grenade_box: 1 }, get position() { return randomVector(-16.6, -11.25, -14.93, -8.03); } },
{ idString: { box: 9, grenade_box: 1 }, get position() { return randomVector(-16.6, -11.25, 14.93, 8.03); } },
{ idString: { box: 9, grenade_box: 1 }, get position() { return randomVector(16.6, 11.25, -14.93, -8.03); } },
{ idString: { box: 9, grenade_box: 1 }, get position() { return randomVector(16.6, 11.25, 14.93, 8.03); } },
{ idString: { box: 9, grenade_box: 1 }, get position() { return Vec.create(16.15 * randomSign(), 20.97 * randomSign()); } }

Check failure on line 374 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Trailing spaces not allowed

Check failure on line 374 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

More than 1 blank line not allowed
],
lootSpawners: [
{
position: Vec.create(0, 0),
table: "warehouse"
}
{

Check warning on line 377 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 16 spaces but found 20

Check warning on line 377 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 16 spaces but found 20
position: Vec.create(0, 15),

Check warning on line 378 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 20 spaces but found 24

Check warning on line 378 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 20 spaces but found 24

Check failure on line 378 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Trailing spaces not allowed
table: "warehouse"

Check warning on line 379 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 20 spaces but found 24

Check warning on line 379 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 20 spaces but found 24
},

Check warning on line 380 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 16 spaces but found 20

Check warning on line 380 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 16 spaces but found 20

{

Check warning on line 382 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 16 spaces but found 20

Check warning on line 382 in common/src/definitions/buildings.ts

View workflow job for this annotation

GitHub Actions / Lint

Expected indentation of 16 spaces but found 20
position: Vec.create(0, -15),
table: "warehouse"
}
]
},
{
Expand Down

0 comments on commit d4f06a6

Please sign in to comment.