From 3747ad713064f5d4eef8d9b996306a24184c5204 Mon Sep 17 00:00:00 2001 From: Untrustedlife Date: Sun, 16 Dec 2018 21:46:30 -0600 Subject: [PATCH] Cleaned up info at bottom of editor, added tooltips that look exactly like the concept art. --- scripts/gui/thrive_gui.html | 42 ++++++++++++++++------ scripts/gui/thrive_style.css | 69 ++++++++++++++++++++++++++++++++++-- 2 files changed, 98 insertions(+), 13 deletions(-) diff --git a/scripts/gui/thrive_gui.html b/scripts/gui/thrive_gui.html index c1a2357c938..b87e0f8016f 100644 --- a/scripts/gui/thrive_gui.html +++ b/scripts/gui/thrive_gui.html @@ -349,33 +349,50 @@
STRUCTURAL ORGANELLES
+
Cytoplasm
Cost: 10 mutation points
The gooey innards of a cell, they do also glycolysis.
Cytoplasm
10 MP
-
Cytoplasm
10 MP
INTERNAL ORGANELLES
+
+ Mitochondria
Cost: 40 mutation points
+ A captured prokaryote used by eukaryotic cells to perform respiration.
+ The Mitochondria is the powerhouse of the cell
+
Mitochondrion
40 MP +
+ Chloroplast
Cost: 40 mutation points
+ A captured prokaryote used by eukaryotic cells to perform photosynthesis.
+ The chloroplast is used primarily by plant cells on earth, but some ciliates and other organisms use it too.
Chloroplast
40 MP +
+ Vacuole
Cost: 30 mutation points
+ a space or vesicle within the cytoplasm of a cell, enclosed by a membrane used to hold compounds
Vacuole
30 MP +
+ Toxin Vacuole
Cost: 80 mutation points
+ Allows for production and storage of OxytoxyNT which can be shot at enemy cells
Toxin Vacuole
80 MP +
+ Chemoplast
Cost: 40 mutation points
+ Allows for synthesis of hydrogen sulfide into glucose.
Chemoplast
40 MP +
+ Nitrogen Fixing Plastid
Cost: 80 mutation points
+ Allows for synthesis of ammonia from atmospheric nitrogen.
Nitrogen Fixing Plastid
80 MP
-
Mitochondrion
40 MP
-
Chloroplast
40 MP
Thermoplast
40 MP
-
Vacuole
30 MP
-
Toxin Vacuole
80 MP
Bioluminescent Vacuole
N/A MP
-
Chemoplast
40 MP
-
Nitrogen Fixing Plastid
80 MP
EXTERNAL ORGANELLES
+
+ Flagellum
Cost: 30 mutation points
+ A whip like structure used microbes for movement.
Flagellum
30 MP
-
Flagellum
30 MP
Predatory Pilus
30 MP
@@ -384,9 +401,14 @@
PROKARYOTIC STRUCTURES
+
+ Metabolosomes
Cost: 20 mutation points
+ organelle-like Bacterial microcompartments (BMCs) consisting of a protein shell that encloses enzymes used for respiration.
Metabolosomes
20 MP +
+ Chromatophores
Cost: 25 mutation points
+ Coloured, membrane-associated vesicles used by various prokaryotes perform photosynthesis. + Chromatophores contain bacteriochlorophyll pigments and carotenoids.
Chromatophores
25 MP
-
Metabolosomes
20 MP
-
Chromatophores
25 MP
diff --git a/scripts/gui/thrive_style.css b/scripts/gui/thrive_style.css index dd7ee50f846..22aa99b0d3c 100644 --- a/scripts/gui/thrive_style.css +++ b/scripts/gui/thrive_style.css @@ -800,6 +800,7 @@ video { #generation, #speed, #size { + background-color: rgba(0, 139, 139, 0.3); position: absolute; height: 26px; margin-top: 7px; @@ -815,15 +816,15 @@ video { } #generation { - left: 420px; + left: 390px; } #size { - left: 720px; + left: 620px; } #speed { - left: 600px; + left: 520px; } #SymmetryButton { @@ -1067,6 +1068,28 @@ video { background-image: url("../../Textures/gui/bevel/CytoplasmIcon.png"); } +/* Tooltip text */ +.tooltiptext { + visibility: hidden; + width: 320px; + height: 30%; + right: 5%; + top: 10%; + font-size: 10pt; + background-color: rgba(0, 139, 139, 0.5); + color: #fff; + text-align: center; + padding: 5px 0; + border-radius: 6px; + position: fixed; + z-index: 1; +} + + +#CytoplasmIcon:hover .tooltiptext { + visibility: visible; +} + #PlastidIcon { position: relative; left: calc(50% - 30px); @@ -1076,6 +1099,10 @@ video { background-image: url("../../Textures/gui/bevel/NitroplastidIcon.png"); } +#PlastidIcon:hover .tooltiptext { + visibility: visible; +} + #MitochondrionIcon { position: relative; left: calc(50% - 30px); @@ -1085,6 +1112,10 @@ video { background-image: url("../../Textures/gui/bevel/MitochondrionIcon.png"); } +#MitochondrionIcon:hover .tooltiptext { + visibility: visible; +} + #ChloroplastIcon { position: relative; left: calc(50% - 30px); @@ -1094,6 +1125,10 @@ video { background-image: url("../../Textures/gui/bevel/ChloroplastIcon.png"); } +#ChloroplastIcon:hover .tooltiptext { + visibility: visible; +} + #ThermoplastIcon { position: relative; left: calc(50% - 30px); @@ -1103,6 +1138,10 @@ video { background-image: url("../../Textures/gui/bevel/ThermoplastIcon.png"); } +#ThermoplastIcon:hover .tooltiptext { + visibility: visible; +} + #VacuoleIcon { position: relative; left: calc(50% - 30px); @@ -1112,6 +1151,10 @@ video { background-image: url("../../Textures/gui/bevel/VacuoleIcon.png"); } +#VacuoleIcon:hover .tooltiptext { + visibility: visible; +} + #ToxinVacuoleIcon { position: relative; left: calc(50% - 30px); @@ -1121,6 +1164,10 @@ video { background-image: url("../../Textures/gui/bevel/ToxinVacuoleIcon.png"); } +#ToxinVacuoleIcon:hover .tooltiptext { + visibility: visible; +} + #BioluminescentIcon { position: relative; left: calc(50% - 30px); @@ -1139,6 +1186,10 @@ video { background-image: url("../../Textures/gui/bevel/ChemoplastIcon.png"); } +#ChemoplastIcon:hover .tooltiptext { + visibility: visible; +} + #FlagellumIcon { position: relative; left: calc(50% - 30px); @@ -1148,6 +1199,10 @@ video { background-image: url("../../Textures/gui/bevel/FlagellumIcon.png"); } +#FlagellumIcon:hover .tooltiptext { + visibility: visible; +} + #MetabolosomeIcon { position: relative; left: calc(50% - 30px); @@ -1157,6 +1212,10 @@ video { background-image: url("../../Textures/gui/bevel/MetabolosomeIcon.png"); } +#MetabolosomeIcon:hover .tooltiptext { + visibility: visible; +} + #ChromatophorIcon { position: relative; left: calc(50% - 30px); @@ -1166,6 +1225,10 @@ video { background-image: url("../../Textures/gui/bevel/ChromatophorIcon.png"); } +#ChromatophorIcon:hover .tooltiptext { + visibility: visible; +} + #PilusIcon { position: relative; left: calc(50% - 30px);