Skip to content

Commit

Permalink
feat: new residence model
Browse files Browse the repository at this point in the history
  • Loading branch information
Cygnusfear committed Oct 16, 2023
1 parent e44decc commit 3970b8b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file modified packages/client/public/models/facilities.glb
Binary file not shown.
6 changes: 6 additions & 0 deletions packages/client/src/game/data/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ const ModelData: ModelDataGroupType = {
materials: [],
colors: ["secondary", "primary", "primary", "primary"],
},
{
name: "Residence05",
nodes: ["CubaMid004", "CubaTop002", "CubaPole002"],
materials: [],
colors: ["secondary", "primary", "primary"],
},
],
engine: [
{
Expand Down
2 changes: 2 additions & 0 deletions packages/client/src/game/systems/gameLoop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ function GameLoop() {
addResources([
{ resource: "LAPU", amount: 1000 },
{ resource: "crystal", amount: 5 },
{ resource: "power", amount: 15 },
{ resource: "gravity", amount: 15 },
]);
}
};
Expand Down

0 comments on commit 3970b8b

Please sign in to comment.