Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎬🦈 ↝ [SGV2-176 SGV2-200 SSM-3 #150]: Chapter 1 partially completed #151

Merged
merged 47 commits into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d9502fa
📭🌖 ↝ [SGV2-178 SGV2-177 #145]: Structure modals & contents for classi…
Gizmotronn Sep 4, 2024
9d175ee
🏘️🎮 ↝ [SGV2-181 SGV2-177]: Can now view transits for your starter planet
Gizmotronn Sep 4, 2024
f6b19ba
🎰✏️ ↝ [SGV2-182 SGV2-177]: Martian clouds can now be classified from …
Gizmotronn Sep 4, 2024
a4dce50
💦👩‍👩‍👧‍👦 ↝ [SGV2-158 SGV2-183 SGV2-134]: Updating how planet view is …
Gizmotronn Sep 5, 2024
c33eee1
🩴🪦 ↝ [SGV2-180 SGV2-185 SGV2-149]: Initial owl classifications in str…
Gizmotronn Sep 5, 2024
da66709
🐴👱🏻‍♂️ ↝ [SGV2-186]: Improving generator/duplicating classification r…
Gizmotronn Sep 6, 2024
5efdec4
🍫🌺 ↝ [SGV2-187 SGV2-179 SGV2-180 SGV2-132 SGV2-129]: Structures are n…
Gizmotronn Sep 6, 2024
11026e0
🖥️🧤 ↝ [SGV2-188 SGV2-180 SGV2-186]: Classifications are now linked to…
Gizmotronn Sep 6, 2024
62c0277
🐚🏃🏻 ↝ [SGV2-188]: Introducing durability view component
Gizmotronn Sep 7, 2024
88b195c
🦊🍨 ↝ [SGV2-188]: DONE!
Gizmotronn Sep 8, 2024
f5700f5
🦨🤾🏻‍♂️ ↝ [SGV2-192]: Attempting to move structures around a bit
Gizmotronn Sep 9, 2024
e3910a0
🔐🌇 ↝ [SGV2-192]: Planet view/scene is now w-full
Gizmotronn Sep 9, 2024
06320f3
💂🏻‍♀️🪵 ↝ [SGV2-191 SGV2-192]: Setup
Gizmotronn Jul 23, 2024
c0fdef1
🍥🏣 ↝ [SGV2-192 SGV2-129 SGV2-191 SGV2-180]: Classification output now…
Gizmotronn Sep 9, 2024
82b9809
🐢🔘 ↝ [SGV2-129 SGV2-180 SGV2-192 SGV2-158 SGV2-193]: Rover photos now…
Gizmotronn Sep 10, 2024
36314df
🐏🧃 ↝ [SGV2-193 SGV2-170]: Mineral deposits now generating & showing o…
Gizmotronn Sep 10, 2024
732bf46
🧜🏼‍♀️👜 ↝ [SGV2-194]: Mission log with action and improved ui for star…
Gizmotronn Sep 10, 2024
9171f46
🦊🙎🏻 ↝ [SGV2-132 SGV2-129 SGV2-194]: Structures now appearing in their…
Gizmotronn Sep 11, 2024
34302bc
🪨🥤 ↝ [SGV2-195]: All structures now show their respective user's clas…
Gizmotronn Sep 11, 2024
692a59a
🎠🏦 ↝ [SGV2-132]: Tooltip for mousing over structures
Gizmotronn Feb 4, 2023
3a00d52
🐦‍⬛🤸🏻 ↝ [SGV2-187 SGV2-197 SGV2-196 SGV2-198]: Improving flow for mis…
Gizmotronn Sep 11, 2024
c022c3e
💌⏳ ↝ [SGV2-184 SGV2-124 SGV2-196]: Popup menu & research structure, m…
Gizmotronn Sep 12, 2024
dc731ec
🌈🚣🏻‍♀️ ↝ [SGV2-184 SGV2-196 SGV2-197 SGV2-200]: Users prevented from …
Gizmotronn Sep 12, 2024
f89123f
💧🐖 ↝ [SGV2-184 SGV2-187 SGV2-196 SGV2-198 SGV2-200]: Captn Cosmos dia…
Gizmotronn Sep 12, 2024
28b644c
👕🌓 ↝ [SGV2-200 SGV2-198 SGV2-187]: Missions can now be set in the dia…
Gizmotronn Sep 12, 2024
90ac6d5
🤾🏻‍♂️🔩 ↝ [SGV2-200]: I have no idea what's going on
Gizmotronn Sep 13, 2024
4c216c5
🕷️🏄🏻 ↝ [SGV2-186]: Media from classifications now in generated view
Gizmotronn Sep 13, 2024
3e15474
🦘🍝 ↝ [SGV2-170 SGV2-176]: Mining scene now condensed into one panel
Gizmotronn Sep 13, 2024
7833a71
🌖🦩 ↝ [SGV2-187 SGV2-196 SGV2-198 SGV2-200]: Found some issues and add…
Gizmotronn Sep 13, 2024
e7c31fd
🪨☕️ ↝ [SGV2-198 SGV2-196 SGV2-200 SGV2-154]: Some cleanup around rese…
Gizmotronn Sep 14, 2024
1e6c802
🦮🌂 ↝ [SGV2-200 SGV2-176 #146]: Fix structure deprecation
Gizmotronn Sep 14, 2024
6f4a959
⛑️🫒 ↝ [SGV2-198]: Classification points are now added
Gizmotronn Sep 14, 2024
db26ab8
🦞🐌 ↝ [SGV2-199 SGV2-196 SGV2-200 SGV2-198]: Research structure now in…
Gizmotronn Sep 14, 2024
cb73c51
🐏🍑 ↝ [SGV2-164 SGV2-153 SGV2-176 SGV2-200 SGV2-170 #147]: Fix some is…
Gizmotronn Mar 22, 2024
6774551
🦏🪂 ↝ [SGV2-164]: UI Cleanup & duplicate component removal
Gizmotronn Apr 27, 2024
1c4fa3a
🦘🛼 ↝ [SGV2-200 SGV2-141 SGV2-164 #141 #184]: Dialogue sequencing for …
Gizmotronn Sep 14, 2024
ef0e6ba
🦚🎬 ↝ [#148]: Some changes have come along
Gizmotronn Sep 15, 2024
ed3c047
⚙️🏵️ ↝ [SGV2-200 SSP-2]: Updating some api routes and inserting some…
Gizmotronn Sep 17, 2024
95f47d4
🐚🗿 ↝ [SGV2-200 #148]: Mission sequencing and some more data exports
Gizmotronn Aug 14, 2023
30573dc
🏓🪔 ↝ [SSP-4 SSG-1]: Component to view read requests from flask in docker
Gizmotronn Sep 17, 2024
93c1c91
⛸️🌕 ↝ [SSM-2]: Moving unused items and missions to archived api routes
Gizmotronn Sep 17, 2024
fd98ead
🦈🤾🏻‍♂️ ↝ [SSG-3]: Earth scene created
Gizmotronn Sep 18, 2024
3cb9198
Update GuideBot and CompletedMissions components
Agentic-One Sep 19, 2024
cdfeab0
🎈🧸 ↝ [SGV2-176 SGV2-200 #148 #149 SSC-1 SSG-4 SSG-8 SSM-1]: Mission l…
Gizmotronn Sep 19, 2024
a1c60b2
🍤🗿 ↝ [SGV2-200 SSG-1 #148]: Merge pull request #149 from Rhysmalcolm1…
Gizmotronn Sep 19, 2024
b685966
🍯🛰️ ↝ [SGV2-200 #148 #149 #150 SSM-3]: Narrative fixed, research stru…
Gizmotronn Sep 19, 2024
45c3589
🦓👩🏻‍🚒 ↝ [SGV2-200 SGV2-142 SSM-3 #150]: Fixing some icon issues and a…
Gizmotronn Sep 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
3 changes: 1 addition & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Based on https://github.com/vercel/next.js/blob/canary/examples/with-docker/.dockerignore
Dockerfile
next.dockerfile
.dockerignore
node_modules
npm-debug.log
Expand Down
21 changes: 21 additions & 0 deletions .github/deployments/vercel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Vercel Production Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- main
jobs:
Deploy-Production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
- name: Build Project Artifacts
run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts
TODOs.md

public/sw.js.map
public/sw.js
public/workbox-7144475a.js
public/workbox-7144475a.js.map
public/workbox-f1770938.js
Empty file removed .gitkeep
Empty file.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "citizen"]
path = citizen
url = https://github.com/signal-k/sytizen
4 changes: 3 additions & 1 deletion .vercelignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env.local
.env
/app/api/citizen
citizen/buckets
citizen/supabase
citizen/archive
49 changes: 0 additions & 49 deletions Dockerfile

This file was deleted.

80 changes: 80 additions & 0 deletions app/api/citizen/modules/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
import { NextRequest, NextResponse } from "next/server";
import { Mission } from "@/app/components/(structures)/StructuresForMission";

export interface CitizenScienceModule {
id: number;
name: string;
level?: number; // aka chapter
starterMission?: number;
structure: number;
description?: string;
};

const modules: CitizenScienceModule[] = [
{
id: 1,
name: "Planet Candidate Identification",
level: 1,
starterMission: 1372001,
structure: 3103,
description: 'Use your telescope [on your planet] to search for new planet candidates to travel to', // "like in the onboarding?"
},
{
id: 2,
name: "Animal Observations",
level: 1,
starterMission: 1370202,
structure: 3104,
description: "Central command has given you some animals from Earth to study their behaviour on {planetName}. Use the cameras in your base to keep track",
},
// {
// id: 21,
// name: "Animal uploader",
// level: 1,
// starterMission: 1370202,
// structure: 3104,
// },
{
id: 4,
name: "Cloud identification",
level: 1,
starterMission: 137121301,
structure: 3105,
description: 'The LIDAR module can be used to track weather events and understand more about cloud features',
},
{
id: 5,
name: "Map the terrain (of your planet)",
level: 1,
starterMission: 13714101,
structure: 3102,
description: "Your rovers have been busy taking photos of the landscape, study their photos to find mineral deposits and map out your planet's terrain",
},

// Non citizen-science modules used for "active structure"
{
id: 106,
name: 'Go mining',
level: 1,
starterMission: 1370205,
structure: 3102,
},
{
id: 107,
name: 'Repair Research Station',
level: 1,
starterMission: 1370206,
structure: 3106,
},
{
id: 108,
name: 'Use the Research Station to unlock a new module',
level: 1,
starterMission: 1370207,
structure: 3106,
},
];

export async function GET(req: NextRequest) {
return NextResponse.json(modules);
};
42 changes: 0 additions & 42 deletions app/api/citizen/zoodex/add/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,6 @@ import { NextRequest, NextResponse } from 'next/server';

interface Recipe {
[key: string]: number;
}

interface InventoryItem {
id: number;
name: string;
description: string;
cost: number;
icon_url: string;
ItemCategory: string;
parentItem: number | null;
itemLevel: number;
recipe?: Recipe;
}

// Mock inventory items data
const inventoryItems: InventoryItem[] = [
{ id: 11, name: 'Coal', description: 'You can burn this to create power', cost: 1, icon_url: 'https://raw.githubusercontent.com/Signal-K/client/initialClassification/public/assets/Inventory/Items/Coal.png', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1 },
{ id: 12, name: 'Telescope Signal Receiver', description: 'This tool is used to receive transmissions from your transiting telescope and decode them into readable data. It is also the first component of your main telescope array', cost: 1, icon_url: 'https://github.com/Signal-K/client/blob/initialClassification/public/assets/Inventory/Structures/Telescope2.png?raw=true', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '13': 3, '15': 2 } }, // Originally pointed towards 2 alloy
{ id: 13, name: 'Silicon', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 14, name: 'Transiting Telescope', description: '', cost: 1, icon_url: 'https://github.com/Signal-K/client/blob/initialClassification/public/assets/Inventory/Structures/TelescopeReceiver.png?raw=true', ItemCategory: 'Structure', parentItem: 12, itemLevel: 1, recipe: { '13': 2, '15': 1 } },
{ id: 15, name: 'Iron', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 16, name: 'Nickel', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 17, name: 'Alloy', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 18, name: 'Fuel', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 19, name: 'Copper', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 20, name: 'Chromium', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 21, name: 'Water', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 22, name: 'Vehicle Structure', description: '', cost: 1, icon_url: '/22.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '17': 4, '18': 2 } },
{ id: 23, name: 'Rover 1', description: '', cost: 1, icon_url: '/roover.png', ItemCategory: 'Automaton', parentItem: 22, itemLevel: 1 },
{ id: 24, name: 'Surveyor', description: 'This tool clips onto your telescope receiver and allows you to unlock complex stats about your anomaly.', cost: 1, icon_url: 'https://cdn.cloud.scenario.com/assets/asset_eTRkeYatYQRQRwrjjAgYA2Pq?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uY2xvdWQuc2NlbmFyaW8uY29tL2Fzc2V0cy9hc3NldF9lVFJrZVlhdFlRUlFSd3JqakFnWUEyUHE~KiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyMDM5Njc5OX19fV19&Key-Pair-Id=K36FIAB9LE2OLR&Signature=G5z~cUSlmAT2IT-qEQuZVOxQsRe-Q1le4erU8YfKnKe0hfsIq4fjmWArcgikYZLDKY8N0~kgPjf0hPQuHyxpYcDWlhmh1u7esBHffDf~5bR0tqjFcChfY6d1q-OCVvwkPxU9CMOOlxmwDYK3U6049ROnSXXZvmWDM7igl~CPaqILXt0bsNEtL4KWTDAfuBkfq7vDt1Jvy0h0k3z8dQ3XKdsFenqeQozdTp6B-y-7vxEbKcUMOqhEnOW0IXg1Z6egwHBD2dUD2fQhk-jAlQ7CbWeFQ~~h~emfyuFRYT7VMkiv2GICV12SENk2KkBnsB1t3kBONrJiUKlr~ekpsilerw__', ItemCategory: 'Structure', parentItem: 12, itemLevel: 1, recipe: { '13': 1, } },
{ id: 25, name: 'Empty', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 29, name: "Starter Spaceship", description: 'You bravely piloted this spaceship down to your new home', cost: 0, icon_url: '', ItemCategory: 'Vehicles', parentItem: null, itemLevel: 1},
{ id: 30, name: 'Mining station', description: 'Used for mass-mining of resources; requires finding a mineral deposit', cost: 1, icon_url: '/miningstation.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '11': 1 } },
{ id: 31, name: 'Automaton Upgrade Station', description: 'Add modules to your automatons!', cost: 1, icon_url: '/camerars.png', ItemCategory: 'Structure', parentItem: 22, itemLevel: 1, recipe: { '11': 1 } },
{ id: 28, name: 'Camera Module', description: 'Your automatons can now take photos!', cost: 1, icon_url: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQIO24cgji4a0syb8AtE9A7cSEWBqCfVU89F5OJ9kcB4-WWVs68-sw-uyJg4vmNuzKTHE8&usqp=CAU', ItemCategory: 'AutomatonModule', parentItem: 23, itemLevel: 1, recipe: { '11': 1} },
{ id: 26, name: 'Meteorology Tool', description: 'Collect cloud info', cost: 1, icon_url: '/28.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '11': 1} }, // Could be updated to be linked to 12?
{ id: 32, name: 'Camera Receiver', description: 'Keep track of all the photos your anomalies have taken', cost: 1, icon_url: '/camerars.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '11': 1 } },
{ id: 33, name: 'Launchpad', description: 'You can now refuel and launch spacecraft from here!', cost: 1, icon_url: '', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '15': 1 } }, // Update to be called "VehicleStructure"
];

export async function GET(req: NextRequest) {
return NextResponse.json(inventoryItems);
};

/*
Expand Down
102 changes: 102 additions & 0 deletions app/api/gameplay/inventory/archive/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
import { NextRequest, NextResponse } from 'next/server';

interface Recipe {
[key: string]: number;
}

interface InventoryItem {
id: number;
name: string;
description: string;
cost?: number;
icon_url: string;
ItemCategory: string;
parentItem?: number | null;
itemLevel?: number;
locationType?: string;
recipe?: Recipe;
gif?: string;
};

// Mock inventory items data
const inventoryItems: InventoryItem[] = [
{ id: 11, name: 'Coal', description: 'You can burn this to create power', cost: 1, icon_url: '/assets/Items/Coal.png', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1 },
{ id: 12, name: 'Telescope Signal Receiver', description: 'This tool is used to receive transmissions from your transiting telescope and decode them into readable data. It is also the first component of your main telescope array', cost: 1, icon_url: 'https://github.com/Signal-K/client/blob/SGV2-154/public/assets/Archive/Inventory/Structures/Telescope2.png?raw=true', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '13': 3, '15': 2 }, locationType: 'Surface' }, // Originally pointed towards 2 alloy
{ id: 13, name: 'Silicon', description: '', cost: 1, icon_url: '/assets/Items/Silicon.png', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 14, name: 'Transiting Telescope', description: '', cost: 1, icon_url: 'https://github.com/Signal-K/client/blob/SGV2-154/public/assets/Archive/Inventory/Structures/TelescopeReceiver.png?raw=true', ItemCategory: 'Structure', parentItem: 12, itemLevel: 1, recipe: { '13': 2, '15': 1 } },
{ id: 15, name: 'Iron', description: 'Test', cost: 1, icon_url: '/assets/Items/Iron.png', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 16, name: 'Nickel', description: '/assets/Items/Nickel.png', cost: 1, icon_url: '/assets/Items/Nickel.png', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 17, name: 'Alloy', description: '/assets/Items/Alloy.png', cost: 1, icon_url: '/assets/Items/Alloy.png', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 18, name: 'Fuel', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 19, name: 'Copper', description: '', cost: 1, icon_url: '/assets/Items/Copper.png', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 20, name: 'Chromium', description: '/assets/Items/Chromite.png', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 21, name: 'Water-Ice', description: '/assets/Items/Ice.png', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 22, name: 'Vehicle Structure', description: '', cost: 1, icon_url: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQ4grkW7K-6nnJ7JtMVPDM58odIgUG7IEZnd65IqUrV4P9QcgT35SIiz_twqcblIXtfxCA&usqp=CAU', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '17': 4, '18': 2 } },
{ id: 23, name: 'Rover 1', description: '', cost: 1, icon_url: 'https://static-00.iconduck.com/assets.00/mars-rover-illustration-2048x2048-czfy73zy.png', ItemCategory: 'Automaton', parentItem: 22, itemLevel: 1, gif: "/assets/Items/Roover.gif", }, // https://cdn.dribbble.com/users/107759/screenshots/4248752/rover.gif
{ id: 24, name: 'Surveyor', description: 'This tool clips onto your telescope receiver and allows you to unlock complex stats about your anomaly.', cost: 1, icon_url: 'https://cdn.cloud.scenario.com/assets/asset_eTRkeYatYQRQRwrjjAgYA2Pq?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9jZG4uY2xvdWQuc2NlbmFyaW8uY29tL2Fzc2V0cy9hc3NldF9lVFJrZVlhdFlRUlFSd3JqakFnWUEyUHE~KiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcyMDM5Njc5OX19fV19&Key-Pair-Id=K36FIAB9LE2OLR&Signature=G5z~cUSlmAT2IT-qEQuZVOxQsRe-Q1le4erU8YfKnKe0hfsIq4fjmWArcgikYZLDKY8N0~kgPjf0hPQuHyxpYcDWlhmh1u7esBHffDf~5bR0tqjFcChfY6d1q-OCVvwkPxU9CMOOlxmwDYK3U6049ROnSXXZvmWDM7igl~CPaqILXt0bsNEtL4KWTDAfuBkfq7vDt1Jvy0h0k3z8dQ3XKdsFenqeQozdTp6B-y-7vxEbKcUMOqhEnOW0IXg1Z6egwHBD2dUD2fQhk-jAlQ7CbWeFQ~~h~emfyuFRYT7VMkiv2GICV12SENk2KkBnsB1t3kBONrJiUKlr~ekpsilerw__', ItemCategory: 'Structure', parentItem: 12, itemLevel: 1, recipe: { '13': 1, } },
{ id: 25, name: 'Empty', description: '', cost: 1, icon_url: '', ItemCategory: 'Minerals', parentItem: null, itemLevel: 1},
{ id: 29, name: "Starter Spaceship", description: 'You bravely piloted this spaceship down to your new home', cost: 0, icon_url: '', ItemCategory: 'Vehicles', parentItem: null, itemLevel: 1},
{ id: 30, name: 'Mining station', description: 'Used for mass-mining of resources; requires finding a mineral deposit', cost: 1, icon_url: 'https://cdn-icons-png.flaticon.com/512/1504/1504044.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '11': 1 } },
{ id: 31, name: 'Automaton Upgrade Station', description: 'Add modules to your automatons!', cost: 1, icon_url: '/assets/Items/camerars.png', ItemCategory: 'Structure', parentItem: 22, itemLevel: 1, recipe: { '11': 1 } },
{ id: 28, name: 'Camera Module', description: 'Your automatons can now take photos!', cost: 1, icon_url: 'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQIO24cgji4a0syb8AtE9A7cSEWBqCfVU89F5OJ9kcB4-WWVs68-sw-uyJg4vmNuzKTHE8&usqp=CAU', ItemCategory: 'AutomatonModule', parentItem: 23, itemLevel: 1, recipe: { '11': 1} },
{ id: 26, name: 'Meteorology Tool', description: 'Collect cloud info', cost: 1, icon_url: 'https://cdn-icons-png.flaticon.com/512/2826/2826342.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '11': 1} }, // Could be updated to be linked to 12?
{ id: 32, name: 'Camera Receiver', description: 'Keep track of all the photos your anomalies have taken', cost: 1, icon_url: 'https://cdn-icons-png.flaticon.com/512/5169/5169909.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '11': 1 }, locationType: 'Orbit' },
{ id: 33, name: 'Launchpad', description: 'You can now refuel and launch spacecraft from here!', cost: 1, icon_url: '', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '15': 1 } }, // Update to be called "VehicleStructure"
{ id: 101, name: 'Telescope', description: 'gain an understanding of the overall behaviour and makeup of the planet you have selected', cost: 1, icon_url: 'https://github.com/Signal-K/client/blob/initialClassification/public/assets/Inventory/Structures/TelescopeReceiver.png?raw=true', ItemCategory: 'Structure', parentItem: null, itemLevel: 1},
{ id: 102, name: 'Zoodex', description: 'populate your planet with some animals to gain an understanding of animal behaviour on your planet and aide local research back home', cost: 1, icon_url: '', ItemCategory: 'Structure', parentItem: null, itemLevel: 1},
{ id: 103, name: 'Discovery Module', description: 'populate your planet with low-level content e.g. mining deposits, weather cycle behaviour etc (need to word this better)', cost: 1, icon_url: '', ItemCategory: 'Structure', parentItem: null, itemLevel: 1},
{ id: 104, name: 'Camera Receiver Station', description: 'Keep track of all the photos your anomalies have taken (WIP)', cost: 1, icon_url: 'https://cdn-icons-png.flaticon.com/512/5169/5169909.png', ItemCategory: 'Structure', parentItem: null, itemLevel: 1, recipe: { '11': 1 } },
{
id: 3101, name: 'Mining station', description: 'Gives you the ability to mine and view your mineral deposits', cost: 1, icon_url: '/assets/Items/MiningStructure.png', ItemCategory: 'Structure', parentItem: 30, itemLevel: 1, locationType: 'Surface'
},
{
id: 3102, name: 'Automaton station', description: 'View, control and upgrade all your automatons and rovers here', cost: 1, icon_url: '/assets/Items/AutoController.png', ItemCategory: 'Structure', parentItem: 30, itemLevel: 1, locationType: 'Surface'
},
{
id: 3103, name: 'Telescope', description: 'Space-based observations & classifications', icon_url: '/assets/Items/Telescope.png', ItemCategory: 'Structure', locationType: 'Surface'
},
{
id: 3104, name: "Zoodex", description: "Populate your planet with some animals to gain an understanding of animal behaviour on your planet and aide local research back home", cost: 1, icon_url: "/assets/Items/Pokedex.png", ItemCategory: "Structure", parentItem: null, itemLevel: 1, locationType: "Surface"
},
{
id: 3105,
name: "LIDAR",
// description: 'This tool is used to scan the surface of your planet and create a 3D model of the terrain', -- This is cool, but not what we're using lidar for yet (thanks copilot)
description: "Collect and study weather events and entities",
icon_url: "/assets/Items/Scoper.png",
ItemCategory: "Structure",
locationType: 'Surface',
},
{
id: 3106,
name: "Research Station",
description: "Unlock new technology and research",
icon_url: "/assets/Items/Research.png",
ItemCategory: "Structure",
locationType: 'Surface',
},

// Tests
{
id: 10600,
name: "Helicopter",
// description:
description: "Fly, I'm not sure yet",
icon_url: "/assets/Items/Helicopter.png",
ItemCategory: "Structure",
locationType: 'Atmosphere',
},
{
id: 10601,
name: "Camera receiver",
// description:
description: "Connect to rovers",
icon_url: "/assets/Items/CameraReceiver.png",
ItemCategory: "Structure",
locationType: 'Orbital',
},
];

export async function GET(req: NextRequest) {
return NextResponse.json(inventoryItems);
};
Loading