Skip to content

Commit

Permalink
docs: LICENSE and README
Browse files Browse the repository at this point in the history
  • Loading branch information
gander committed Dec 30, 2024
1 parent fdefbce commit b4046eb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 33 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Gander
Copyright (c) 2024 Adam Gąsowski

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# NMS Frigate Calc

A dynamic calculator that allows you to quickly check if a frigate has the correct statistics and if it is worth buying.

---

The calculator uses the formulas described in article https://nomanssky.fandom.com/wiki/Frigate under the [CC BY-NC-SA](https://www.fandom.com/licensing) license
32 changes: 0 additions & 32 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ const calcExpeditions = (expeditions: number): number => {
return result;
};
const telemetryImg = import.meta.env.VITE_TELEMETRY_IMG;
const discordInviteLink = import.meta.env.VITE_DISCORD_INVITE;
watch([traitsInput, statsInput, expeditions], () => {
stats.value = extractTraits(statsInput.value).reduce((sum, cur) => cur + sum, 0);
bonuses.value = extractTraits(traitsInput.value).reduce((sum, cur) => cur + sum, 0);
Expand Down Expand Up @@ -150,31 +147,6 @@ watch(validStat, (value) => {
as positive or negative integers.
Any other chars will be ignored. eg: <span class="font-monospace">"1,2.3 -4"</span>
</div>

<div class="col my-3 d-flex flex-column align-items-start">
<div class="lead">Formula sources:</div>
<a href="https://steamcommunity.com/sharedfiles/filedetails/?id=1505175794" target="_blank" data-umami-event="steam" data-tianji-event="steam">Frigate Buyer's Guide</a>
<a href="https://www.reddit.com/r/NoMansSkyTheGame/comments/knjokc/a_guide_to_evaluating_frigate_stats/" target="_blank" data-umami-event="reddit" data-tianji-event="reddit">A Guide to Evaluating Frigate Stats</a>
<a href="https://github.com/gander/nms-frigate-calc/issues" target="_blank" class="d-flex mt-4 flex-column align-items-center fw-bold" data-umami-event="github" data-tianji-event="github">Report Bug or Request Feature</a>
</div>

<div class="col my-3 d-flex flex-column align-items-start small">
A older version of this calculator is archived at <a href="https://v2.nms.gander.tools/" target="_blank" class="fw-bold text-decoration-none">v2.nms.gander.tools</a>.
</div>

<div class="row my-3" v-if="discordInviteLink">
<div class="discord">
<a :href="discordInviteLink" target="_blank"><img alt="Discord" src="https://img.shields.io/discord/1169297756356100261?style=plastic&logo=discord&label=discord">
</a>
</div>
</div>

<div class="row my-3" v-if="telemetryImg">
<div class="telemetry">
<img :src="telemetryImg" alt="">
</div>
</div>

</div>
</div>
</div>
Expand All @@ -187,8 +159,4 @@ watch(validStat, (value) => {
justify-content: center;
cursor: help;
}
.telemetry, .discord {
text-align: center;
}
</style>

0 comments on commit b4046eb

Please sign in to comment.