From 881483a9da755b9cb7e9c28e5fb95b8f31cffb31 Mon Sep 17 00:00:00 2001 From: Alexthetransfem <124483815+theenchantedsword@users.noreply.github.com> Date: Thu, 15 Feb 2024 19:12:08 -0600 Subject: [PATCH] Update morechemistry.js --- mods/morechemistry.js | 140 +++++++++++++++++++++--------------------- 1 file changed, 71 insertions(+), 69 deletions(-) diff --git a/mods/morechemistry.js b/mods/morechemistry.js index bcbb9122..ef6b8dd9 100644 --- a/mods/morechemistry.js +++ b/mods/morechemistry.js @@ -1386,77 +1386,79 @@ elements.sign = { } } } -document.body.innerHTML += ` -these are all properties of the pixel. another way to find pixel properties is using debug on a pixel, it will tell you the property and the value, like x and y, or, in plants.js, fruit. - - - +runAfterLoad(function(){ + document.body.innerHTML += ` + these are all properties of the pixel. another way to find pixel properties is using debug on a pixel, it will tell you the property and the value, like x and y, or, in plants.js, fruit. +
+ + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ Variable + + Definition +
- Variable + p.color - Definition + The color of the pixel. it is defined as an RGB value.
- p.color - - The color of the pixel. it is defined as an RGB value. -
- p.x and p.y - - The x and y positions of the pixel. -
- p.element - - The element of the pixel. -
- p.clone - - Specific to cloners, specifies what the cloner clones. -
- wc and lc - - Specific to saplings, specifies what colour the wood is (wc) and what colour the leaves are (lc). -
- p.start - - The start tick of the pixel. -
- p.tick - - the amount of ticks that have happened so far in the game. -
-` -document.getElementById("extraInfo").innerHTML = ` -Changelog(NEW)FeedbackWikiRedditDiscord • Install OfflineVariables

v1.9.3 • 559 elements, with 0 hidden.

©2021-2024. All Rights Reserved.

-` + + + p.x and p.y + + + The x and y positions of the pixel. + + + + + p.element + + + The element of the pixel. + + + + + p.clone + + + Specific to cloners, specifies what the cloner clones. + + + + + wc and lc + + + Specific to saplings, specifies what colour the wood is (wc) and what colour the leaves are (lc). + + + + + p.start + + + The start tick of the pixel. + + + + + p.tick + + + the amount of ticks that have happened so far in the game. + + + + ` + document.getElementById("extraInfo").innerHTML = ` + Changelog(NEW)FeedbackWikiRedditDiscord • Install OfflineVariables

v1.9.3 • 559 elements, with 0 hidden.

©2021-2024. All Rights Reserved.

+ ` +}