Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,51 @@ jobs:

- name: Lint
run: npm run lint

# prettier:
# needs: files
# timeout-minutes: 10
# runs-on: ubuntu-latest
# name: Prettier

# steps:
# - name: Checkout
# uses: actions/checkout@v4

# - name: Set Node.js version to 22
# uses: actions/setup-node@v4
# with:
# node-version: 22

# - name: Install dependencies
# run: npm install

# - name: Build
# run: npm run build

# - name: Prettier
# run: npm run prettier

# test:
# needs: files
# timeout-minutes: 10
# runs-on: ubuntu-latest
# name: Build & Test

# steps:
# - name: Checkout
# uses: actions/checkout@v4

# - name: Set Node.js version to 22
# uses: actions/setup-node@v4
# with:
# node-version: 22

# - name: Install dependencies
# run: npm install

# - name: Build
# run: npm run build

# - name: Test
# run: npm run test
1 change: 0 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export default defineNuxtConfig({
async: true
},
{
hid: "gtag",
innerHTML: `
window.dataLayer = window.dataLayer || [];
function gtag(){ dataLayer.push(arguments); }
Expand Down
51 changes: 39 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"test": "vitest",
"lint": "eslint",
"typecheck": "vue-tsc --noEmit",
"prettier": "prettier . --check",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
Expand All @@ -18,7 +19,7 @@
"firebase-admin": "^13.0.1",
"flowbite": "^2.5.2",
"flyonui": "^1.1.0",
"nuxt": "^3.13.0",
"nuxt": "^3.16.2",
"obscenity": "^0.4.1",
"pinia": "^2.2.6",
"quill": "^2.0.3",
Expand All @@ -38,6 +39,7 @@
"eslint-plugin-vue": "^9.32.0",
"globals": "^15.14.0",
"happy-dom": "^16.7.2",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.6.9",
"tailwindcss": "^3.4.16",
"typescript": "^5.7.3",
Expand Down
189 changes: 133 additions & 56 deletions server/api/data/ships.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3556,10 +3556,87 @@ export default defineEventHandler(() => {
]
},
{
unknown: true,
type: "unknown",
img: "/weapons/icons/unknown.png",
system: "M2"
type: "known",
img: "/weapons/icons/cannon.png",
system: "M2",
name: `Integrated Cannon System`,
sourcedFrom: ["Somnambulist"],
default: false,
stats: {
type: "weapon",
antiship: 19873,
antiair: 720,
siege: null,
hp: 23400
},
subsystems: [
{
type: "weapon",
count: 1,
title: `MK3-BG-2800 "Fortress"`,
name: `Generic Heavy Cannon`,
damageType: "Projectile",
target: "Large Ship",
lockonEfficiency: null,
alpha: 450,
attributes: null,
stats: {
duration: 4,
attacksPerRound: [1, 2],
cooldown: 15,
lockOnTime: 5,
targetPriority: {
antiship: {
position: 1,
priorities: [
[1, "Battleship"],
[1, "Carrier"],
[1, "Battlecruiser"],
[1, "Cruiser"],
[2, "Auxiliary Ship"]
],
damage: 16673
}
}
}
},
{
type: "weapon",
count: 1,
title: `BG-150A`,
name: `Anti-Aircraft Cannon`,
damageType: "Projectile",
target: "Aircraft",
lockonEfficiency: null,
alpha: 50,
attributes: ["Anti-Aircraft Special Ammo", "Anti-Aircraft Counterattack"],
stats: {
duration: 2,
attacksPerRound: [1, 4],
cooldown: 10,
lockOnTime: 5,
targetPriority: {
antiship: {
position: 2,
priorities: [
[4, "Destroyer"],
[4, "Frigate"]
],
damage: 3200
},
antiair: {
position: 1,
priorities: [
[1, "Corvette"],
[2, "Fighter"],
[3, "Landing Ship"]
],
damage: 720
}
}
}
}
]
},
{
unknown: true,
Expand Down Expand Up @@ -3690,54 +3767,10 @@ export default defineEventHandler(() => {
]
},
{
type: "known",
img: "/weapons/icons/cannon.png",
system: "B1",
name: `Heavy Projectile Weapon System`,
sourcedFrom: null,
stats: {
type: "weapon",
antiship: 13320,
antiair: null,
siege: 1215,
hp: 24950
},
subsystems: [
{
type: "weapon",
count: 3,
title: `BM-4x1800`,
name: `Anti-Ship Missile Array`,
damageType: "Projectile",
target: "Large Ship",
lockonEfficiency: null,
alpha: 750,
attributes: ["Crit", "Evasive Counterattack"],
stats: {
duration: 10,
attacksPerRound: [1, 4],
cooldown: 30,
lockOnTime: 5,
targetPriority: {
antiship: {
position: 1,
priorities: [
[1, "Battlecruiser"],
[1, "Carrier"],
[1, "Auxiliary Ship"],
[1, "Battlecruiser"],
[1, "Cruiser"]
],
damage: 13320
},
siege: {
position: 2,
damage: 1215
}
}
}
}
]
unknown: true,
type: "unknown",
img: "/weapons/icons/unknown.png",
system: "B1"
},
{
type: "known",
Expand Down Expand Up @@ -3848,10 +3881,54 @@ export default defineEventHandler(() => {
system: "C2"
},
{
unknown: true,
type: "unknown",
img: "/weapons/icons/unknown.png",
system: "C3"
type: "known",
img: "/weapons/icons/cannon.png",
system: "C3",
name: `Heavy Projectile Weapon System`,
sourcedFrom: null,
stats: {
type: "weapon",
antiship: 13320,
antiair: null,
siege: 1215,
hp: 24950
},
subsystems: [
{
type: "weapon",
count: 3,
title: `BM-4x1800`,
name: `Anti-Ship Missile Array`,
damageType: "Projectile",
target: "Large Ship",
lockonEfficiency: null,
alpha: 750,
attributes: ["Crit", "Evasive Counterattack"],
stats: {
duration: 10,
attacksPerRound: [1, 4],
cooldown: 30,
lockOnTime: 5,
targetPriority: {
antiship: {
position: 1,
priorities: [
[1, "Battlecruiser"],
[1, "Carrier"],
[1, "Auxiliary Ship"],
[1, "Battlecruiser"],
[1, "Cruiser"]
],
damage: 13320
},
siege: {
position: 2,
damage: 1215
}
}
}
}
]
}
]
},
Expand Down
Loading