From 6337d238976d8340e6e261d86e7df57ca6b673d4 Mon Sep 17 00:00:00 2001 From: ThatOtherProto <127895014+ThatOtherProto@users.noreply.github.com> Date: Tue, 9 Apr 2024 19:49:57 +0100 Subject: [PATCH 1/2] Update Science_mod.js Wow, an extra 100 lines on a school day/night, that's rare --- mods/Science_mod.js | 218 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 188 insertions(+), 30 deletions(-) diff --git a/mods/Science_mod.js b/mods/Science_mod.js index 0b14d1a3..041da274 100644 --- a/mods/Science_mod.js +++ b/mods/Science_mod.js @@ -1,6 +1,6 @@ // Science mod for Sandboxels // (Inspired by survival.js) -// Build 11 +// Build 12 // By: Lucifer (@a_british_proto (Discord)) // If there is anything you want to suggest or there's a bug then just dm me on discord // Todo: @@ -1086,52 +1086,210 @@ element.Oganesson = { // Substance proporties (These are the properties of the substances, not the elements These properties // use hidden:true as you don't start with these but instead have to craft them): -substance.Polystyrene = { - behavior: behaviors.WALL, - color:"FFFFFF", - category:"land", +// I replaced all of it with this because it might get in the way in future updates + +substance.Silver_Hexafluoroarsenate = { + behavior: behaviours.WALL, + color:"FFFFFE", + category:"lands", state:"solid", hidden:true } -substance.Styrene = { +substance.Silver_Tetrafluoroborate = { + behavior: behaviors.POWDER, + color: "FAF9F6", + category: "lands", + state: "powder", + hidden:true +} + +substance.Silver_Bromide = { + behavior: behaviors.WALL, + color: "FDFD96", + category: "lands", + state: "solid", + hidden: true +} + +substance.Silver_Bromate = { + behavior: behaviors.POWDER, + colour: "FFFFFF", + category: "lands", + state: "powder", + hidden:true +} + +substance.Silver_Picrate_Monohydrate = { + behavior: behaviors.WALL, + color: "E4D99F", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Chloride = { + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Perchlorate_Hydrate = { + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden:true +} + +// I can't believe i almost forgor about the "." +subtance.Silver_Perchlorate_Monohydrate = { + behavior: behaviors.POWDER, + color: "FFFFFF", + category: "lands", + state: "powder", + hidden:true +} + +substance.Silver_Chlorite = { + behavior: behaviors.WALL, + colour: "FFFF00", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Chlorate ={ + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Perchlorate = { + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Fluoride = { + behavior: behaviors.WALL, + color: "9B7A01", + category: "lands", + state: "solid", + hidden:true +} + +// Basically the same as Silver_Floride but instead the second version +subtance.Silver_Difluoride = { + behavior: behaviors.WALL, + color: "9B7A01", + category: "lands", + state: "solid", + hidden:true +} + +// Only just realised that this had spaces :skull: +substance.Silver_Hydrogen_Sluoride = { + // I'm guessing that this is a liquid behavior: behaviors.LIQUID, - color:"FFFFED", - category:"liquids", - state:"liquid", + color: "FFFFFF", + category: "liquid", + state: "liquid", hidden:true } -substance.Cinnamaldehyde = { - behavior: behaviors.LIQUID, - color:"FDFD96", - category:"liquids", - state:"liquid", +// Why are a bunch of these just silver compounds? Really weird :/ +subtance.Silver_Hexafluorophosphate = { + behavior: behaviors.POWDER, + color: "FFFFFF", + category: "lands", + state: "powder", hidden:true } -substance.Acetone = { - behavior: behaviors.LIQUID, - color:"DADEDF", - category:"liquids", - state:"liquid", +substance.Silver_Hexafluoroantimonate = { + behavior: behaviors.WALL, + color: "FFFDD0", + category: "lands", + state: "solid", hidden:true } -substance.Methane = { - behavior: behaviors.GAS, - color:"C1C7C9", - category:"gases", - state:"gas", +// There's a purple crystal version and a brown powder version +// Why does this sound like something you'd get at a posh (maybe Italian) restruant (without the "01" and the "_") +subtance.Silver_permanganate_01 = { + behavior: behaviours.WALL, + color: "800080", + category: "lands", + state: "solid", hidden:true } -substance.Ethane = { - behavior: behaviors.GAS, - color:"C1C7C9", - category:"gases", - state:"gas", +subtance.Silver_permanganate_02 = { + behavior: behaviors.POWDER, + color: "964B00", + category: "lands", + state: "powder", hidden:true } -// Doing more tmrw +substance.Silver_Vandium_Trioxide = { + behavior: behaviors.WALL, + color: "FFFF00", + category: "lands", + state: "solid", + hidden:true +} + +// Why is this fun? How is this not torture? This is line 1247! (at the time I am making this comment) + +// I think there's two silver iodides I'm just not so sure (and I ain't editing this after) +// Nvm it's only one , I got silver iodide and silver iodate mixed up :skull: +subtance.Silver_Iodide = { + behavior: behaviors.POWDER, + color: "E4D99F", + category: "lands", + state: "powder", + hidden:true +} + +substance.Silver_Iodate = { + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden: true +} + +// I was confused at first on why there were two silver nitrates, but now I understand +substance.Silver_Nitrate_01 = { + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Nitrate_02 = { + behavior: behaviors.POWDER, + color: "FFFFFF", + category: "lands", + state: "powder", + hidden:true +} + +subtance.Silver_Azide = { + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden:true +} + +// I'll leave the rest for tmrw as I need to go to bed, I tired ok! From a3dafa128ba696e56a985883d9db3d71828b463a Mon Sep 17 00:00:00 2001 From: ThatOtherProto <127895014+ThatOtherProto@users.noreply.github.com> Date: Wed, 10 Apr 2024 20:04:40 +0100 Subject: [PATCH 2/2] Update Science_mod.js --- mods/Science_mod.js | 69 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/mods/Science_mod.js b/mods/Science_mod.js index 041da274..1519b005 100644 --- a/mods/Science_mod.js +++ b/mods/Science_mod.js @@ -1,6 +1,6 @@ // Science mod for Sandboxels // (Inspired by survival.js) -// Build 12 +// Build 13 // By: Lucifer (@a_british_proto (Discord)) // If there is anything you want to suggest or there's a bug then just dm me on discord // Todo: @@ -1292,4 +1292,69 @@ subtance.Silver_Azide = { hidden:true } -// I'll leave the rest for tmrw as I need to go to bed, I tired ok! +// This one is powder and crystals +substance.Silver_Oxzide_01 = { + behavior: behaviors.POWDER, + color: "000001", + category: "lands", + state: "powder", + hidden:true +} + +substance.Silver_Oxzide_02 = { + behavior: behaviors.WALL, + color: "000001", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Metaphospahte = { + behavior: behaviors.WALL, + color: "FFFF00", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Perrhenate = { + behavior: behaviors.WALL, + color: "FFFFFF", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Acetylide = { + behavior: behaviors.WALL, + color: "C0C0C0", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Chromate = { + behavior: behaviors.POWDER, + color: "A52A2A", + category: "lands", + state: "powder", + hidden:true +} + +substance.Silver_Dichromate = { + behavior: behaviors.WALL, + color: "A52A2A", + category: "lands", + state: "solid", + hidden:true +} + +substance.Silver_Subfluoride = { + behavior: behaviors.WALL, + color: "CD7F32", + category: "lands", + state: "solid", + hidden:true +} + +// Doing more later (let's hope my phone is charged in the morning :skull:)