From 6432b40bda50de09a8f5427eda213e0fc7b39bb8 Mon Sep 17 00:00:00 2001
From: slweeb <91897291+slweeb@users.noreply.github.com>
Date: Wed, 19 Jan 2022 20:05:54 -0500
Subject: [PATCH] 1.0
---
changelog.txt | 45 ++
controls.txt | 4 +-
index.html | 1510 +++++++++++++++++++++++++------------------
mods/example_mod.js | 7 +
4 files changed, 953 insertions(+), 613 deletions(-)
diff --git a/changelog.txt b/changelog.txt
index 61e82aae..fcca55ee 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -3,6 +3,51 @@
+ Explosives Update
+ Machines Update
+[Version 1.0 - Full Steam Ahead!]
+ + Radiation
+ + Uranium
+ + Rad Steam
+ + Rad Cloud
+ + Fallout
+ + Reorganized elements
+ + Powders category
+ + Food category
+ + Fullscreen Mode (Press F)
+ + Hold down Shift when using Mix to include Fire
+ + Salt melts Ice and Snow
+ + Dirty Water can be filtered by Charcoal and Gravel
+ + Worms can move through Mycelium, Wet Sand, and Clay Soil
+ + Worms break down some organic matter
+ + Glass now resists Acid
+ ~ Metal Scrap melts into various metals
+ ~ Recolored Aluminum
+ ~ Recolored Grass to have less contrast
+ ~ Recolored Mycelium
+ ~ Mycelium is no longer hidden
+ ~ Lichen now grows
+ ~ Cells and Cancer now have gravity
+ ~ Cancer now grows on its own
+ ~ Vaccines and Antibodies kill Cancer slowly
+ ~ Straw no longer falls
+ ~ Random no longer makes Snake
+ ~ Water Spout renamed to just Spout
+ ~ Hid Lattice
+ ~ Took all vanilla elements out of the Other category
+ ~ Moved Ash and Charcoal into the Powders category
+ + Technical: Reactions can now use arrays for random choices
+ ~ Fixed: Mod Manager removes only the top mod
+ ~ Fixed: Saplings, Mushrooms, Flowers, Bamboo, Wheat, Corn grow in mid-air
+ ~ Fixed: Acid, Acid Gas, and Antimatter delete themselves without touching anything
+ ~ Fixed: Pistils fall and create a lot of petals
+ ~ Fixed: Cloner doesn't inherit the temperature of it's source / don't clone fire properly
+ ~ Fixed: Ammonia fertilizes plants too fast
+ ~ Fixed: Info menu search bar doesn't stick to the bottom
+ ~ Fixed: Some bright background buttons like salt have white text
+ ~ Fixed: Elements can't heat or cool themselves with HT or CO
+ ~ Fixed: TPS resets when you don't enter anything
+ - Removed plus button in the Mod Manager
+ - Removed Structure category
+
[Version 0.9.1]
~ Mods can now work together (e.g. having reactions with elements from other mods, stateHighs, etc.)
diff --git a/controls.txt b/controls.txt
index 55ab1d95..2065b742 100644
--- a/controls.txt
+++ b/controls.txt
@@ -13,6 +13,7 @@
E = Element Selection
/ or I = Element Info Screen
> = Step
+ F = Toggle Fullscreen
(Alt/Option can be used in place of Shift)
@@ -26,4 +27,5 @@
E = Select any element by name
TPS = Change how fast the simulation runs
Hide = Run the simulation without updating the display
- Info = Brings up the element info screen
\ No newline at end of file
+ Info = Brings up the element info screen
+ Mods = Opens the Mod Manager
\ No newline at end of file
diff --git a/index.html b/index.html
index 0ac123b6..ba6233ad 100644
--- a/index.html
+++ b/index.html
@@ -76,6 +76,9 @@
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none;
}
+ #infoParent, #modParent {
+ display: none;
+ }
#infoScreen, #modManager {
border: 1px solid #ffffff;
position: absolute;
@@ -86,7 +89,6 @@
max-width: 700px;
padding: 10px;
background-color: rgb(31, 31, 31);
- display: none;
overflow-x: hidden;
}
.menuTitle {
@@ -115,25 +117,25 @@
}
#infoSearch, #modManagerUrl {
position: absolute;
- bottom: 0px;
- width: 100%;
+ bottom: 50%;
+ width: 95%;
+ max-width: 700px;
height: 50px;
left: 50%;
- transform: translate(-50%, 0%);
+ transform: translate(-50%, 198.5%);
background-color: rgb(66, 66, 66);
color: white;
font-size: 1.5em;
- padding: 10px;
- padding-left: 50px;
+ padding: 8px;
font-family: 'Press Start 2P';
}
#infoSearch:focus, #modManagerUrl:focus {
outline: none;
}
- #modManagerAdd {
+ /*#modManagerAdd {
position: absolute;
- bottom: 0px;
- right: 0px;
+ bottom: 25%;
+ right: 25%;
height: 50px;
width: 50px;
transform: translate(-25%, -25%);
@@ -142,7 +144,7 @@
font-size: 2em;
padding: 10px;
font-family: 'Press Start 2P';
- }
+ }*/
#modManagerList {
margin-top: 20px;
}
@@ -317,6 +319,8 @@