Skip to content

Commit

Permalink
Speed mp values (Revolutionary-Games#731)
Browse files Browse the repository at this point in the history
* MP values balancing, speed balancing

- Reducing storage for most of organelles, vacuole is now more useful
- chloroplast and mitochondria cannot be added in same evolution, to avoid super strong evolution.

- flagella and speed is generally reduced, but flagella has more base force

* update

* Revert storage numbers

- revert storage numbers, work only on cost

* - revert comment and protoplasm storage

* - update cyto

* - update GUI and others values

- Oy cost 70 instead of 85
- GUI has updated values

* - update nitrogen fixing plastid value

* - restore chemoplast storageFactory
  • Loading branch information
Dak2896 authored and Untrustedlife committed Feb 13, 2019
1 parent 4b5c74d commit feea903
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 37 deletions.
40 changes: 20 additions & 20 deletions scripts/gui/thrive_gui.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,31 +357,31 @@
<div class="OrganelleListTitle">STRUCTURAL ORGANELLES</div>
<table class="OrganelleTable"><tr>
<td id="addCytoplasm" class="OrganelleListItem">
<span class="tooltiptext">Cytoplasm<hr><br> Cost: 10 mutation points<hr><br>
<span class="tooltiptext">Cytoplasm<hr><br> Cost: 30 mutation points<hr><br>
Performs Process: Glycolysis<br>(0.125 glucose -> 5 ATP)/Second<hr><br>
Storage Space: 20<hr><br>
The material or protoplasm within a living cell.<br>The gooey innards of a cell.</span>
<div id="CytoplasmIcon"></div>Cytoplasm<br>10 MP</td>
<div id="CytoplasmIcon"></div>Cytoplasm<br>30 MP</td>
</tr></table>
<div class="OrganelleListTitle">INTERNAL ORGANELLES</div>
<table class="OrganelleTable"><tr>
<td id="addMitochondrion" class="OrganelleListItem">
<span class="tooltiptext">
Mitochondria<hr><br> Cost: 40 mutation points<hr><br>
Mitochondria<hr><br> Cost: 45 mutation points<hr><br>
Performs Process: Respiration<br>(1 Oxygen + 0.2 glucose -> 38 ATP)/Second (Depending On Environmental Oxygen)<hr><br>
A captured prokaryote used by eukaryotic cells to perform respiration.<br>
The Mitochondria is the powerhouse of the cell
</span>
<div id="MitochondrionIcon">
</div>Mitochondrion<br>40 MP</td>
</div>Mitochondrion<br>45 MP</td>
<td id="addChloroplast" class="OrganelleListItem">
<span class="tooltiptext">
Chloroplast<hr><br> Cost: 40 mutation points<hr><br>
Chloroplast<hr><br> Cost: 55 mutation points<hr><br>
Performs Process: Photosynthesis<br>( 0.09 Carbon Dioxide -> 1 glucose)/Second (Depending On Environmental C02)<hr><br>
A captured prokaryote used by eukaryotic cells to perform photosynthesis.<br>
The chloroplast is used primarily by plant cells on earth, but some ciliates and other organisms use it too.
</span>
<div id="ChloroplastIcon"></div>Chloroplast<br>40 MP</td>
<div id="ChloroplastIcon"></div>Chloroplast<br>55 MP</td>
<td id="addThermoplast" class="OrganelleListItem DisabledButton">
<span class="tooltiptext">
Thermoplast<hr><br> Cost: 40 mutation points<hr><br>
Expand All @@ -393,29 +393,29 @@
</tr><tr>
<td id="addVacuole" class="OrganelleListItem">
<span class="tooltiptext">
Vacuole <hr><br> Cost: 30 mutation points<hr><br>
Vacuole <hr><br> Cost: 50 mutation points<hr><br>
Storage Space: 50<hr><br>
A space or vesicle within the cytoplasm of a cell, enclosed by a membrane and used to hold compounds</span>
<div id="VacuoleIcon"></div>Vacuole<br>30 MP</td>
<div id="VacuoleIcon"></div>Vacuole<br>50 MP</td>
<td id="addToxinVacuole" class="OrganelleListItem">
<span class="tooltiptext">
Toxin Vacuole <hr><br> Cost: 80 mutation points<hr><br>
Toxin Vacuole <hr><br> Cost: 70 mutation points<hr><br>
Performs Process: OxytoxyNT Production<br>(1 Oxygen + 5 ATP -> 5 Oxytoxy)/Second (Depending On Environmental Oxygen)<hr><br>
Allows for production and storage of OxytoxyNT which can be shot at enemy cells using E. The more of this organelle you have the faster your toxin fire rate aswell.
</span>
<div id="ToxinVacuoleIcon"></div>Toxin Vacuole<br>80 MP</td>
<div id="ToxinVacuoleIcon"></div>Toxin Vacuole<br>70 MP</td>
<td id="addBioluminescent" class="OrganelleListItem DisabledButton">
<div id="BioluminescentIcon"></div>Bioluminescent Vacuole<br>N/A MP</td>
</tr><tr>
<td id="addChemoplast" class="OrganelleListItem">
<span class="tooltiptext">
Chemoplast<hr><br> Cost: 40 mutation points<hr><br>
Chemoplast<hr><br> Cost: 45 mutation points<hr><br>
Performs Process: Chemosynthesis<br>(0.09 CO2 + 1 Hydrogen Sulfide -> 2 Glucose)/Second (Depending On Environmental C02)<hr><br>
Allows for synthesis of glucose from hydrogen sulfide and atmospheric carbon dioxide.
<br>
Can be used to process the normally toxic soup containing hydrogen sulfide that comes out of hydrothermal vents at the bottom of the ocean. Into glucose.
</span>
<div id="ChemoplastIcon"></div>Chemoplast<br>40 MP</td>
<div id="ChemoplastIcon"></div>Chemoplast<br>45 MP</td>
<td id="addNucleus" class="OrganelleListItem">
<span class="tooltiptext">
Nucleus<hr><br> Cost: 100 mutation points<hr><br>
Expand All @@ -437,10 +437,10 @@
<table><tr>
<td id="addFlagellum" class="OrganelleListItem">
<span class="tooltiptext">
Flagellum<hr><br> Cost: 30 mutation points<hr><br>
Flagellum<hr><br> Cost: 55 mutation points<hr><br>
Cost: 7 atp per second while in use.<hr><br>
A whip like structure used microbes for movement.</span>
<div id="FlagellumIcon"></div>Flagellum<br>30 MP</td>
<div id="FlagellumIcon"></div>Flagellum<br>55 MP</td>
<td id="addPilus" class="OrganelleListItem DisabledButton">
<div id="PilusIcon"></div>Predatory Pilus<br>30 MP</td>
<td id="addCilia" class="OrganelleListItem DisabledButton">
Expand All @@ -450,30 +450,30 @@
<table><tr>
<td id="addMetabolosome" class="OrganelleListItem">
<span class="tooltiptext">
Metabolosomes<hr><br> Cost: 20 mutation points<hr><br>
Metabolosomes<hr><br> Cost: 45 mutation points<hr><br>
Performs Process: Metabolsome Respiration (In real life they Ferment, but we dont have those compounds in the game yet)<br>(1 Oxygen + 0.7 Glucose -> 38 ATP)/Second (Depending On Environmental Oxygen)<hr><br>
Storage Space: 10<hr><br>
Organelle-like Bacterial microcompartments (BMCs) consisting of a protein shell that encloses enzymes used for fermentation.
</span>
<div id="MetabolosomeIcon"></div>Metabolosomes<br>20 MP</td>
<div id="MetabolosomeIcon"></div>Metabolosomes<br>45 MP</td>
<td id="addChromatophor" class="OrganelleListItem">
<span class="tooltiptext">
Chromatophores <hr><br> Cost: 25 mutation points <hr><br>
Chromatophores <hr><br> Cost: 55 mutation points <hr><br>
Performs Process: Chromatophore Photosynthesis<br>(0.09 CO2 -> 0.33 glucose)/Second (Depending On Environmental C02)<br>
Performs Process: Glycolysis<br>(0.125 glucose -> 5 ATP)/Second (Depending On Environmental C02)<hr><br>
Storage Space: 10<hr><br>
Coloured, membrane-associated vesicles used by various prokaryotes perform photosynthesis.
Chromatophores contain bacteriochlorophyll pigments and carotenoids.</span>
<div id="ChromatophorIcon"></div>Chromatophores<br>25 MP</td>
<div id="ChromatophorIcon"></div>Chromatophores<br>55 MP</td>
<td id="addChemoSynthisizingProteins" class="OrganelleListItem">
<span class="tooltiptext">
ChemosynthisizingProteins <hr><br> Cost: 20 mutation points <hr><br>
ChemosynthisizingProteins <hr><br> Cost: 45 mutation points <hr><br>
Performs Process: Bacterial Chemosynthesis<br>(1 CO2 + 1 Hydrogen Sulfide -> 1 Glucose)/Second (Depending On Environmental C02)<br>
Performs Process: Glycolysis<br>(0.125 glucose -> 5 ATP)/Second<hr><br>
Storage Space: 20<hr><br>
Small membrane-associated structures that convert the noxious soup containing hydrogen
sulfide from hydrothermal vents into usable energy in the form of glucose.</span>
<div id="ChemosynthisizingProteinsIcon"></div>Chemosynthisizing Proteins<br>20 MP</td>
<div id="ChemosynthisizingProteinsIcon"></div>Chemosynthisizing Proteins<br>45 MP</td>
</tr></table>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions scripts/microbe_stage/configs.as
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ const auto REGENERATION_RATE = 1.0f;

// Movement stuff
const auto FLAGELLA_ENERGY_COST = 7.0f;
const auto FLAGELLA_BASE_FORCE = 0.5f;
const auto CELL_BASE_THRUST = 2.0f;
const auto FLAGELLA_BASE_FORCE = 0.7f;
const auto CELL_BASE_THRUST = 1.6f;
// is set by this and modified by applyCellMovement like the player later
const auto AI_BASE_MOVEMENT = 1.0f;
//! The drag force is calculated by taking the current velocity and multiplying it by this.
//! This must be negative!
const auto CELL_DRAG_MULTIPLIER = -0.1f;
const auto CELL_DRAG_MULTIPLIER = -0.12f;
const auto CELL_SIZE_DRAG_MULTIPLIER = -0.003f;
//! If drag is below this it isn't applied to let the cells come to a halt properly
const auto CELL_REQUIRED_DRAG_BEFORE_APPLY = 0.0033f;
Expand Down
28 changes: 14 additions & 14 deletions scripts/microbe_stage/organelle_table.as
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ void setupOrganelles(){
cytoplasmParameters.mesh = ""; //it's an empty hex
cytoplasmParameters.chanceToCreate = 1;
cytoplasmParameters.prokaryoteChance = 1;
cytoplasmParameters.mpCost = 10;
cytoplasmParameters.mpCost = 30;
cytoplasmParameters.initialComposition = {
{"phosphates", 2},
{"ammonia", 2}
Expand All @@ -320,7 +320,7 @@ void setupOrganelles(){
chloroplastParameters.mesh = "chloroplast.mesh";
chloroplastParameters.chanceToCreate = 1;
chloroplastParameters.prokaryoteChance = 0;
chloroplastParameters.mpCost = 40;
chloroplastParameters.mpCost = 55;
chloroplastParameters.initialComposition = {
{"phosphates", 2},
{"ammonia", 2}
Expand Down Expand Up @@ -350,7 +350,7 @@ void setupOrganelles(){
oxytoxyParameters.mesh = "oxytoxy.mesh";
oxytoxyParameters.chanceToCreate = 1;
oxytoxyParameters.prokaryoteChance = 0;
oxytoxyParameters.mpCost = 80;
oxytoxyParameters.mpCost = 70;
oxytoxyParameters.initialComposition = {
{"phosphates", 2},
{"ammonia", 2}
Expand Down Expand Up @@ -378,7 +378,7 @@ void setupOrganelles(){
mitochondrionParameters.mesh = "mitochondrion.mesh";
mitochondrionParameters.chanceToCreate = 3;
mitochondrionParameters.prokaryoteChance = 0;
mitochondrionParameters.mpCost = 40;
mitochondrionParameters.mpCost = 45;
mitochondrionParameters.initialComposition = {
{"phosphates", 2},
{"ammonia", 2}
Expand Down Expand Up @@ -407,13 +407,13 @@ void setupOrganelles(){
vacuoleParameters.mesh = "vacuole.mesh";
vacuoleParameters.chanceToCreate = 3;
vacuoleParameters.prokaryoteChance = 0;
vacuoleParameters.mpCost = 30;
vacuoleParameters.mpCost = 50;
vacuoleParameters.initialComposition = {
{"phosphates", 2},
{"ammonia", 2}
};
vacuoleParameters.components = {
storageOrganelleFactory(50.0f)
storageOrganelleFactory(40.0f)
};

vacuoleParameters.processes = {
Expand All @@ -434,7 +434,7 @@ void setupOrganelles(){
flagellumParameters.mesh = "flagellum.mesh";
flagellumParameters.chanceToCreate = 6;
flagellumParameters.prokaryoteChance = 2;
flagellumParameters.mpCost = 30;
flagellumParameters.mpCost = 55;
flagellumParameters.initialComposition = {
{"phosphates", 2},
{"ammonia", 2}
Expand Down Expand Up @@ -464,7 +464,7 @@ void setupOrganelles(){
chemoplast.mesh = "chemoplast.mesh";
chemoplast.chanceToCreate = 1;
chemoplast.prokaryoteChance = 0;
chemoplast.mpCost = 40;
chemoplast.mpCost = 45;
chemoplast.initialComposition = {
{"phosphates", 5},
{"ammonia", 5}
Expand Down Expand Up @@ -493,7 +493,7 @@ void setupOrganelles(){
nitrogenPlastid.mesh = "nitrogenplastid.mesh";
nitrogenPlastid.chanceToCreate = 1;
nitrogenPlastid.prokaryoteChance = 0;
nitrogenPlastid.mpCost = 80;
nitrogenPlastid.mpCost = 50;
nitrogenPlastid.initialComposition = {
{"phosphates", 2},
{"ammonia", 2}
Expand Down Expand Up @@ -523,7 +523,7 @@ void setupOrganelles(){
respiratoryProtein.mesh = "metabolosome.mesh";
respiratoryProtein.chanceToCreate = 0.5f;
respiratoryProtein.prokaryoteChance = 1;
respiratoryProtein.mpCost = 20;
respiratoryProtein.mpCost = 45;
respiratoryProtein.initialComposition = {
{"phosphates", 1},
{"ammonia", 1}
Expand All @@ -549,7 +549,7 @@ void setupOrganelles(){
photosyntheticProtein.mesh = "chromatophores.mesh";
photosyntheticProtein.chanceToCreate = 0.5f;
photosyntheticProtein.prokaryoteChance = 1;
photosyntheticProtein.mpCost = 25;
photosyntheticProtein.mpCost = 55;
photosyntheticProtein.initialComposition = {
{"phosphates", 1},
{"ammonia", 1}
Expand Down Expand Up @@ -605,7 +605,7 @@ void setupOrganelles(){
chemoSynthisizingProtein.mesh = "chemoproteins.mesh";
chemoSynthisizingProtein.chanceToCreate = 0.5f;
chemoSynthisizingProtein.prokaryoteChance = 1;
chemoSynthisizingProtein.mpCost = 20;
chemoSynthisizingProtein.mpCost = 45;
chemoSynthisizingProtein.initialComposition = {
{"phosphates", 1},
{"ammonia", 1}
Expand All @@ -632,7 +632,7 @@ void setupOrganelles(){
protoplasmParameters.mesh = ""; //it's an empty hex
protoplasmParameters.chanceToCreate = 0;
protoplasmParameters.prokaryoteChance = 1;
protoplasmParameters.mpCost = 10;
protoplasmParameters.mpCost = 55;
protoplasmParameters.initialComposition = {
{"phosphates", 1},
{"ammonia", 1}
Expand All @@ -658,7 +658,7 @@ void setupOrganelles(){
nitrogenFixationProtein.mesh = "nitrogenplastid.mesh";
nitrogenFixationProtein.chanceToCreate = 0;
nitrogenFixationProtein.prokaryoteChance = 1;
nitrogenFixationProtein.mpCost = 15;
nitrogenFixationProtein.mpCost = 45;
nitrogenFixationProtein.initialComposition = {
{"phosphates", 1},
{"ammonia",1}
Expand Down

0 comments on commit feea903

Please sign in to comment.