From cbf756da2d59e6b1e4a214b61d02d4df2f5b5b19 Mon Sep 17 00:00:00 2001 From: Jayd-Rubies <155784127+Jayd-Rubies@users.noreply.github.com> Date: Sat, 6 Jan 2024 10:31:38 -0500 Subject: [PATCH] Update obsidian.js --- mods/obsidian.js | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/mods/obsidian.js b/mods/obsidian.js index 929e0050..236ebc78 100644 --- a/mods/obsidian.js +++ b/mods/obsidian.js @@ -3,6 +3,7 @@ elements.obsidian = { behavior: behaviors.SOLID, category: "solids", state: "solid", + density: 2380, reactions: { "sand": { elem1: "obsidian_shard" }, "dirt": { elem1: "obsidian_shard" }, @@ -22,8 +23,29 @@ elements.obsidian = { } }, elements.obsidian_shard = { - color: ["#343434" , "#313639"], + color: ["#343434", "#313639"], behavior: behaviors.POWDER, category: "powders", state: "solid", - } \ No newline at end of file + density: 2380, + reactions: { + "glue": { elem1: "obsidian" }, + } + }, +elements.magma = { + color: ["#ff6f00","#ff8c00","#ff4d00"], + behavior: behaviors.MOLTEN, + reactions: { + "ice": { elem1: "basalt" }, + "ash": { elem1: "molten_tuff", "elem2":null }, + "molten_ash": { elem1: "molten_tuff", "elem2":null }, + "charcoal": { elem2:"diamond", tempMin:800, chance:0.005, oneway:true }, + }, + temp: 1200, + tempLow: 800, + stateLow: ["basalt","basalt","basalt","rock","obsidian_shard","obsidian"], + viscosity: 10000, + category: "liquids", + state: "liquid", + density: 2725 + }