various fixes and adjustments

This commit is contained in:
phyzical
2022-03-29 22:43:28 +08:00
parent 7c5097ee83
commit fd64746ff8
15 changed files with 143 additions and 147 deletions
+8 -6
View File
@@ -349,42 +349,44 @@ function generateStatsDescription(mults: IMap<number>, programs?: string[], star
desc = (
<>
{desc}
<br />+{f(mults.infiltration_base_rep_increase)} Infiltration {FactionNames.Infiltrators} Reputation base reward
<br />+{f(mults.infiltration_base_rep_increase - 1)} Infiltration {FactionNames.Infiltrators} Reputation base
reward
</>
);
if (mults.infiltration_rep_mult)
desc = (
<>
{desc}
<br />+{f((mults.infiltration_rep_mult - 1) * 100)}% Infiltration {FactionNames.Infiltrators} Reputation reward
<br />+{f(mults.infiltration_rep_mult - 1)} Infiltration {FactionNames.Infiltrators} Reputation reward
</>
);
if (mults.infiltration_trade_mult)
desc = (
<>
{desc}
<br />+{f((mults.infiltration_trade_mult - 1) * 100)}% Infiltration Reputation for trading information
<br />+{f(mults.infiltration_trade_mult - 1)} Infiltration Reputation for trading information
</>
);
if (mults.infiltration_sell_mult)
desc = (
<>
{desc}
<br />+{f((mults.infiltration_sell_mult - 1) * 100)}% Infiltration cash reward for selling information
<br />+{f(mults.infiltration_sell_mult - 1)} Infiltration cash reward for selling information
</>
);
if (mults.infiltration_timer_mult)
desc = (
<>
{desc}
<br />+{f((mults.infiltration_timer_mult - 1) * 100)}% Infiltration time per minigame
<br />+{f(mults.infiltration_timer_mult - 1)} Infiltration time per minigame
</>
);
if (mults.infiltration_health_reduction_mult)
desc = (
<>
{desc}
<br />-{f((mults.infiltration_health_reduction_mult - 1) * 100)}% Infiltration health lost per failed minigame
<br />
{f(mults.infiltration_health_reduction_mult - 1)} Infiltration health lost per failed minigame
</>
);
+19 -21
View File
@@ -163,13 +163,13 @@ export const infiltratorsOtherAugmentations = [
export const infiltratorsMiniGameAugmentations = [
new Augmentation({
name: AugmentationNames.BagOfSand,
name: AugmentationNames.PythiasBrainStem,
repCost: 1e2,
moneyCost: 1e6,
info:
"You watched a bittube video about sword fighting, " +
"it suggested the best way to win a sword fight was to play dirty " +
"so you filled a bag full of sand from outside your house.",
"You found an old jar apparently containing the brain stem of one of the most famous " +
"fortune tellers in the world, installing this augmentation will apparently connect the synapses reactivating " +
"the magic this man once shared with the world ",
stats: (
<>This augmentation makes the Slash minigame easier by showing you via an indictor when the slash in coming.</>
),
@@ -187,34 +187,32 @@ export const infiltratorsMiniGameAugmentations = [
factions: [FactionNames.Infiltrators],
}),
new Augmentation({
name: AugmentationNames.ReverseDictionary,
name: AugmentationNames.RearViewMirrorShoulderAttachment,
repCost: 1e2,
moneyCost: 1e6,
info:
"An ancient dictionary with a thick layer of dust it looks like a different language, " +
"as you examine it further you realise that its actually just a normal dictionary but the words are " +
"written backwards if only you could take the book home, you think it would become like a second language.",
info: "Never again will you need to turn your head to see whats behind you.",
stats: <>This augmentation makes the Backwards minigame easier by making the words no longer backwards.</>,
factions: [FactionNames.Infiltrators],
}),
new Augmentation({
name: AugmentationNames.AmuletOfPersuasion,
name: AugmentationNames.KyberCrystalInjection,
repCost: 1e2,
moneyCost: 1e6,
info:
"A fancy looking amulet that looks like something an Egyptian goddess would wear, " +
"you hear faint whispers that are trying to convince you to do things you wouldn't normally do, " +
"upon touching it the voices stop how strange.",
"A weird looking shiny crystal which is crushed down and turned into a thick syrup, " +
"most people think its all homeopathic but there are a few that believe when injected people will " +
"believe what you say with one wave of the hand ",
stats: <>This augmentation makes the Bribe minigame easier by indicating the incorrect paths.</>,
factions: [FactionNames.Infiltrators],
}),
new Augmentation({
name: AugmentationNames.LameSharkRepository,
name: AugmentationNames.DyslexiaModule,
repCost: 1e2,
moneyCost: 1e6,
info:
"You stumble across an old opensource repository for a weird defunct version of LameShark, " +
"upon studying the source code it seems to just have a bunch of arrow key cheat codes. ",
"A module initially developed to reverse the disability of dyslexia, But during human trials it was found " +
"to actually cause dyslexia, despite the fact scientists decided to sell it anyway. Who would want " +
"to install something like that... i guess it has the added benefit of qualifying for a disability card",
stats: <>This augmentation makes the Cheat Code minigame easier by allowing the opposite character.</>,
factions: [FactionNames.Infiltrators],
}),
@@ -229,11 +227,11 @@ export const infiltratorsMiniGameAugmentations = [
factions: [FactionNames.Infiltrators],
}),
new Augmentation({
name: AugmentationNames.MineDetector,
name: AugmentationNames.MineDetectionArmAttachment,
repCost: 1e2,
moneyCost: 1e6,
info:
"You stumble across an old mine detector at an army surplus store, " +
"You stumble across an old mine detection arm attachment at an army surplus store, " +
"on the side is inscribed 'X(' i wonder what happened to the original owner, " +
"its a bit beaten up but looks like it should still do the job.",
stats: (
@@ -245,12 +243,12 @@ export const infiltratorsMiniGameAugmentations = [
factions: [FactionNames.Infiltrators],
}),
new Augmentation({
name: AugmentationNames.WireCuttingManual,
name: AugmentationNames.SecurityWireContacts,
repCost: 1e2,
moneyCost: 1e6,
info:
"You found an old wire cutting for dummies book in the local library, " +
"how hard can it be to cut wires, right?",
"This augment is a set of contacts for your eyes when installed allows for the user to see which" +
"wires are conducting security related information",
stats: <>This augmentation makes the Wire Cutting minigame easier by indicating the incorrect wires.</>,
factions: [FactionNames.Infiltrators],
}),
+6 -6
View File
@@ -114,14 +114,14 @@ export enum AugmentationNames {
StaneksGift3 = "Stanek's Gift - Serenity",
// Infiltrators MiniGames
BagOfSand = "A Bag of Sand",
PythiasBrainStem = "Pythia's Brain Stem",
IntellisenseModule = "Intellisense Module",
ReverseDictionary = "Reverse Dictionary",
AmuletOfPersuasion = "Amulet of Persuasian",
LameSharkRepository = "Lame Shark Repository",
DyslexiaModule = "Dyslexia Module",
KyberCrystalInjection = "Kyber Crystal Injection",
RearViewMirrorShoulderAttachment = "Rear View Mirror Shoulder Attachment",
CyberDecoder = "Cyber Decoder",
MineDetector = "Mine Detector",
WireCuttingManual = "Wire Cutting Manual",
MineDetectionArmAttachment = "Mine Detection Arm Attachment",
SecurityWireContacts = "Security Wire Contacts",
// Infiltrators general
BionicFingers = "Bionic Fingers",
CorporationManagementImplant = "Corporation Management Implant",
+6 -6
View File
@@ -121,33 +121,33 @@ export function PlayerMultipliers(): React.ReactElement {
<MultiplierTable
rows={[
[
"Infiltrator Rep reward multiplier",
"Infiltrator Rep reward",
Player.infiltration_rep_mult,
Player.infiltration_rep_mult * mults.infiltration_rep_mult,
1,
],
[
"Infiltration sell multiplier",
"Infiltration sell",
Player.infiltration_sell_mult,
Player.infiltration_sell_mult * mults.infiltration_sell_mult,
1,
],
[
"Infiltration trade multiplier",
"Infiltration trade",
Player.infiltration_trade_mult,
Player.infiltration_trade_mult * mults.infiltration_trade_mult,
1,
],
[
"Infiltration minigame timer multiplier",
"Infiltration minigame timer",
Player.infiltration_timer_mult,
Player.infiltration_timer_mult * mults.infiltration_timer_mult,
1,
],
[
"Infiltration minigame health reduction multiplier",
"Infiltration minigame health reduction",
Player.infiltration_health_reduction_mult,
Player.infiltration_health_reduction_mult * mults.infiltration_health_reduction_mult,
-1 * (1 - Player.infiltration_health_reduction_mult * mults.infiltration_health_reduction_mult),
1,
],
]}