Skip to content

Commit

Permalink
see above ↑
Browse files Browse the repository at this point in the history
  • Loading branch information
c-rxxp-y authored Dec 5, 2024
1 parent a581ec7 commit 7163f28
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions js/tech.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,18 +353,24 @@ const tech = {
count: 0,
frequency: 2,
frequencyDefault: 2,
isJunk: true,
//isInstant: true,
allowed() {
return true
return true //build.isExperimentSelection
},
requires: "",
effect() {
tech.isRandomizer = 1
addRandom = Math.ceil(Math.random() * 20)
if (addRandom < 5) Math.round(Math.random() * 20)
for (let i = 0; i < addRandom; i++) {
addRandomGun = Math.ceil(Math.random() * 6);
addRandomTech = Math.ceil(Math.random() * 20);
if (addRandomTech < 5) Math.round(Math.random() * 20);
if (addRandomGun < 1) Math.round(Math.random() * 6);
for (let i = 0; i < addRandomGun; i++) {
b.giveGuns();
};
for (let i = 0; i < addRandomTech; i++) {
tech.giveTech('random')
}
};
},
remove() {
tech.isRandomizer = 0
Expand All @@ -379,7 +385,7 @@ const tech = {
frequencyDefault: 0,
isSkin: true,
allowed() {
return (simulation.testing)
return (build.isExperimentSelection === true)
},
requires: "",
effect() {
Expand Down

0 comments on commit 7163f28

Please sign in to comment.