From 66beb26c169cf5d31a7dd6c4b850be77a431dd5a Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:52:54 +0800 Subject: [PATCH 01/11] Create selective_paint.js --- mods/selective_paint.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mods/selective_paint.js diff --git a/mods/selective_paint.js b/mods/selective_paint.js new file mode 100644 index 00000000..5cce2a37 --- /dev/null +++ b/mods/selective_paint.js @@ -0,0 +1,30 @@ +selectivePaintElem = "" +elements.selective_paint = { + color: ["#c27070","#c29c70","#c2c270","#70c270","#70c2c2","#7070c2","#c270c2"], + onSelect: function() { + var answer = prompt("Please input the desired element to paint. It will not work if you enter multiple elements types while paused.",(selectivePaintElem||undefined)); + if (!answer) { return } + selectivePaintElem = mostSimilarElement(answer); + }, + tool: function(pixel) { + if (pixel.element == selectivePaintElem) { + if (!shiftDown) { + pixel.color = pixelColorPick(pixel,currentColor) + } + else { + // convert the hex of currentColor to rgb and set it as a string + var rgb = currentColor.replace("#","").match(/.{1,2}/g); + for (var i = 0; i < rgb.length; i++) { + rgb[i] = parseInt(rgb[i],16); + } + pixel.color = "rgb(" + rgb.join(",") + ")" + } + delete pixel.origColor; + } + }, + customColor: true, + category: "tools", + canPlace: false, + excludeRandom:true, + desc: "Use on selected pixels to change their color." +} From 50ee33f189547e03c01c698e45a9b1817599c492 Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:53:54 +0800 Subject: [PATCH 02/11] Update mod-list.html --- mod-list.html | 1 + 1 file changed, 1 insertion(+) diff --git a/mod-list.html b/mod-list.html index 08c15a6e..97910bad 100644 --- a/mod-list.html +++ b/mod-list.html @@ -146,6 +146,7 @@ replace_all.jsAdds a way to replace every pixel of an element with another element
Read the commit description for usageAlice replace.jsAdds a tool that replaces every pixel of a specified element with another specified element. (The prompt to specify these is toggled by pressing " or by the button in the element description)Alice save_loading.jsAdds the ability to save and load scenes from files (See the info page of the element)Alice +selective_paint.jsAdds a tool to paint only selected elementsSquareScreamYT stripe_paint.jsAdds a tool to paint with stripesAlice the_ground.jsAdds several rock types, worldgen settings, and gemstonesAlice From c3e0609dacbd1c472169a20397f99aaaea7a2d7c Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:54:26 +0800 Subject: [PATCH 03/11] sprinlebomb --- mods/aChefsDream.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/mods/aChefsDream.js b/mods/aChefsDream.js index 198806d6..d33bd982 100644 --- a/mods/aChefsDream.js +++ b/mods/aChefsDream.js @@ -2,7 +2,7 @@ Created by SquareScreamYT <@918475812884344852> and RealerRaddler <@914371295561535508> Thanks to Alice <@697799964985786450>, nousernamefound <@316383921346707468>, Adora the Transfem <@778753696804765696> and Fioushemastor <@738828785482203189> for helping :) -v1.10.1 +v1.10.2 you can support me at my youtube: https://youtube.com/@sqec @@ -328,6 +328,12 @@ Changelog (v1.10.1) +Changelog (v1.10.2) + - added chocolate chip, sprinkles and topping explosions + + + + */ /* @@ -6420,3 +6426,16 @@ elements.tapioca_leaves = { state: "solid", density: 1050 } +elements.sprinkle_bomb = { + color: ["#eb726a", "#ebca6a", "#88eb6a", "#6aaceb", "#eb6ade"], + behavior: [ + "XX|XX|XX", + "XX|XX|XX", + "XX|M1 AND EX:10>sprinkles|XX", + ], + category: "food", + state: "solid", + density: 1300, + excludeRandom: true, + cooldown: defaultCooldown +} From c250c092e95f1859cc5013a94006190e2d3e0f86 Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:48:54 +0800 Subject: [PATCH 04/11] uranium nuts et cetera --- lang/zh_cn.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lang/zh_cn.json b/lang/zh_cn.json index 8d9f23bd..4e10a7ef 100644 --- a/lang/zh_cn.json +++ b/lang/zh_cn.json @@ -304,9 +304,9 @@ "candy":"糖果", "coffee_bean":"咖啡豆", "coffee_ground":"咖啡粉", -"nut":"", -"nut_meat":"", -"nut_butter":"", +"nut":"花生", +"nut_meat":"花生碎", +"nut_butter":"花生酱", "jelly":"布丁", "baking_soda":"苏打粉", "yogurt":"", @@ -406,8 +406,8 @@ "neutron":"", "proton":"", "electric":"电", -"uranium":"", -"molten_uranium":"", +"uranium":"铀", +"molten_uranium":"熔融铀", "diamond":"钻石", "gold_coin":"硬币", "rust":"", @@ -524,9 +524,9 @@ "molten_sodium_acetate":"", "frozen_nitro":"", "cured_meat": "", -"nut_oil": "", +"nut_oil": "花生油", "grease": "", -"fat": "", +"fat": "肥", "potassium": "", "molten_potassium": "", "magnesium": "", From 3992123681a8aad5466c349cb96a055a781c6709 Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:53:50 +0800 Subject: [PATCH 05/11] buncha random stuff --- lang/zh_cn.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lang/zh_cn.json b/lang/zh_cn.json index 4e10a7ef..d13ecae2 100644 --- a/lang/zh_cn.json +++ b/lang/zh_cn.json @@ -331,8 +331,8 @@ "dye":"染料", "ink":"墨水", "mercury":"汞", -"mercury_gas":"", -"solid_mercury":"", +"mercury_gas":"汞气", +"solid_mercury":"固体汞", "blood":"血", "vaccine":"疫苗", "antibody":"", @@ -346,11 +346,11 @@ "honey":"蜂蜜", "sap":"树叶", "amber":"", -"caramel":"", +"caramel":"焦糖", "molasses":"", "ketchup":"蕃茄酱", -"mayo":"", -"melted_chocolate":"", +"mayo":"蛋黄酱", +"melted_chocolate":"熔融巧克力", "liquid_hydrogen":"", "liquid_oxygen":"", "liquid_nitrogen":"", @@ -372,7 +372,7 @@ "neon":"氖气", "liquid_neon":"", "smog":"", -"stench":"", +"stench":"臭", "liquid_stench":"", "fragrance":"香水", "perfume":"香水", @@ -442,7 +442,7 @@ "room_temp":"", "positron":"", "tnt":"", -"c4":"", +"c4":"C4", "grenade":"", "dynamite":"", "gunpowder":"", @@ -503,7 +503,7 @@ "molten_pyrite":"", "broth_ice":"", "frozen_vinegar":"", -"sauce_ice":"", +"sauce_ice":"酱冰", "alcohol_ice":"酒冰", "bleach_ice":"", "chlorine_ice":"", From 42550591136640076192bba0e64c88e5e87ae761 Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Thu, 21 Mar 2024 18:55:12 +0800 Subject: [PATCH 06/11] GALLIUM (nouser would be proud) --- lang/zh_cn.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/zh_cn.json b/lang/zh_cn.json index d13ecae2..7ce3b1ee 100644 --- a/lang/zh_cn.json +++ b/lang/zh_cn.json @@ -240,9 +240,9 @@ "brass":"", "bronze":"", "sterling":"", -"gallium":"", -"molten_gallium":"", -"gallium_gas":"", +"gallium":"镓", +"molten_gallium":"熔融镓", +"gallium_gas":"镓气", "rose_gold":"玫瑰金", "purple_gold":"紫金", "blue_gold":"蓝金", From a10de11c36f640d9056380887da3b1cef7721908 Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Fri, 22 Mar 2024 08:25:37 +0800 Subject: [PATCH 07/11] Deutsch :)) --- lang/de.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lang/de.json b/lang/de.json index 3e471bd0..8b56d5fd 100644 --- a/lang/de.json +++ b/lang/de.json @@ -523,21 +523,21 @@ "molten_potassium_salt":"Geschmolzenes_Kaliumsalz", "molten_sodium_acetate":"Natriumacetat", "frozen_nitro":"Gefrorenes_Nitro", -"cured_meat": "", -"nut_oil": "", -"grease": "", -"fat": "", -"potassium": "", -"molten_potassium": "", -"magnesium": "", -"molten_magnesium": "", +"cured_meat": "Geheiltes_Fleisch", +"nut_oil": "Nussöl", +"grease": "Fettöl", +"fat": "Fett", +"potassium": "Kalium", +"molten_potassium": "Geschmolzene_Kalium", +"magnesium": "Magnesium", +"molten_magnesium": "Geschmolzene_Magnesium", "sandstorm": "", -"caustic_potash": "", -"antibomb": "", +"caustic_potash": "Kaustisches_Kali", +"antibomb": "Antibombe", "tornado": "", "earthquake": "", "tsunami": "", "blaster": "", "propane_ice": "", -"molten_caustic_potash": "" -} \ No newline at end of file +"molten_caustic_potash": "Geschmolzene_Kaustisches_Kali" +} From 91fa984e0af6f8ad267e7f3de12a8fff2fb6513b Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Fri, 22 Mar 2024 08:28:44 +0800 Subject: [PATCH 08/11] Mehr Deutsch --- lang/de.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lang/de.json b/lang/de.json index 8b56d5fd..c85fe3ce 100644 --- a/lang/de.json +++ b/lang/de.json @@ -531,13 +531,13 @@ "molten_potassium": "Geschmolzene_Kalium", "magnesium": "Magnesium", "molten_magnesium": "Geschmolzene_Magnesium", -"sandstorm": "", +"sandstorm": "Sandsturm", "caustic_potash": "Kaustisches_Kali", "antibomb": "Antibombe", -"tornado": "", -"earthquake": "", -"tsunami": "", -"blaster": "", -"propane_ice": "", +"tornado": "Tornado", +"earthquake": "Erdbeben", +"tsunami": "Tsunami", +"blaster": "Blaster", +"propane_ice": "Propan_Eis", "molten_caustic_potash": "Geschmolzene_Kaustisches_Kali" } From ef5b165e9c019f4f98ae00c0eb26c2746382f417 Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Fri, 22 Mar 2024 08:29:46 +0800 Subject: [PATCH 09/11] =?UTF-8?q?Such=20=C3=BCbersetzen=20++=20underscorez?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/de.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/de.json b/lang/de.json index c85fe3ce..008463cb 100644 --- a/lang/de.json +++ b/lang/de.json @@ -35,7 +35,7 @@ "rock":"Stein", "rock_wall":"Steinwand", "mudstone":"Schlammstein", -"packed_sand":"Komprimierter Sand", +"packed_sand":"Komprimierter_Sand", "plant":"Pflanze", "dead_plant":"Tote_pflanze", "frozen_plant":"Gefrorene_pflanze", @@ -274,7 +274,7 @@ "homunculus":"Homunkulus", "butter":"Butter", "cheese":"Käse", -"rotten_cheese":"Verrotteter Käse", +"rotten_cheese":"Verrotteter_Käse", "chocolate":"Schokolade", "grape":"Traube", "vinegar":"Essig", From a9ed6331f9e80d5ee29761b51a1d7ee9a6c21cbe Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Fri, 22 Mar 2024 08:33:20 +0800 Subject: [PATCH 10/11] lipu pi toki pona li jo e nimi sin mute --- lang/tok.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lang/tok.json b/lang/tok.json index 48904d58..d39ee7bb 100644 --- a/lang/tok.json +++ b/lang/tok.json @@ -523,17 +523,17 @@ "molten_potassium_salt":"", "molten_sodium_acetate":"", "frozen_nitro":"", -"cured_meat": "", -"nut_oil": "", -"grease": "", -"fat": "", -"potassium": "", +"cured_meat": "moku soweli pi ko pilin musi", +"nut_oil": "telo_jelo_pi_ko_kili_lili", +"grease": "telo_jelo_pi_moku_soweli", +"fat": "kiwen_walo_pi_moku_soweli", +"potassium": "kiwen_pi_telo_pakala", "molten_potassium": "", -"magnesium": "", +"magnesium": "kiwen_pi_kiwen_walo_sijelo", "molten_magnesium": "", "sandstorm": "", "caustic_potash": "", -"antibomb": "", +"antibomb": "kiwen_pakala_pi_pana_ijo", "tornado": "", "earthquake": "", "tsunami": "", From 629c0c1232405395a7021fe0ff774177d12dfd5d Mon Sep 17 00:00:00 2001 From: SquareScreamYT <134925668+SquareScreamYT@users.noreply.github.com> Date: Fri, 22 Mar 2024 08:36:50 +0800 Subject: [PATCH 11/11] LEDs, coffee and tea --- lang/tok.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lang/tok.json b/lang/tok.json index d39ee7bb..90a70d54 100644 --- a/lang/tok.json +++ b/lang/tok.json @@ -341,8 +341,8 @@ "poison_gas":"", "poison_ice":"", "antidote":"telo_pi_weka_telo_ike", -"tea":"", -"coffee":"", +"tea":"telo_kasi", +"coffee":"telo_pimeja_pi_kili_lili", "honey":"telo_jelo_suwi_pi_tan_pipi_jelo", "sap":"", "amber":"", @@ -389,9 +389,9 @@ "fire_cloud":"", "color_smoke":"", "spray_paint":"", -"led_r":"", -"led_g":"", -"led_b":"", +"led_r":"ilo_suno_pi_loje", +"led_g":"ilo_suno_pi_laso_kasi", +"led_b":"ilo_suno_pi_laso_sewi", "sulfur":"", "molten_sulfur":"", "sulfur_gas":"",