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

Gradual Research Part Two #9562

Closed
wants to merge 4 commits into from

Conversation

Geevies
Copy link
Contributor

@Geevies Geevies commented Aug 1, 2020

  • Research is now contained globally, instead of per console, servers can still be used to save data.
  • Doppler arrays now report explosions to the science channel.
  • Added slime cells to xenobiology.
  • Scanner goggles now gives some info on slimes.
  • Explosions on the same level as a doppler array, tesla coils set to produce research, suduko, and slime cells add research points to specific techs.
  • Shooting any living being in a firing range will now produce research points, based on how much damage is dealt.

Explosions give: Material and Phoron
Slime Cells give: Bluespace, Biological, Magnet
Firing Ranges give: Combat, Biological
Winning Sudoku gives: Data
Tesla Coils give: Engineering, Power

I'm not sure about the numbers for all of these, but playtesting showed that they're relatively sane, but they can be tweaked after playtesting.

@Geevies Geevies requested a review from Arrow768 as a code owner August 1, 2020 17:17
@BotBOREALIS BotBOREALIS added 🗺️ Mapping - Aurora The PR touches the Aurora map files. Sprites Adds new or changes existing sprites. labels Aug 1, 2020
@Geevies
Copy link
Contributor Author

Geevies commented Aug 1, 2020

!review

@BotBOREALIS BotBOREALIS added Review Required VueUI For PRs or issues related to VueUI. labels Aug 1, 2020
Comment on lines +21 to +35
methods: {
abbreviateNumber(value) {
let newValue = value;
const suffixes = ["", "K", "M", "B","T"];
let suffixNum = 0;
while (newValue >= 1000) {
newValue /= 1000;
suffixNum++;
}

newValue = Math.round(newValue);

newValue += suffixes[suffixNum];
return newValue;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to do this as a filter - https://vuejs.org/v2/guide/filters.html

<div>
<h3>Research Levels:</h3>
<vui-group>
<vui-group-item v-for="tech in techs" :key="tech" :label="tech.name" v-if="tech.level > 1 || tech.next_level_progress > 0">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

computed: {
  filterdTechs() {
    return this.techs.filter(t => t.level > 1 || t.next_level_progress > 0)
  }
}

@NonQueueingMatt NonQueueingMatt added the Changes Required The PR requires changes before it can be approved and/or merged. label Sep 15, 2020
@NonQueueingMatt
Copy link
Contributor

Map conflicts, changes required, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changes Required The PR requires changes before it can be approved and/or merged. 🗺️ Mapping - Aurora The PR touches the Aurora map files. Review Required Sprites Adds new or changes existing sprites. VueUI For PRs or issues related to VueUI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants