Merge branch 'R74nCom:main' into main

This commit is contained in:
Jayd-Rubies 2024-06-06 15:05:11 -04:00 committed by GitHub
commit d091b9121c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 1943 additions and 642 deletions

View File

@ -11871,7 +11871,7 @@ if (langCode) {
if (r.burning2 !== undefined && Boolean(pixel2.burning) !== r.burning2) { if (r.burning2 !== undefined && Boolean(pixel2.burning) !== r.burning2) {
return false; return false;
} }
if (r.charged && !pixel1.charge) { if (r.charged && !(pixel1.charge || pixel2.charge)) {
return false; return false;
} }
if (r.chance !== undefined && Math.random() > r.chance) { if (r.chance !== undefined && Math.random() > r.chance) {
@ -16704,10 +16704,10 @@ Cancer, Landmine, Grenade, Smoke Grenade">?</span>
<option value="pt_br">Português (Brasil)</option> <option value="pt_br">Português (Brasil)</option>
<option value="vi">Tiếng Việt</option> <option value="vi">Tiếng Việt</option>
<option value="zh_hant">繁體中文</option> <option value="zh_hant">繁體中文</option>
<option value="zh_cn">简体中文</option>
<optgroup label="Incomplete"> <optgroup label="Incomplete">
<option value="es">Español</option> <option value="es">Español</option>
<option value="ru">Русский Язык</option> <option value="ru">Русский Язык</option>
<option value="zh_cn">简体中文</option>
</optgroup> </optgroup>
</select></p> </select></p>
<p>Try our NEW GAME: <a href="https://R74n.com/cook/" target="_blank">Infinite Chef</a></p> <p>Try our NEW GAME: <a href="https://R74n.com/cook/" target="_blank">Infinite Chef</a></p>

View File

@ -180,67 +180,67 @@
"straw": "干草", "straw": "干草",
"paper": "纸", "paper": "纸",
"pollen": "花粉", "pollen": "花粉",
"flower_seed":"", "flower_seed": "花种子",
"pistil":"", "pistil": "雌蕊",
"petal":"", "petal": "花瓣",
"tree_branch":"", "tree_branch": "树支",
"vine":"", "vine": "藤蔓",
"bamboo_plant":"", "bamboo_plant": "竹子",
"foam":"", "foam": "泡沫",
"bubble": "泡泡", "bubble": "泡泡",
"acid":"", "acid": "",
"neutral_acid":"", "neutral_acid": "中性酸性",
"acid_gas":"", "acid_gas": "酸气",
"glue": "粘", "glue": "粘",
"soda": "汽水", "soda": "汽水",
"gray_goo": "灰粘", "gray_goo": "灰粘",
"malware":"", "malware": "恶意软件",
"ecloner":"", "ecloner": "电子克隆机",
"slow_cloner":"", "slow_cloner": "慢克隆机",
"clone_powder":"", "clone_powder": "克隆粉",
"floating_cloner":"", "floating_cloner": "浮动克隆机",
"virus": "病毒", "virus": "病毒",
"ice_nine":"冰九", "ice_nine": "冰-九",
"strange_matter":"", "strange_matter": "奇怪物质",
"permafrost":"", "permafrost": "永冻土",
"melted_butter":"", "melted_butter": "融化牛油",
"melted_cheese":"", "melted_cheese": "融化芝士",
"mushroom_spore":"", "mushroom_spore": "蘑菇孢子",
"mushroom_stalk":"", "mushroom_stalk": "蘑菇茎",
"mushroom_gill":"", "mushroom_gill": "蘑菇鳃",
"mushroom_cap":"", "mushroom_cap": "蘑菇帽",
"hyphae":"", "hyphae": "菌丝",
"mycelium":"", "mycelium": "菌丝体",
"mulch":"", "mulch": "覆盖物",
"ant_wall": "蚂蚁墙", "ant_wall": "蚂蚁墙",
"lichen":"", "lichen": "地衣",
"antimatter":"", "antimatter": "反物质",
"plastic": "塑料", "plastic": "塑料",
"molten_plastic":"", "molten_plastic": "熔融塑料",
"cellulose":"", "cellulose": "纤维素",
"wax":"", "wax": "",
"melted_wax":"", "melted_wax": "熔化蜡",
"incense":"", "incense": "",
"fuse":"", "fuse": "保险丝",
"dioxin":"", "dioxin": "二恶英",
"insulation":"", "insulation": "绝缘",
"sponge": "海绵", "sponge": "海绵",
"bamboo": "竹子", "bamboo": "竹子",
"iron": "铁", "iron": "铁",
"copper": "铜", "copper": "铜",
"gold": "金", "gold": "金",
"steel":"", "steel": "",
"nickel":"", "nickel": "",
"zinc":"", "zinc": "",
"silver": "银", "silver": "银",
"tin":"", "tin": "相信",
"lead":"", "lead": "带领",
"aluminum": "铝", "aluminum": "铝",
"tungsten":"", "tungsten": "",
"molten_tungsten":"", "molten_tungsten": "熔融钨",
"brass":"", "brass": "黄铜",
"bronze":"", "bronze": "青铜",
"sterling":"", "sterling": "英镑",
"gallium": "镓", "gallium": "镓",
"molten_gallium": "熔融镓", "molten_gallium": "熔融镓",
"gallium_gas": "镓气", "gallium_gas": "镓气",
@ -248,16 +248,16 @@
"purple_gold": "紫金", "purple_gold": "紫金",
"blue_gold": "蓝金", "blue_gold": "蓝金",
"electrum": "金金银", "electrum": "金金银",
"pyrite":"", "pyrite": "黄铁矿",
"solder":"", "solder": "焊接",
"molten_copper": "熔融铜", "molten_copper": "熔融铜",
"molten_gold": "熔融金", "molten_gold": "熔融金",
"molten_silver":"", "molten_silver": "熔银",
"molten_iron":"", "molten_iron": "铁水",
"molten_nickel":"", "molten_nickel": "熔融镍",
"molten_tin":"", "molten_tin": "熔锡",
"molten_lead":"", "molten_lead": "熔化铅",
"molten_solder":"", "molten_solder": "熔化焊料",
"juice": "果汁", "juice": "果汁",
"juice_ice": "果汁冰", "juice_ice": "果汁冰",
"broth": "汤", "broth": "汤",
@ -288,19 +288,19 @@
"pumpkin_seed": "南瓜种子", "pumpkin_seed": "南瓜种子",
"corn": "玉米", "corn": "玉米",
"popcorn": "爆米花", "popcorn": "爆米花",
"corn_seed":"", "corn_seed": "玉米种子",
"potato": "土豆", "potato": "土豆",
"baked_potato": "烤土豆", "baked_potato": "烤土豆",
"mashed_potato": "薯泥", "mashed_potato": "薯泥",
"potato_seed":"", "potato_seed": "马铃薯种子",
"root": "根", "root": "根",
"fiber":"", "fiber": "纤维",
"yeast":"", "yeast": "酵母",
"bread": "面包", "bread": "面包",
"toast": "烤面包", "toast": "烤面包",
"gingerbread":"", "gingerbread": "姜饼",
"crumb":"", "crumb": "",
"baked_batter":"", "baked_batter": "烘焙面糊",
"wheat": "麦", "wheat": "麦",
"candy": "糖果", "candy": "糖果",
"coffee_bean": "咖啡豆", "coffee_bean": "咖啡豆",
@ -310,25 +310,25 @@
"nut_butter": "花生酱", "nut_butter": "花生酱",
"jelly": "布丁", "jelly": "布丁",
"baking_soda": "苏打粉", "baking_soda": "苏打粉",
"yogurt":"", "yogurt": "酸奶",
"frozen_yogurt":"", "frozen_yogurt": "冰冻酸奶",
"ice_cream": "冰淇凌", "ice_cream": "冰淇凌",
"cream": "奶油", "cream": "奶油",
"beans": "豆子", "beans": "豆子",
"dry_ice": "干冰", "dry_ice": "干冰",
"nitrogen_ice":"", "nitrogen_ice": "氮冰",
"particleboard": "皮肤", "particleboard": "皮肤",
"skin": "皮肤", "skin": "皮肤",
"hair": "头发", "hair": "头发",
"alcohol": "酒", "alcohol": "酒",
"alcohol_gas": "酒气", "alcohol_gas": "酒气",
"basalt":"", "basalt": "玄武岩",
"tuff":"", "tuff": "凝灰岩",
"molten_tuff":"", "molten_tuff": "熔凝灰岩",
"soap": "肥皂", "soap": "肥皂",
"bleach": "漂白", "bleach": "漂白",
"chlorine": "氯", "chlorine": "氯",
"liquid_chlorine":"", "liquid_chlorine": "液氯",
"dye": "染料", "dye": "染料",
"ink": "墨水", "ink": "墨水",
"mercury": "汞", "mercury": "汞",
@ -336,209 +336,214 @@
"solid_mercury": "固体汞", "solid_mercury": "固体汞",
"blood": "血", "blood": "血",
"vaccine": "疫苗", "vaccine": "疫苗",
"antibody":"", "antibody": "抗体",
"infection": "感染", "infection": "感染",
"poison": "毒", "poison": "毒",
"poison_gas": "毒气", "poison_gas": "毒气",
"poison_ice": "毒冰", "poison_ice": "毒冰",
"antidote":"", "antidote": "解毒剂",
"tea": "茶", "tea": "茶",
"coffee": "咖啡", "coffee": "咖啡",
"honey": "蜂蜜", "honey": "蜂蜜",
"sap": "树叶", "sap": "树叶",
"amber":"", "amber": "琥珀色",
"caramel": "焦糖", "caramel": "焦糖",
"molasses":"", "molasses": "糖蜜",
"ketchup": "蕃茄酱", "ketchup": "蕃茄酱",
"mayo": "蛋黄酱", "mayo": "蛋黄酱",
"melted_chocolate": "熔融巧克力", "melted_chocolate": "熔融巧克力",
"liquid_hydrogen":"", "liquid_hydrogen": "液氢",
"liquid_oxygen":"", "liquid_oxygen": "液氧",
"liquid_nitrogen":"", "liquid_nitrogen": "液氮",
"liquid_helium":"", "liquid_helium": "液氦",
"sodium": "钠", "sodium": "钠",
"molten_sodium":"", "molten_sodium": "熔融钠",
"sodium_gas":"", "sodium_gas": "钠气",
"calcium": "钙", "calcium": "钙",
"molten_calcium":"", "molten_calcium": "熔融钙",
"limestone":"", "limestone": "石灰石",
"quicklime":"", "quicklime": "生石灰",
"slaked_lime":"", "slaked_lime": "熟石灰",
"thermite":"", "thermite": "铝热剂",
"molten_thermite":"", "molten_thermite": "熔融铝热剂",
"slag":"", "slag": "矿渣",
"amalgam":"", "amalgam": "汞合金",
"molten_aluminum":"", "molten_aluminum": "熔融铝",
"molten_zinc":"", "molten_zinc": "熔融锌",
"neon": "氖气", "neon": "氖气",
"liquid_neon":"", "liquid_neon": "液体氖气",
"smog":"", "smog": "烟雾",
"stench": "臭", "stench": "臭",
"liquid_stench":"", "liquid_stench": "液体恶臭",
"fragrance": "香水", "fragrance": "香水",
"perfume": "香水", "perfume": "香水",
"cyanide":"", "cyanide": "氰化物",
"cyanide_gas":"", "cyanide_gas": "氰化物气体",
"ozone":"", "ozone": "臭氧",
"cloud": "云", "cloud": "云",
"rain_cloud": "雨云", "rain_cloud": "雨云",
"snow_cloud": "雪云", "snow_cloud": "雪云",
"hail_cloud": "冰雹云", "hail_cloud": "冰雹云",
"thunder_cloud": "雷云", "thunder_cloud": "雷云",
"acid_cloud": "酸云", "acid_cloud": "酸云",
"pyrocumulus":"", "pyrocumulus": "火积云",
"fire_cloud": "火云", "fire_cloud": "火云",
"color_smoke":"", "color_smoke": "彩色烟雾",
"spray_paint":"", "spray_paint": "喷漆",
"led_r": "红灯", "led_r": "红灯",
"led_g": "绿灯", "led_g": "绿灯",
"led_b": "蓝灯", "led_b": "蓝灯",
"sulfur":"", "sulfur": "",
"molten_sulfur":"", "molten_sulfur": "熔融硫磺",
"sulfur_gas":"", "sulfur_gas": "硫磺气体",
"copper_sulfate":"", "copper_sulfate": "硫酸铜",
"snake": "蛇", "snake": "蛇",
"loopy":"", "loopy": "疯狂的",
"warp":"", "warp": "",
"radiation":"", "radiation": "辐射",
"rad_steam":"", "rad_steam": "辐射蒸汽",
"rad_cloud":"", "rad_cloud": "拉德云",
"fallout":"", "fallout": "掉出来",
"neutron":"", "neutron": "中子",
"proton":"", "proton": "质子",
"electric": "电", "electric": "电",
"uranium": "铀", "uranium": "铀",
"molten_uranium": "熔融铀", "molten_uranium": "熔融铀",
"diamond": "钻石", "diamond": "钻石",
"gold_coin": "硬币", "gold_coin": "硬币",
"rust":"", "rust": "",
"oxidized_copper":"", "oxidized_copper": "氧化铜",
"alga":"", "alga": "藻类",
"metal_scrap":"", "metal_scrap": "金属废料",
"glass_shard":"", "glass_shard": "玻璃碎片",
"rad_shard":"", "rad_shard": "rad shard",
"brick_rubble":"", "brick_rubble": "砖瓦砾",
"baked_clay":"", "baked_clay": "烘焙粘土",
"clay_shard":"", "clay_shard": "粘土碎片",
"porcelain_shard":"", "porcelain_shard": "瓷器碎片",
"feather": "羽毛", "feather": "羽毛",
"confetti":"", "confetti": "五彩纸屑",
"glitter":"", "glitter": "闪光",
"bead":"", "bead": "珠子",
"color_sand": "彩色沙", "color_sand": "彩色沙",
"borax":"", "borax": "硼砂",
"epsom_salt":"", "epsom_salt": "泻盐",
"potassium_salt":"", "potassium_salt": "钾盐",
"sodium_acetate":"", "sodium_acetate": "乙酸钠",
"lightning":"", "lightning": "闪电",
"bless":"", "bless": "保佑",
"god_ray":"", "god_ray": "神雷",
"heat_ray":"", "heat_ray": "热射线",
"explosion":"", "explosion": "爆炸",
"n_explosion":"", "n_explosion": "n 爆炸",
"supernova":"", "supernova": "超新星",
"pop": "爆", "pop": "爆",
"cook": "煮", "cook": "煮",
"incinerate":"", "incinerate": "焚化",
"room_temp":"", "room_temp": "房间温度",
"positron":"", "positron": "正电子",
"tnt":"", "tnt": "tnt",
"c4": "C4", "c4": "C4",
"grenade":"", "grenade": "手榴弹",
"dynamite":"", "dynamite": "炸药",
"gunpowder":"", "gunpowder": "火药",
"ember":"", "ember": "人类",
"firework": "烟花", "firework": "烟花",
"fw_ember": "烟火", "fw_ember": "烟火",
"nuke":"", "nuke": "核武器",
"h_bomb":"", "h_bomb": "h 炸弹",
"dirty_bomb":"", "dirty_bomb": "脏炸弹",
"emp_bomb":"", "emp_bomb": "电子炸弹",
"nitro":"", "nitro": "硝基",
"greek_fire":"", "greek_fire": "希腊火",
"fireball":"", "fireball": "火球",
"rocket":"", "rocket": "火箭",
"cold_bomb": "冷炸弹", "cold_bomb": "冷炸弹",
"hot_bomb": "热炸弹", "hot_bomb": "热炸弹",
"antimatter_bomb":"", "antimatter_bomb": "反物质炸弹",
"party_popper":"", "party_popper": "礼花",
"flashbang": "光榴弹", "flashbang": "光榴弹",
"flash":"", "flash": "闪光",
"smoke_grenade": "烟榴弹", "smoke_grenade": "烟榴弹",
"landmine":"", "landmine": "地雷",
"armageddon":"", "armageddon": "世界末日",
"tesla_coil":"", "tesla_coil": "特斯拉线圈",
"light_bulb": "灯泡", "light_bulb": "灯泡",
"shocker":"", "shocker": "令人震惊",
"pressure_plate":"", "pressure_plate": "压力板",
"primordial_soup":"", "primordial_soup": "原始汤",
"molten_slag":"", "molten_slag": "熔渣",
"molten_dirt":"", "molten_dirt": "熔化污垢",
"debug":"", "debug": "调试",
"prop":"", "prop": "支柱",
"salt_ice": "盐水冰", "salt_ice": "盐水冰",
"sugar_ice": "糖水冰", "sugar_ice": "糖水冰",
"seltzer_ice": "苏打水冰", "seltzer_ice": "苏打水冰",
"dirty_ice":"", "dirty_ice": "脏冰",
"pool_ice":"", "pool_ice": "池冰",
"blood_ice": "血冰", "blood_ice": "血冰",
"antibody_ice":"", "antibody_ice": "抗体 冰",
"infection_ice":"", "infection_ice": "感染冰",
"unknown": "未知", "unknown": "未知",
"slime_ice":"", "slime_ice": "史莱姆 冰",
"antiice":"", "antiice": "防冰",
"ammonia_ice":"", "ammonia_ice": "氨 冰",
"liquid_propane":"", "liquid_propane": "液体丙烷",
"methane_ice":"", "methane_ice": "甲烷 冰",
"molten_brick":"", "molten_brick": "熔化的砖",
"acid_ice":"", "acid_ice": "酸 冰",
"soda_ice": "汽水冰", "soda_ice": "汽水冰",
"molten_steel":"", "molten_steel": "钢水",
"molten_brass":"", "molten_brass": "熔融黄铜",
"molten_bronze":"", "molten_bronze": "熔化青铜",
"molten_sterling":"", "molten_sterling": "熔化英镑",
"molten_rose_gold":"", "molten_rose_gold": "熔化玫瑰金",
"molten_purple_gold":"", "molten_purple_gold": "熔化紫金",
"molten_blue_gold":"", "molten_blue_gold": "熔蓝金",
"molten_electrum":"", "molten_electrum": "熔融金金矿",
"molten_pyrite":"", "molten_pyrite": "熔融黄铁矿",
"broth_ice":"", "broth_ice": "肉汤冰",
"frozen_vinegar":"", "frozen_vinegar": "冷冻醋",
"sauce_ice": "酱冰", "sauce_ice": "酱冰",
"alcohol_ice": "酒冰", "alcohol_ice": "酒冰",
"bleach_ice":"", "bleach_ice": "漂白冰",
"chlorine_ice":"", "chlorine_ice": "氯冰",
"frozen_ink":"", "frozen_ink": "冰冻墨水",
"tea_ice": "茶冰", "tea_ice": "茶冰",
"coffee_ice": "咖啡冰", "coffee_ice": "咖啡冰",
"hydrogen_ice":"", "hydrogen_ice": "氢冰",
"oxygen_ice":"", "oxygen_ice": "氧气 冰",
"molten_amalgam":"", "molten_amalgam": "熔融汞合金",
"neon_ice":"", "neon_ice": "霓虹灯冰",
"cyanide_ice":"", "cyanide_ice": "氰化物冰",
"molten_copper_sulfate":"", "molten_copper_sulfate": "熔融硫酸铜",
"molten_alga":"", "molten_alga": "熔藻",
"molten_metal_scrap":"", "molten_metal_scrap": "熔融金属废料",
"molten_borax":"", "molten_borax": "熔融硼砂",
"molten_epsom_salt":"", "molten_epsom_salt": "熔盐",
"molten_potassium_salt":"", "molten_potassium_salt": "熔融钾盐",
"molten_sodium_acetate":"", "molten_sodium_acetate": "熔融乙酸钠",
"frozen_nitro":"", "frozen_nitro": "冷冻硝基",
"cured_meat": "", "cured_meat": "腌肉",
"nut_oil": "花生油", "nut_oil": "花生油",
"grease": "", "grease": "润滑脂",
"fat": "肥", "fat": "肥",
"potassium": "钾", "potassium": "钾",
"molten_potassium": "熔融钾", "molten_potassium": "熔融钾",
"magnesium": "镁", "magnesium": "镁",
"molten_magnesium": "熔融镁", "molten_magnesium": "熔融镁",
"sandstorm": "", "sandstorm": "沙暴",
"caustic_potash": "氢氧化钾", "caustic_potash": "氢氧化钾",
"antibomb": "", "antibomb": "反炸弹",
"tornado": "龙卷风", "tornado": "龙卷风",
"earthquake": "地震", "earthquake": "地震",
"tsunami": "海啸", "tsunami": "海啸",
"blaster": "", "blaster": "冲击波",
"propane_ice": "", "propane_ice": "丙烷冰",
"molten_caustic_potash": "熔融氢氧化钾" "molten_caustic_potash": "熔融氢氧化钾",
"cloth": "布",
"kelp": "海带",
"grinder": "磨床",
"mixer": "混合机",
"freeze_ray": "冷射线"
} }

View File

@ -225,6 +225,7 @@
<tr><td>more_breaking.js</td><td>Allows for breaking more elements in explosions</td><td>Alice</td></tr> <tr><td>more_breaking.js</td><td>Allows for breaking more elements in explosions</td><td>Alice</td></tr>
<tr><td>rays.js</td><td>Adds more Ray types</td><td>Alice</td></tr> <tr><td>rays.js</td><td>Adds more Ray types</td><td>Alice</td></tr>
<tr><td>rays++.js</td><td>Adds a couple more rays</td><td>uptzik</td></tr> <tr><td>rays++.js</td><td>Adds a couple more rays</td><td>uptzik</td></tr>
<tr><td>subspace.js</td><td>Adds the Subspace Tripmine from Roblox</td><td>nousernamefound</td></tr>
<tr><td>weapons.js</td><td>Adds varieties of different weapons </td><td>Jayd</td></tr> <tr><td>weapons.js</td><td>Adds varieties of different weapons </td><td>Jayd</td></tr>
<!----><tr><td class="modCat" colspan="3">Food & Cooking</td></tr><!----> <!----><tr><td class="modCat" colspan="3">Food & Cooking</td></tr><!---->
@ -297,6 +298,7 @@
<tr><td>minecraft.js</td><td>Adds several things from Minecraft</td><td>StellarX20</td></tr> <tr><td>minecraft.js</td><td>Adds several things from Minecraft</td><td>StellarX20</td></tr>
<tr><td>minesweeper.js</td><td>A subpar implementation of Minesweeper</td><td>Alice</td></tr> <tr><td>minesweeper.js</td><td>A subpar implementation of Minesweeper</td><td>Alice</td></tr>
<tr><td>musicalfruit.js</td><td>Humans get gas from eating Beans</td><td>mollthecoder</td></tr> <tr><td>musicalfruit.js</td><td>Humans get gas from eating Beans</td><td>mollthecoder</td></tr>
<tr><td>prideflags.js</td><td>Adds some pride flags to the game.</td><td>Adora</td></tr>
<tr><td>random_elems.js</td><td>Curated randomly generated elements</td><td>Alice</td></tr> <tr><td>random_elems.js</td><td>Curated randomly generated elements</td><td>Alice</td></tr>
<tr><td>random_liquids.js</td><td>Randomly generates liquids on game load</td><td>Alice</td></tr> <tr><td>random_liquids.js</td><td>Randomly generates liquids on game load</td><td>Alice</td></tr>
<tr><td>sbmixup.js</td><td>Adds silly elements from a <a href="https://R74n.com/mix/" target="_blank">Mix-Up!</a> game</td><td>stefanblox</td> <tr><td>sbmixup.js</td><td>Adds silly elements from a <a href="https://R74n.com/mix/" target="_blank">Mix-Up!</a> game</td><td>stefanblox</td>

View File

@ -1,11 +1,15 @@
// Science mod for Sandboxels // Science mod for Sandboxels
// (Inspired by survival.js) // (Inspired by survival.js)
// Build 21 // Build 26 (version alpha 0.0.26)
console.log("version alpha 0.0.26")
console.log("build 26")
// If there is anything you want to suggest or there's a bug then just dm me on discord (@a_british_proto) // If there is anything you want to suggest or there's a bug then just dm me on discord (@a_british_proto)
// I've decided to start doing this project on my schools computer's (because they don't crash all the time) so there will be long delays in updates, sorry!
// Todo: // Todo:
// - Make new substances that you can get after mixing different elements // - Make new substances that you can get after mixing different elements
// - Make a way to get the different substances by mixing different elements and different substances // - Make a way to get the different substances by mixing different elements and different substances (basically the same as the one above)
// - Create different proporties for the substances (doing now) // - Create different proporties for the substances (doing now)
// - Actually update all the properties and make them have effects
// How much of the elements you're gonna have when you start: // How much of the elements you're gonna have when you start:
@ -1247,6 +1251,7 @@ substance.Silver_Vandium_Trioxide = {
} }
// Why is this fun? How is this not torture? This is line 1247! (at the time I am making this comment) // Why is this fun? How is this not torture? This is line 1247! (at the time I am making this comment)
// Not changing this ever lol ^^^^
// I think there's two silver iodides I'm just not so sure (and I ain't editing this after) // 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: // Nvm it's only one , I got silver iodide and silver iodate mixed up :skull:
@ -1507,3 +1512,28 @@ substance.Aluminum_Chloride_Hydrate = {
state: "solid", state: "solid",
hidden:true hidden:true
} }
// NULL/null just means unknown
substance.Aluminum_Chloride_Hexahydrate = {
behavior: behaviors.NULL,
color: "000000",
category: "null",
state: "null",
hidden:true
}
substance.Aluminum_Perchlorate_Nonahydrate = {
behavior: behaviors.NULL,
color: "000000",
category: "null",
state: "null",
hidden:true
}
substance.Aluminum_Chlorate_Nonahydrate= {
behavior: behaviors.NULL,
color: "000000",
category: "null",
state: "null",
hidden:true
}

42
mods/barf_mod.js Normal file
View File

@ -0,0 +1,42 @@
elements.barf = {
color: "#9ACD32",
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"M1|M1|M1"
],
category: "liquids",
density: 1020,
state: "liquid",
viscosity: 5,
reactions: {
"milk": { "elem1": "cheese", "chance": 1.0 }
},
tempHigh: 300,
stateHigh: "stench",
tempLow: 0,
stateLow: "frozen_barf",
flammable: true,
burn: 20,
burnInto: "smoke"
};
elements.frozen_barf = {
color: "#B0E0E6",
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|XX|XX"
],
category: "solids",
density: 1030,
state: "solid",
tempHigh: 0,
stateHigh: "barf"
};
elements.slime.reactions = elements.slime.reactions || {};
elements.slime.reactions.blood = { "elem1": "barf", "chance": 1.0 };
elements.blood.reactions = elements.blood.reactions || {};
elements.blood.reactions.slime = { "elem1": "barf", "chance": 1.0 };

View File

@ -1,3 +1,169 @@
function getImportantLetters(input) { // entirely chadgbd i just told it what algoritm to make
const isVowel = char => 'AEIOU'.includes(char);
const isConsonant = char => /^[BCDFGHJKLMNPQRSTVWXYZ]$/.test(char);
const removeDuplicates = str => {
let seen = new Set();
return str.split('').filter(char => {
if (seen.has(char)) {
return false;
} else {
seen.add(char);
return true;
}
}).join('');
};
const words = input.replace(/[^a-zA-Z0-9\s_]/g, '').replace(/_/g, ' ').toUpperCase().split(/\s+/);
if (input.length <= 4) {
return input.toUpperCase();
} else if (words.length === 1) {
const word = removeDuplicates(words[0]);
let result = '';
let consonantCount = 0;
let vowelFound = false;
for (let char of word) {
if (isVowel(char) && !vowelFound) {
result += char;
vowelFound = true;
} else if (isConsonant(char) && consonantCount < 3) {
result += char;
consonantCount++;
}
if (result.length === 4) {
break;
}
}
return result.padEnd(4, result[result.length - 1] || '');
} else if (words.length === 2) {
const firstWord = words[0];
const secondWord = words[1];
let result = '';
if (isNaN(firstWord) && !isNaN(secondWord)) {
const word = removeDuplicates(firstWord);
let consonantCount = 0;
let vowelFound = false;
for (let char of word) {
if (isVowel(char) && !vowelFound) {
result += char;
vowelFound = true;
} else if (isConsonant(char) && consonantCount < 2) {
result += char;
consonantCount++;
}
if (result.length === 3) {
break;
}
}
result = result.padEnd(3, result[result.length - 1] || '') + secondWord;
} else if (!isNaN(firstWord) && isNaN(secondWord)) {
const word = removeDuplicates(secondWord);
let consonantCount = 0;
let vowelFound = false;
for (let char of word) {
if (isVowel(char) && !vowelFound) {
result += char;
vowelFound = true;
} else if (isConsonant(char) && consonantCount < 2) {
result += char;
consonantCount++;
}
if (result.length === 3) {
break;
}
}
result = result.padEnd(3, result[result.length - 1] || '') + firstWord;
} else {
result = firstWord[0];
let consonants = [];
let vowels = [];
let allChars = [];
for (let char of secondWord) {
allChars.push(char);
if (isConsonant(char)) {
consonants.push(char);
} else if (isVowel(char)) {
vowels.push(char);
}
}
if (consonants.length >= 3) {
let consonantCount = 0;
for (let char of allChars) {
if (isConsonant(char) && consonantCount < 3) {
result += char;
consonantCount++;
}
if (result.length === 4) {
break;
}
}
} else if (consonants.length === 2) {
let consonantCount = 0;
let vowelCount = 0;
for (let char of allChars) {
if (isConsonant(char) && consonantCount < 2) {
result += char;
consonantCount++;
} else if (isVowel(char) && vowelCount < 1) {
result += char;
vowelCount++;
}
}
} else {
let consonantCount = 0;
let vowelCount = 0;
for (let char of allChars) {
if (isConsonant(char) && consonantCount < 1) {
result += char;
consonantCount++;
} else if (isVowel(char) && vowelCount < 2) {
result += char;
vowelCount++;
}
if (result.length === 4) {
break;
}
}
}
result = result.padEnd(4, result[result.length - 1] || '');
}
return result;
} else if (words.length === 3) {
const firstWord = words[0];
const secondWord = words[1];
const thirdWord = words[2];
let result = firstWord[0] + secondWord[0];
let consonantCount = 0;
let vowelFound = false;
for (let char of thirdWord) {
if (isVowel(char) && !vowelFound) {
result += char;
vowelFound = true;
} else if (isConsonant(char) && consonantCount < 1) {
result += char;
consonantCount++;
}
if (result.length === 4) {
break;
}
}
return result.padEnd(4, result[result.length - 1] || '');
} else {
return words.map(word => word[0]).join('').slice(0, 4);
}
}
function swapObjectValues(obj) { function swapObjectValues(obj) {
const keys = Object.keys(obj); const keys = Object.keys(obj);
while (keys.length > 1) { while (keys.length > 1) {
@ -50,12 +216,15 @@ elements.name_settings = {
if (doNameSwapping == "yes"){settings.funnyname.doNameSwapping = true} else {settings.funnyname.doNameSwapping = false} if (doNameSwapping == "yes"){settings.funnyname.doNameSwapping = true} else {settings.funnyname.doNameSwapping = false}
var doLetterSwapping = prompt("Would you like to swap the letters in the names? Type yes or no.", "no") var doLetterSwapping = prompt("Would you like to swap the letters in the names? Type yes or no.", "no")
if (doLetterSwapping == "yes"){settings.funnyname.doLetterSwapping = true} else {settings.funnyname.doLetterSwapping = false} if (doLetterSwapping == "yes"){settings.funnyname.doLetterSwapping = true} else {settings.funnyname.doLetterSwapping = false}
var condenseToFour = prompt("Would you like to condense the names to 4 letters? Also known as TPT-ify. Type yes or no.", "no")
if (condenseToFour == "yes"){settings.funnyname.condenseToFour = true} else {settings.funnyname.condenseToFour = false}
var doNameRates = prompt("Would you like to make the names a rating? If yes, this will set all others to no (it is incompatible.) Type yes or no.", "no") var doNameRates = prompt("Would you like to make the names a rating? If yes, this will set all others to no (it is incompatible.) Type yes or no.", "no")
if (doNameRates == "yes"){ if (doNameRates == "yes"){
settings.funnyname.doNameRates = true settings.funnyname.doNameRates = true
settings.funnyname.doNameSwapping = false settings.funnyname.doNameSwapping = false
settings.funnyname.doVowelSwapping = false settings.funnyname.doVowelSwapping = false
settings.funnyname.doLetterSwapping = false settings.funnyname.doLetterSwapping = false
settings.funnyname.condenseToFour = false
} else {settings.funnyname.doNameRates = false} } else {settings.funnyname.doNameRates = false}
saveSettings() saveSettings()
var allNamesString = prompt("Would you like to set all names to a custom string? This will set all others to no. Type yes or no.", "no") var allNamesString = prompt("Would you like to set all names to a custom string? This will set all others to no. Type yes or no.", "no")
@ -64,6 +233,7 @@ elements.name_settings = {
settings.funnyname.doNameSwapping = false settings.funnyname.doNameSwapping = false
settings.funnyname.doVowelSwapping = false settings.funnyname.doVowelSwapping = false
settings.funnyname.doLetterSwapping = false settings.funnyname.doLetterSwapping = false
settings.funnyname.condenseToFour = false
settings.funnyname.doNameRates = false settings.funnyname.doNameRates = false
customName = prompt("What would you like to set the names to?", "") customName = prompt("What would you like to set the names to?", "")
settings.funnyname.customName = true settings.funnyname.customName = true
@ -138,5 +308,13 @@ runAfterAutogen(
} }
} }
} }
if (settings.funnyname.condenseToFour){
for (let elementname in elements){
if (elementname != "name_settings"){
let newelementname = getImportantLetters((elements[elementname].name)||elementname)
elements[elementname].name = newelementname
}
}
}
} }
) )

175
mods/kopalsBar.js Normal file
View File

@ -0,0 +1,175 @@
elements.yeast = {
color: ['#AD9166', '#9A7F4E', '#D8BB8D'],
behavior: [
'XX|XX|XX',
'XX|XX|XX',
'M2|M1|M2'
],
category: 'bar',
state: 'solid',
tempHigh: 132,
stateHigh: 'ash',
reactions: {
'water': {elem2: 'beer', chance: 0.05},
'juice': {elem2: 'wine', chance: 0.05},
'sugar_water': {elem2: 'rum', chance: 0.05},
'white_juice': {elem2: 'white_wine', chance: 0.05},
}
}
const drinks = [
'beer',
'wine',
'vodka',
'rum',
'white_wine',
'white_juice',
'white_grape'
]
const ings = [
'yeast',
'mashed_potato'
]
function drink(elem) {
elements.body.reactions[elem] = {elem2: null}
elements.head.reactions[elem] = {elem2: null}
}
elements.beer = {
color: ['#FFD700', '#F4E541'],
behavior: [
'XX|CR:foam%15|XX',
'M2|XX|M2',
'M2|M1|M2'
],
category: 'bar',
state: 'solid',
tempHigh: 78,
density: 997,
stateHigh: ['steam', 'alcohol'],
reactions: {
'water': {elem2: 'beer', chance: 0.0125}
}
}
elements.wine = {
color: ['#7B1113', '#8D021F'],
behavior: behaviors.LIQUID,
category: 'bar',
state: 'solid',
tempHigh: 78,
density: 997,
stain: 0.1,
stateHigh: ['steam', 'alcohol'],
reactions: {
'juice': {elem2: 'wine', chance: 0.0125}
}
}
elements.white_wine = {
color: ['#FAD689', '#F8E3A1'],
behavior: behaviors.LIQUID,
category: 'bar',
state: 'solid',
tempHigh: 78,
density: 997,
stain: 0.1,
stateHigh: ['steam', 'alcohol'],
reactions: {
'white_juice': {elem2: 'white_wine', chance: 0.0125}
}
}
elements.vodka = {
color: ['#FFFFFF', '#FFFACD'],
behavior: behaviors.LIQUID,
category: 'bar',
state: 'solid',
tempHigh: 78,
density: 997,
stateHigh: ['steam', 'alcohol'],
reactions: {
'water': {elem2: 'vodka', chance: 0.0125}
}
}
elements.rum = {
color: ['#A0522D', '#8B4513'],
behavior: behaviors.LIQUID,
category: 'bar',
state: 'solid',
tempHigh: 78,
stain: 0.05,
density: 997,
stateHigh: ['steam', 'alcohol'],
reactions: {
'sugar_water': {elem2: 'rum', chance: 0.0125}
}
}
elements.white_juice = {
color: ['#F8F0C6', '#F7E7A9'],
behavior: behaviors.LIQUID,
category: 'liquids',
state: 'solid',
tempHigh: 130,
density: elements.juice.density,
movable: true,
stateHigh: 'steam',
}
elements.white_grape = {
color: ['#D0F0C0', '#B2E68D'],
behavior: elements.grape.behavior,
category: 'food',
density: 1154,
state: 'solid',
stateHigh: ['steam', 'sugar'],
breakInto: 'white_juice',
tempHigh: 256,
reactions: {
'acid': {elem1: 'white_juice', chance: 0.1},
'acid_gas': {elem1: 'white_juice', chance: 0.1},
'basalt': {elem1: 'white_juice', chance: 0.1},
'concrete': {elem1: 'white_juice', chance: 0.1},
'limestone': {elem1: 'white_juice', chance: 0.1},
'radiation': {elem1: 'white_juice', chance: 0.1},
'rock': {elem1: 'white_juice', chance: 0.1},
'tuff': {elem1: 'white_juice', chance: 0.1},
'water': {elem1: 'white_juice', chance: 0.005},
'sugar_water': {elem1: 'white_juice', chance: 0.025},
}
}
elements.ingredient_eater = {
color: ['#AD9166', '#9A7F4E', '#D8BB8D'],
tool: function(pixel) {
if (ings.includes(pixel.element)) {
deletePixel(pixel.x, pixel.y);
}
},
category: "tools",
desc: "Removes ingredients."
}
elements.consumer = {
color: ['#FFD700', '#F4E541', '#7B1113', '#8D021F'],
tool: function(pixel) {
if (drinks.includes(pixel.element)) {
deletePixel(pixel.x, pixel.y);
}
},
category: "tools",
desc: "Consumes stuff like juice 'n beer."
}
for (const elem in drinks) {
drink(elem)
}
elements.mashed_potato.reactions = {}
elements.mashed_potato.reactions['water'] = {elem2: 'vodka', chance: 0.05}
elements.grape.color = ['#7D1538', '#6F2DA8']
elements.grape.breakIntoColor = '#4B0082'

View File

@ -1,12 +1,5 @@
elements.template = {
color: "#ffffff",
category: "more_powders",
state: "solid",
hidden: true,
behavior: behaviors.POWDER
}
elements.powder = { elements.powder = {
color: ["#c17d17", "#f2a32e"], color: ["#786d6d", "#968888"],
behavior: behaviors.POWDER, behavior: behaviors.POWDER,
category: "more_powders", category: "more_powders",
state: "solid", state: "solid",
@ -15,12 +8,11 @@ elements.powder = {
"foam": { elem1: "foam_powder", elem2: "foam_powder" }, "foam": { elem1: "foam_powder", elem2: "foam_powder" },
"electric": { elem1: null, elem2: "electric_powder" }, "electric": { elem1: null, elem2: "electric_powder" },
"dust": { elem1: null, elem2: "void_powder" }, "dust": { elem1: null, elem2: "void_powder" },
"grenade": { elem1: null, elem2: "powder_nuke" },
"dna": { elem1: null, elem2: "alive_powder" },
"fire": { elem1: null, elem2: "fire_powder" },
"cold_fire": { elem1: null, elem2: "cold_fire_powder" },
}, },
stateHigh: "smoke",
tempHigh: 200,
tempLow: -200,
stateLow: "cold_powder",
stateHigh: "hot_powder",
} }
elements.gas_powder = { elements.gas_powder = {
color: "#b98ffc", color: "#b98ffc",
@ -31,17 +23,30 @@ stateHigh: "smoke",
tempHigh: 2000, tempHigh: 2000,
reactions: { reactions: {
"up_powder": { elem1: null, elem2: "up_gas_powder" }, "up_powder": { elem1: null, elem2: "up_gas_powder" },
"grenade": { elem1: null, elem2: "gas_powder_nuke" },
}, },
tempLow: -200, tempLow: -200,
stateLow: "powder", stateLow: "powder",
} }
elements.up_powder = { elements.up_powder = {
color: "#8ffcb9", color: ["#8ffcb9", "#71cac5"],
behavior: behaviors.AGPOWDER, behavior: behaviors.AGPOWDER,
category: "more_powders", category: "more_powders",
state: "solid", state: "solid",
tempLow: -200, tempLow: -200,
stateLow: "powder", stateLow: "powder",
reactions: {
"grenade": { elem1: null, elem2: "up_powder_nuke" },
},
breakInto: "up_powder_shard",
},
elements.up_powder_shard = {
color: ["#54a59b", "#408792"],
behavior: behaviors.POWDER,
category: "more_powders",
state: "solid",
tempLow: -200,
stateLow: "up_powder",
}, },
elements.up_gas_powder = { elements.up_gas_powder = {
color: ["#a2c5da", "#a0a7d8"], color: ["#a2c5da", "#a0a7d8"],
@ -68,6 +73,7 @@ tempHigh: 2000,
reactions: { reactions: {
"gas_powder": { elem1: null, elem2: "slow_gas_powder" }, "gas_powder": { elem1: null, elem2: "slow_gas_powder" },
"up_powder": { elem1: null, elem2: "slow_up_powder" }, "up_powder": { elem1: null, elem2: "slow_up_powder" },
"grenade": { elem1: null, elem2: "slow_powder_nuke" },
}, },
tempLow: -200, tempLow: -200,
stateLow: "powder", stateLow: "powder",
@ -142,20 +148,11 @@ elements.sticky_powder = {
stateLow: "frozen_foam_powder", stateLow: "frozen_foam_powder",
hidden: true hidden: true
} }
elements.frozen_foam_powder = {
color: ["#c0eded", "#a7cfba"],
behavior: behaviors.POWDER,
category: "more_powders",
state: "gas",
tempHigh: 1000,
stateHigh: "foam_powder",
hidden: true
}
elements.electric_powder = { elements.electric_powder = {
color: ["#eae463", "#f9fc45"], color: ["#eae463", "#f9fc45"],
behavior: [ behavior: [
"SH|SH|SH", "SH|SH|SH",
"SH|XX|SH", "SH|LB:electric%5|SH",
"SH AND M2|SH AND M1|SH AND M2", "SH AND M2|SH AND M1|SH AND M2",
], ],
category: "more_powders", category: "more_powders",
@ -168,34 +165,6 @@ elements.sticky_powder = {
stateLow: "powder", stateLow: "powder",
hidden: true hidden: true
} }
elements.hot_powder = {
color: ["#8a3b87", "#d43a3a", "#d43a3a"],
behavior:[
"HT|HT|HT",
"HT|XX|HT",
"HT AND M2|HT AND M1|HT AND M2",
],
category: "more_powders",
state: "solid",
tempLow: -200,
stateLow: "cold_powder",
temp: 200,
hidden: true
}
elements.cold_powder = {
color: ["#8a3b87", "#3f3cd4", "#3f3cd4"],
behavior:[
"CO|CO|CO",
"CO|XX|CO",
"CO AND M2|CO AND M1|CO AND M2",
],
category: "more_powders",
state: "solid",
tempHigh: 400,
stateHigh: "hot_powder",
temp: -200,
hidden: true
}
elements.void_powder = { elements.void_powder = {
color: "#303031", color: "#303031",
category: "more_powders", category: "more_powders",
@ -207,3 +176,160 @@ elements.sticky_powder = {
"DL AND M2|DL AND M1|DL AND M2", "DL AND M2|DL AND M1|DL AND M2",
] ]
} }
elements.powder_nuke = {
color: "#46745d",
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|M1 AND EX:25>powder|XX",
],
category: "more_powders",
state: "solid",
hidden:true,
excludeRandom: true
}
elements.gas_powder_nuke = {
color: "#406a6a",
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"XX|M1 AND EX:25>gas_powder|XX",
],
category: "more_powders",
state: "gas",
hidden:true,
excludeRandom: true
}
elements.up_powder_nuke = {
color: "#688686",
behavior: [
"XX|M1 AND EX:25>up_powder|XX",
"XX|XX|XX",
"XX|XX|XX",
],
category: "more_powders",
state: "solid",
hidden:true,
excludeRandom: true
}
elements.slow_powder_nuke = {
color: "#746262",
behavior: [
"XX|XX|XX",
"XX|XX|XX",
"M1%20|M1%20 AND EX:22>slow_powder|M1%20",
],
category: "more_powders",
state: "solid",
hidden:true,
excludeRandom: true
}
elements.rainbow_powder = {
color: ["#ff0000","#ff8800","#ffff00","#00ff00","#00ffff","#0000ff","#ff00ff"],
tick: function(pixel) {
var t = pixelTicks+pixel.x+pixel.y;
var r = Math.floor(127*(1-Math.cos(t*Math.PI/90)));
var g = Math.floor(127*(1-Math.cos(t*Math.PI/90+2*Math.PI/3)));
var b = Math.floor(127*(1-Math.cos(t*Math.PI/90+4*Math.PI/3)));
pixel.color = "rgb("+r+","+g+","+b+")";
},
behavior: behaviors.POWDER,
category: "more_powders",
state: "solid",
breakInto: "static",
}
elements.alive_powder = {
color: ["#f74177", "#f78177"],
behavior: behaviors.CRAWLER,
category: "more_powders",
state: "solid",
stateHigh: "smoke",
tempHigh: 100,
tempLow: -250,
stateLow: "frozen_meat",
stateHigh: "cooked_powder",
}
elements.cooked_powder = {
color: ["#b53811", "#b54211"],
behavior: behaviors.POWDER,
category: "more_powders",
state: "solid",
stateHigh: "smoke",
tempHigh: 400,
tempLow: -250,
stateLow: "frozen_meat",
stateHigh: "smoke",
}
elements.fire_powder = {
color: ["#c07d5d", "#c23000", "#c0521b"],
behavior: [
"XX|CR:fire%2|XX",
"XX|LB:fire%4|XX",
"M2|M1|M2",
],
category: "more_powders",
state: "solid",
density: 997,
conduct: 0.02,
stain: -0.5,
temp:218,
tempLow: -250,
stateLow: "coldfire_powder",
}
elements.coldfire_powder = {
color: ["#004fbd", "#138fb9", "#00b8b1"],
behavior: [
"XX|CR:cold_fire%2|XX",
"XX|LB:cold_fire%4|XX",
"M2|M1|M2",
],
category: "more_powders",
state: "solid",
density: 997,
conduct: 0.02,
stain: -0.5,
temp:-104,
tempHigh: 250,
stateHigh: "fire_powder",
}
elements.left_powder = {
color: "#645bb0",
behavior:[
"M2|XX|XX",
"M1|XX|XX",
"M2|XX|XX",
],
category: "more_powders",
state: "solid",
}
elements.right_powder = {
color: "#b95b5b",
behavior:[
"XX|XX|M2",
"XX|XX|M1",
"XX|XX|M2",
],
category: "more_powders",
state: "solid",
}
elements.color_powder = {
color: ["#6b2e2e","#6b4f2e","#6b6b2e","#2e6b2e","#2e6b6b","#2e2e6b","#6b2e6b"],
behavior: behaviors.POWDER,
category: "more_powders",
state: "solid",
density: 1.977,
customColor: true
}
worldgentypes.powder_world = {
layers: [
[0.95, "sticky_powder"],
[0.50, "powder"],
[0.25, "slow_up_powder"],
[0.15, "slower_up_powder"],
],
decor: [ // [element, chance, distance from top]
["alive_powder", 0.08],
// ["alive_powder", 0.025, 10],
],
baseHeight: 0.35
}

View File

@ -1,37 +1,5 @@
elements.freeze_ray = {
color: ["#8cf9ff","#5c59ff"],
tick: function(pixel) {
var x = pixel.x;
for (var y = pixel.y; y < height; y++) {
if (outOfBounds(x, y)) {
break;
}
if (isEmpty(x, y)) {
if (Math.random() > 0.05) { continue }
createPixel("flash", x, y);
pixelMap[x][y].color = "#96b6ff";
pixelMap[x][y].temp = -257;
}
else {
if (elements[pixelMap[x][y].element].isGas) { continue }
if (elements[pixelMap[x][y].element].id === elements.heat_ray.id) { break }
pixelMap[x][y].temp -= 100;
pixelTempCheck(pixelMap[x][y]);
break;
}
}
deletePixel(pixel.x, pixel.y);
},
temp: -257,
category: "energy",
state: "gas",
excludeRandom: true,
noMix: true
};
elements.devil_ray = { elements.devil_ray = {
color: ["#ba0000","#8f0000"], color: ["#ba0000","#8f0000"],
tick: function(pixel) { tick: function(pixel) {

View File

@ -2999,9 +2999,123 @@ elements.insulated_wire = {
} }
elements.insulated_wire.desc = "Insulated wire. Only conducts to other insulated wires. Pairs with ray emitters to not make diagonal rays." elements.insulated_wire.desc = "Insulated wire. Only conducts to other insulated wires. Pairs with ray emitters to not make diagonal rays."
elements.e_pipe.desc = "Electric pipe. Only passes elements while charged." elements.e_pipe.desc = "Electric pipe. Only passes elements while charged."
elements.destructible_e_pipe.desc = elements.e_pipe.desc elements.destroyable_e_pipe.desc = elements.e_pipe.desc
elements.channel_pipe.desc = "Channel pipe. Only passes elements to pipes of the same channel." elements.channel_pipe.desc = "Channel pipe. Only passes elements to pipes of the same channel."
elements.bridge_pipe.desc = "Bridge pipe. Can pass and receive from any other type of pipe." elements.bridge_pipe.desc = "Bridge pipe. Can pass and receive from any other type of pipe."
elements.ray_emitter.desc = "Emits a ray of the specified element in the opposite direction it was shocked from." elements.ray_emitter.desc = "Emits a ray of the specified element in the opposite direction it was shocked from."
elements.specific_ray_emitter.desc = "Emits a ray of the specified element in a specific direction and a specific length." elements.specific_ray_emitter.desc = "Emits a ray of the specified element in a specific direction and a specific length."
elements.blackhole_storage.desc = "Stores elements inside of itself. Can be released by shocking it." elements.blackhole_storage.desc = "Stores elements inside of itself. Can be released by shocking it."
let pullOrPush = 1
elements.piston_ray_emitter = {
color: "#143b5f",
behavior: behaviors.WALL,
category: "machines",
movable: false,
onSelect: function(){
var ans1 = prompt("Would you like this piston to pull or push?", "pull").toLowerCase();
if (ans1 == "pull"){pullOrPush = 1}
else if (ans1 == "push"){pullOrPush = 2}
},
tick: function(pixel){
if (pixelTicks == pixel.start){
pixel.pullOrPush = pullOrPush
}
if (!pixel.cooldown){pixel.cooldown = 0}
if (pixel.cooldown < 1){
for (var i = 0; i < adjacentCoords.length; i++) {
var coord = squareCoords[i];
var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (!isEmpty(x,y, true)){
if (pixelMap[x][y].charge && (pixelMap[x][y].element == "wire" || pixelMap[x][y].element == "insulated_wire")){
pixel.cooldown = 6
var dir = [0-squareCoords[i][0], 0-squareCoords[i][1]]
var startx = pixel.x+dir[0]
var starty = pixel.y+dir[1]
var magnitude = 0
if (width > height){magnitude = width} else {magnitude = height}
var endx = startx+(magnitude*dir[0])
var endy = starty+(magnitude*dir[1])
// console.log("Direction seems to be " + dir)
var jcoords
if (pixel.pullOrPush == 1){jcoords = lineCoords(startx, starty, endx, endy, 1)}
else {jcoords = lineCoords(endx, endy, startx, starty, 1)}
// console.log(startx + " is the starting x, " + starty + " is the starting y, " + endx + " is the ending x, " + endy + " is the ending y. Result is " + jcoords)
let pCoord = jcoords[0]
for (var j = 0; j < jcoords.length; j++) {
var lcoord = jcoords[j];
var lx = lcoord[0];
var ly = lcoord[1];
if (!isEmpty(lx, ly, true)){
tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1])
}
pCoord[0] = lx;
pCoord[1] = ly;
}
}
}
}} else {pixel.cooldown -= 1}
},
insulate: true,
}
let pistonStart = 0
let pistonEnd = 0
elements.specific_piston_ray_emitter = {
color: "#517597",
behavior: behaviors.WALL,
category: "machines",
movable: false,
onSelect: function(){
var ans1 = prompt("Would you like this piston to pull or push?", "pull").toLowerCase();
if (ans1 == "pull"){pullOrPush = 1}
else if (ans1 == "push"){pullOrPush = 2}
var ans2 = parseInt(prompt("How offset should the start of the push/pulling be?", "0"))
pistonStart = ans2
var ans3 = parseInt(prompt("How offset should the end of the push/pulling be?", "20"))
pistonEnd = ans3
},
tick: function(pixel){
if (pixelTicks == pixel.start){
pixel.pullOrPush = pullOrPush
pixel.pistonStart = pistonStart
pixel.pistonEnd = pistonEnd
}
if (!pixel.cooldown){pixel.cooldown = 0}
if (pixel.cooldown < 1){
for (var i = 0; i < adjacentCoords.length; i++) {
var coord = squareCoords[i];
var x = pixel.x+coord[0];
var y = pixel.y+coord[1];
if (!isEmpty(x,y, true)){
if (pixelMap[x][y].charge && (pixelMap[x][y].element == "wire" || pixelMap[x][y].element == "insulated_wire")){
pixel.cooldown = 6
var dir = [0-squareCoords[i][0], 0-squareCoords[i][1]]
var startx = pixel.x+(dir[0]*pixel.pistonStart)
var starty = pixel.y+(dir[1]*pixel.pistonStart)
var magnitude = pixel.pistonEnd
var endx = startx+(magnitude*dir[0])
var endy = starty+(magnitude*dir[1])
// console.log("Direction seems to be " + dir)
var jcoords
if (pixel.pullOrPush == 1){jcoords = lineCoords(startx, starty, endx, endy, 1)}
else {jcoords = lineCoords(endx, endy, startx, starty, 1)}
// console.log(startx + " is the starting x, " + starty + " is the starting y, " + endx + " is the ending x, " + endy + " is the ending y. Result is " + jcoords)
let pCoord = jcoords[0]
for (var j = 0; j < jcoords.length; j++) {
var lcoord = jcoords[j];
var lx = lcoord[0];
var ly = lcoord[1];
if (!isEmpty(lx, ly, true)){
tryMove(pixelMap[lx][ly], pCoord[0], pCoord[1])
}
pCoord[0] = lx;
pCoord[1] = ly;
}
}
}
}} else {pixel.cooldown -= 1}
},
insulate: true,
}

View File

@ -1,6 +1,10 @@
/*addMod("mossstuff.js");
removeMod("pizzasstuff.js"); removeMod("pizzasstuff.js");
addMod("mossstuff.js");
reload(); reload(); */
alert("THIS MOD IS NO LONGER SUPPORTED!\nThe mod 'pizzasstuff.s' and all of its contents have been moved to mossstuff.js.\nPlease install mossstuff.js to continue getting updates.");
elements.freeze_ray = { elements.freeze_ray = {
color: ["#8cf9ff","#5c59ff"], color: ["#8cf9ff","#5c59ff"],
@ -71,6 +75,12 @@ elements.beer = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 100,
stateHigh: ["fire","steam","steam"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.root_beer = { elements.root_beer = {
@ -79,6 +89,12 @@ elements.root_beer = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
tempHigh: 100,
stateHigh: ["fire","steam","steam"],
isFood: true,
}; };
elements.fruit_slushy = { elements.fruit_slushy = {
@ -90,6 +106,12 @@ elements.fruit_slushy = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 100,
stateHigh: ["fire","steam","steam"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.mold = { elements.mold = {
@ -98,6 +120,11 @@ elements.mold = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
}; };
elements.chocolate_slushy = { elements.chocolate_slushy = {
@ -109,6 +136,12 @@ elements.chocolate_slushy = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 100,
stateHigh: ["fire","steam","steam"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.chocolate_sauce = { elements.chocolate_sauce = {
@ -118,6 +151,12 @@ elements.chocolate_sauce = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.chocolate_ice_cream = { elements.chocolate_ice_cream = {
@ -130,6 +169,7 @@ elements.chocolate_ice_cream = {
tempHigh: 15, tempHigh: 15,
stateHigh: "cream", stateHigh: "cream",
temp: 0, temp: 0,
isFood: true,
}; };
elements.fruit_ice_cream = { elements.fruit_ice_cream = {
@ -142,6 +182,7 @@ elements.fruit_ice_cream = {
tempHigh: 15, tempHigh: 15,
stateHigh: "cream", stateHigh: "cream",
temp: 0, temp: 0,
isFood: true,
}; };
elements.snow_cone = { elements.snow_cone = {
@ -154,6 +195,7 @@ elements.snow_cone = {
tempHigh: 15, tempHigh: 15,
stateHigh: "smashed_ice", stateHigh: "smashed_ice",
temp: 0, temp: 0,
isFood: true,
}; };
elements.mint_ice_cream = { elements.mint_ice_cream = {
@ -167,6 +209,7 @@ elements.mint_ice_cream = {
tempHigh: 15, tempHigh: 15,
stateHigh: "cream", stateHigh: "cream",
temp: 0, temp: 0,
isFood: true,
reactions: { reactions: {
"chocolate": { elem1: "mint_chocolate_ice_cream", elem2: null }, "chocolate": { elem1: "mint_chocolate_ice_cream", elem2: null },
} }
@ -182,6 +225,7 @@ elements.mint_chocolate_ice_cream = {
tempHigh: 15, tempHigh: 15,
stateHigh: "cream", stateHigh: "cream",
temp: 0, temp: 0,
isFood: true,
}; };
@ -193,7 +237,10 @@ elements.chocolate_yogurt = {
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempLow: 0, tempLow: 0,
stateHigh: ["fire","steam","steam"],
tempHigh: 450,
stateLow: "frozen_chocolate_yogurt", stateLow: "frozen_chocolate_yogurt",
isFood: true,
}; };
elements.fruit_yogurt = { elements.fruit_yogurt = {
@ -205,6 +252,9 @@ elements.fruit_yogurt = {
hidden: "TRUE", hidden: "TRUE",
tempLow: 0, tempLow: 0,
stateLow: "frozen_fruit_yogurt", stateLow: "frozen_fruit_yogurt",
isFood: true,
stateHigh: ["fire","steam","steam"],
tempHigh: 450,
}; };
elements.frozen_fruit_yogurt = { elements.frozen_fruit_yogurt = {
@ -218,6 +268,7 @@ elements.frozen_fruit_yogurt = {
tempHigh: 0, tempHigh: 0,
stateHigh: "fruit_yogurt", stateHigh: "fruit_yogurt",
temp: 0, temp: 0,
isFood: true,
}; };
elements.frozen_chocolate_yogurt = { elements.frozen_chocolate_yogurt = {
@ -231,6 +282,7 @@ elements.frozen_chocolate_yogurt = {
tempHigh: 0, tempHigh: 0,
stateHigh: "chocolate_yogurt", stateHigh: "chocolate_yogurt",
temp: 0, temp: 0,
isFood: true,
}; };
elements.frying_oil = { elements.frying_oil = {
@ -243,7 +295,13 @@ elements.frying_oil = {
"potato": { elem1: null, elem2: "fries" }, "potato": { elem1: null, elem2: "fries" },
"advanced_dough": { elem1: null, elem2: "churros" }, "advanced_dough": { elem1: null, elem2: "churros" },
"snow": { elem1: null, elem2: "fried_snow" }, "snow": { elem1: null, elem2: "fried_snow" },
} },
tempHigh: 350,
stateHigh: ["fire","steam","steam"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.chicken_nuggets = { elements.chicken_nuggets = {
@ -252,6 +310,12 @@ elements.chicken_nuggets = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.advanced_dough = { elements.advanced_dough = {
@ -273,6 +337,11 @@ elements.fries = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
}; };
elements.fried_snow = { elements.fried_snow = {
@ -281,6 +350,12 @@ elements.fried_snow = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.battery_acid = { elements.battery_acid = {
@ -289,6 +364,12 @@ elements.battery_acid = {
category: "machines", category: "machines",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["steam","dioxin","stench"],
burn:3,
burnTime:500,
burnInto: ["steam","dioxin","stench"],
isFood: true,
}; };
@ -298,6 +379,11 @@ elements.steampunk_pancakes = {
category: "machines", category: "machines",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
//I have no idea why i added this, but when i removed it and started the mod, the mod removed itself. Words can't explain my fucking confusion. //I have no idea why i added this, but when i removed it and started the mod, the mod removed itself. Words can't explain my fucking confusion.
}; };
@ -308,6 +394,11 @@ elements.churros = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
reactions: { reactions: {
"chocolate": { elem1: "chocolate_churros", elem2: null }, "chocolate": { elem1: "chocolate_churros", elem2: null },
"chocolate_sauce": { elem1: "chocolate_churros", elem2: null }, "chocolate_sauce": { elem1: "chocolate_churros", elem2: null },
@ -320,8 +411,27 @@ elements.chocolate_churros = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
}; };
/*elements.color_pick = {
color: ["#ff0000","#ffd100","#00ff4b","#0005ff"],
behavior: [
"CF|CF|CF",
"CF|DL%5|CF",
"CF|CF|CF",
],
category: "tools",
maxSize: 0,
darkText: true,
canPlace: false,
desc: "Use on a pixel to select its element."
};*/
elements.croissant = { elements.croissant = {
color: ["#c68028","#ad7023","#905c1b","#794d16","#674112"], color: ["#c68028","#ad7023","#905c1b","#794d16","#674112"],
behavior: behaviors.POWDER, behavior: behaviors.POWDER,
@ -361,6 +471,12 @@ elements.rose_sauce = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.seasoning = { elements.seasoning = {
@ -369,6 +485,12 @@ elements.seasoning = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.parmesan = { elements.parmesan = {
@ -376,6 +498,12 @@ elements.parmesan = {
behavior: behaviors.POWDER, behavior: behaviors.POWDER,
category: "food", category: "food",
state: "solid", state: "solid",
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.baking_powder = { elements.baking_powder = {
@ -386,6 +514,12 @@ elements.baking_powder = {
reactions: { reactions: {
"flour": { elem1: null, elem2: "advanced_dough" }, "flour": { elem1: null, elem2: "advanced_dough" },
}, },
tempHigh: 350,
stateHigh: ["fire","fire","ash"],
burn:3,
burnTime:500,
burnInto: ["fire","smoke","smoke","steam","ash"],
isFood: true,
}; };
elements.smashed_ice = { elements.smashed_ice = {
@ -687,6 +821,7 @@ elements.cherry = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: "#450008", breakIntoColor: "#450008",
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#bf4545","#982828"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#bf4545","#982828"] },
@ -701,6 +836,7 @@ elements.strawberry = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#bf0147","#c61548","#cc2857","#c62354","#c11848"], breakIntoColor: ["#bf0147","#c61548","#cc2857","#c62354","#c11848"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#a82953","#941540"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#a82953","#941540"] },
@ -715,6 +851,7 @@ elements.apple = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ffda69","#ffdb84"], breakIntoColor: ["#ffda69","#ffdb84"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4ff49","#ffec2f"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4ff49","#ffec2f"] },
@ -729,6 +866,7 @@ elements.green_apple = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ffda69","#ffdb84"], breakIntoColor: ["#ffda69","#ffdb84"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4ff49","#ffec2f"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4ff49","#ffec2f"] },
@ -744,6 +882,7 @@ elements.orange = {
breakIntoColor: ["#ffc659","#ffb646","#ffa700","#ff8d00"], breakIntoColor: ["#ffc659","#ffb646","#ffa700","#ff8d00"],
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fbd808","#ff9005"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fbd808","#ff9005"] },
} }
@ -757,6 +896,7 @@ elements.kiwi = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#a9c77e","#bad98f"], breakIntoColor: ["#a9c77e","#bad98f"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#a5d04c","#bbdc79"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#a5d04c","#bbdc79"] },
@ -771,6 +911,7 @@ elements.blueberry = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#8abeee","#8aacf4","#9591ee","#787fdb","#7c74ce"], breakIntoColor: ["#8abeee","#8aacf4","#9591ee","#787fdb","#7c74ce"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#5086c1","#5076b0"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#5086c1","#5076b0"] },
@ -785,6 +926,7 @@ elements.plum = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#bf66c9","#d499db","#eacced"], breakIntoColor: ["#bf66c9","#d499db","#eacced"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#d8b2d8","#b266b2"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#d8b2d8","#b266b2"] },
@ -799,6 +941,7 @@ elements.blackberry = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#a941a1","#ba59b2","#c570bf"], breakIntoColor: ["#a941a1","#ba59b2","#c570bf"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ba59b2","#c570bf"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ba59b2","#c570bf"] },
@ -813,6 +956,7 @@ elements.peach = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#fce5b8","#fcdab8","#fccfb8"], breakIntoColor: ["#fce5b8","#fcdab8","#fccfb8"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffe7dc","#ffdac8"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffe7dc","#ffdac8"] },
@ -827,6 +971,7 @@ elements.lemon = {
breakInto: "juice", breakInto: "juice",
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
breakIntoColor: ["#f8ff80","#f6ff6c","#f5ff57","#f3ff39","#f0ff00"], breakIntoColor: ["#f8ff80","#f6ff6c","#f5ff57","#f3ff39","#f0ff00"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffffd8","#fffecf"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffffd8","#fffecf"] },
@ -842,6 +987,7 @@ elements.green_grape = {
breakIntoColor: ["#5f8536","#7ba84a"], breakIntoColor: ["#5f8536","#7ba84a"],
tempHigh: 256, tempHigh: 256,
stateHigh: "steam", stateHigh: "steam",
isFood: true,
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ecffdc","#c3ffa8"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ecffdc","#c3ffa8"] },
} }
@ -852,6 +998,9 @@ elements.banana = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: "#f0f060", breakIntoColor: "#f0f060",
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fdf8d6","#f9efa6"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fdf8d6","#f9efa6"] },
@ -864,6 +1013,9 @@ elements.blood_orange = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ff4600","#ff8353"], breakIntoColor: ["#ff4600","#ff8353"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffc7b4","#ffa485"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffc7b4","#ffa485"] },
@ -876,6 +1028,9 @@ elements.canary_melon = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ffff9e","#fffcaa"], breakIntoColor: ["#ffff9e","#fffcaa"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#e5ffb3","#ecff9c"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#e5ffb3","#ecff9c"] },
@ -888,6 +1043,9 @@ elements.honeydew_melon = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#e9ffa3","#f9ffa3"], breakIntoColor: ["#e9ffa3","#f9ffa3"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#e8ffc9","#e8ffc8"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#e8ffc9","#e8ffc8"] },
@ -900,6 +1058,9 @@ elements.cranberry = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "sauce", breakInto: "sauce",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ba4242","#7a1717"], breakIntoColor: ["#ba4242","#7a1717"],
reactions: { reactions: {
"soda": { elem1: null, elem2: "sprite_cranberry" }, "soda": { elem1: null, elem2: "sprite_cranberry" },
@ -913,6 +1074,9 @@ elements.pitaya = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ff84ae","#ffafca"], breakIntoColor: ["#ff84ae","#ffafca"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd4e3","#ffafca"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd4e3","#ffafca"] },
@ -925,6 +1089,9 @@ elements.coconut = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "milk", breakInto: "milk",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#f7e5d8","#fdefe5","#fff7f1"], breakIntoColor: ["#f7e5d8","#fdefe5","#fff7f1"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fff2db","#ffefd4"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fff2db","#ffefd4"] },
@ -937,6 +1104,9 @@ elements.cloudberry = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ffe1c7","#fff9f3"], breakIntoColor: ["#ffe1c7","#fff9f3"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd7ab","#ffcb93"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd7ab","#ffcb93"] },
@ -949,6 +1119,9 @@ elements.crabapple = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ff8fcf","#ffb2de"], breakIntoColor: ["#ff8fcf","#ffb2de"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd2ec","#ffb2de"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffd2ec","#ffb2de"] },
@ -961,6 +1134,9 @@ elements.cactus_fruit = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#75d802","#72d202"], breakIntoColor: ["#75d802","#72d202"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#bbffc1","#84ff90"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#bbffc1","#84ff90"] },
@ -973,6 +1149,9 @@ elements.pear = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#c8e39e","#99cc99"], breakIntoColor: ["#c8e39e","#99cc99"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#c3ff9c","#bcff92"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#c3ff9c","#bcff92"] },
@ -985,6 +1164,9 @@ elements.purpleberry = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#c08cc3","#e49cc2"], breakIntoColor: ["#c08cc3","#e49cc2"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fee6e4","#fbc3c4"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fee6e4","#fbc3c4"] },
@ -997,6 +1179,9 @@ elements.yellowberry = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#fffec8","#fffdaf"], breakIntoColor: ["#fffec8","#fffdaf"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fffec8","#fffdaf"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fffec8","#fffdaf"] },
@ -1009,6 +1194,9 @@ elements.pomegranate = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ee717f","#e94254"], breakIntoColor: ["#ee717f","#e94254"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4a1a9","#ee717f"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f4a1a9","#ee717f"] },
@ -1021,6 +1209,9 @@ elements.guava = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ff5a76","#ff8fa2"], breakIntoColor: ["#ff5a76","#ff8fa2"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f6c8cd","#f2acb5"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f6c8cd","#f2acb5"] },
@ -1033,6 +1224,9 @@ elements.raspberry = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#f23a72","#fb79a0"], breakIntoColor: ["#f23a72","#fb79a0"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffb1f4","#ff91ce"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffb1f4","#ff91ce"] },
@ -1045,6 +1239,9 @@ elements.gooseberry = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#8b0031","#920436"], breakIntoColor: ["#8b0031","#920436"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f1ffdb","#e3ffb7"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#f1ffdb","#e3ffb7"] },
@ -1057,6 +1254,9 @@ elements.fig = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ff4a4a","#ea3838"], breakIntoColor: ["#ff4a4a","#ea3838"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ff8d8d","#ffabab"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ff8d8d","#ffabab"] },
@ -1069,6 +1269,9 @@ elements.durian = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#faffaf","#fbffbf"], breakIntoColor: ["#faffaf","#fbffbf"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#feffe7","#f9ffb3"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#feffe7","#f9ffb3"] },
@ -1081,6 +1284,9 @@ elements.passionfruit = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ffdede","#ffe4e4"], breakIntoColor: ["#ffdede","#ffe4e4"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#d8adce","#c485b6"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#d8adce","#c485b6"] },
@ -1093,6 +1299,9 @@ elements.starfruit = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#f2d553","#f5dd75"], breakIntoColor: ["#f2d553","#f5dd75"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#faeeba","#f7e698"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#faeeba","#f7e698"] },
@ -1105,6 +1314,9 @@ elements.rambutan = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#faffaf","#fbffbf"], breakIntoColor: ["#faffaf","#fbffbf"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fde0e0","#f4c1c1"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fde0e0","#f4c1c1"] },
@ -1117,6 +1329,9 @@ elements.nance = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ffff66","#ffff99"], breakIntoColor: ["#ffff66","#ffff99"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fffee0","#fffec8"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#fffee0","#fffec8"] },
@ -1129,6 +1344,9 @@ elements.nectarine = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ffbd8b","#ffdbc0"], breakIntoColor: ["#ffbd8b","#ffdbc0"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffc3ad","#ffa584"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#ffc3ad","#ffa584"] },
@ -1141,6 +1359,9 @@ elements.loganberry = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ff8f8f","#ffb7b7"], breakIntoColor: ["#ff8f8f","#ffb7b7"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#9c91a5","#bdb5c3"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#9c91a5","#bdb5c3"] },
@ -1153,6 +1374,9 @@ elements.currant = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#ff878f","#ffbcc0"], breakIntoColor: ["#ff878f","#ffbcc0"],
reactions: { reactions: {
"sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#cc6b69","#bb3a37"] }, "sugar": { elem1: "jelly", elem2: null, tempMin: 100, color1: ["#cc6b69","#bb3a37"] },
@ -1175,6 +1399,9 @@ elements.mint = {
behavior: behaviors.STURDYPOWDER, behavior: behaviors.STURDYPOWDER,
category: "food", category: "food",
state: "solid", state: "solid",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
reactions: { reactions: {
"cream": { elem1: null, elem2: "toorhpaste" }, "cream": { elem1: null, elem2: "toorhpaste" },
"ice_cream": { elem1: null, elem2: "mint_ice_cream" }, "ice_cream": { elem1: null, elem2: "mint_ice_cream" },
@ -1187,6 +1414,9 @@ elements.broccoli = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#00b215","#0b8500"], breakIntoColor: ["#00b215","#0b8500"],
}; };
@ -1217,6 +1447,9 @@ elements.hot_pepper = {
behavior: behaviors.POWDER, behavior: behaviors.POWDER,
category: "food", category: "food",
state: "solid", state: "solid",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
reactions: { reactions: {
"sauce": { elem1: null, elem2: "hot_sauce" }, "sauce": { elem1: null, elem2: "hot_sauce" },
} }
@ -1236,6 +1469,9 @@ elements.squash = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#efbe79","#ffd599"], breakIntoColor: ["#efbe79","#ffd599"],
}; };
@ -1245,6 +1481,9 @@ elements.zuchinni = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
breakIntoColor: ["#80a568","#a3c88c"], breakIntoColor: ["#80a568","#a3c88c"],
}; };
@ -1254,6 +1493,9 @@ elements.olive = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "olive_oil", breakInto: "olive_oil",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.eggplant = { elements.eggplant = {
@ -1263,6 +1505,9 @@ elements.eggplant = {
state: "solid", state: "solid",
breakInto: "juice", breakInto: "juice",
breakIntoColor: ["#674ea7","#351c75"], breakIntoColor: ["#674ea7","#351c75"],
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.onion = { elements.onion = {
@ -1276,6 +1521,9 @@ elements.onion = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: ["stench", null, null, null, null], breakInto: ["stench", null, null, null, null],
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.cinnamon = { elements.cinnamon = {
@ -1283,6 +1531,9 @@ elements.cinnamon = {
behavior: behaviors.STURDYPOWDER, behavior: behaviors.STURDYPOWDER,
category: "food", category: "food",
state: "solid", state: "solid",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.garlic = { elements.garlic = {
@ -1291,6 +1542,9 @@ elements.garlic = {
category: "food", category: "food",
state: "solid", state: "solid",
breakInto: "garlic_clove", breakInto: "garlic_clove",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.garlic_clove = { elements.garlic_clove = {
@ -1299,6 +1553,9 @@ elements.garlic_clove = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.carrot = { elements.carrot = {
@ -1312,6 +1569,9 @@ elements.carrot = {
burnTime: 300, burnTime: 300,
breakInto: "juice", breakInto: "juice",
breakIntoColor: "#f1b956", breakIntoColor: "#f1b956",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.asparagus = { elements.asparagus = {
@ -1327,6 +1587,9 @@ elements.asparagus = {
burnTime: 300, burnTime: 300,
breakInto: "juice", breakInto: "juice",
breakIntoColor: "#c9ddbb", breakIntoColor: "#c9ddbb",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.roasted_asparagus = { elements.roasted_asparagus = {
@ -1343,6 +1606,9 @@ elements.roasted_asparagus = {
burnInto: "ash", burnInto: "ash",
burn: 20, burn: 20,
burnTime: 300, burnTime: 300,
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.oreo = { elements.oreo = {
@ -1350,6 +1616,9 @@ elements.oreo = {
behavior: behaviors.STURDYPOWDER, behavior: behaviors.STURDYPOWDER,
category: "food", category: "food",
state: "solid", state: "solid",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
reactions: { reactions: {
"toorhpaste": { elem1: "poison_oreo", elem2: null }, "toorhpaste": { elem1: "poison_oreo", elem2: null },
} }
@ -1361,6 +1630,9 @@ elements.poison_oreo = {
category: "food", category: "food",
state: "solid", state: "solid",
hidden: "TRUE", hidden: "TRUE",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.sprinkles = { elements.sprinkles = {
@ -1368,6 +1640,9 @@ elements.sprinkles = {
behavior: behaviors.POWDER, behavior: behaviors.POWDER,
category: "food", category: "food",
state: "solid", state: "solid",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.whipped_cream = { elements.whipped_cream = {
@ -1378,9 +1653,7 @@ elements.whipped_cream = {
hidden: "TRUE", hidden: "TRUE",
tempHigh: 130, tempHigh: 130,
stateHigh: "steam", stateHigh: "steam",
reactions: { isFood: true,
"coffee": { elem1: null, elem2: "cream_coffee" },
}
}; };
elements.olive_oil = { elements.olive_oil = {
@ -1391,18 +1664,9 @@ elements.olive_oil = {
state: "liquid", state: "liquid",
burn: 10, burn: 10,
burnTime: 300, burnTime: 300,
}; tempHigh: 256,
stateHigh: "steam",
elements.cream_coffee = { isFood: true,
color: ["#dbc1ac","#967259","#634832"],
behavior: behaviors.LIQUID,
category: "food",
state: "solid",
hidden: "TRUE",
tempLow: 0,
stateLow: "coffee_ice",
tempHigh: 130,
stateHigh: ["steam","fragrance"],
}; };
elements.seafoam = { elements.seafoam = {
@ -1417,6 +1681,9 @@ elements.pipis = {
behavior: behaviors.POWDER, behavior: behaviors.POWDER,
category: "life", category: "life",
state: "solid", state: "solid",
tempHigh: 256,
stateHigh: "steam",
isFood: true,
}; };
elements.frog_bomb = { elements.frog_bomb = {
@ -1490,6 +1757,39 @@ elements.holy_hand_grenade = {
cooldown: defaultCooldown cooldown: defaultCooldown
}, },
elements.unholy_feet_bomb = {
color: ["#661a0e","#6b1f13","#803226"],
behavior: [
"XX|EX:20>curse,fire%1|XX",
"XX|XX|XX",
"M2|M1 AND EX:20>curse,fire%1|M2",
],
category: "weapons",
state: "solid",
density: 1300,
tempHigh: 1455.5,
stateHigh: "curse",
excludeRandom: true,
cooldown: defaultCooldown,
},
//for(i = 1, i++, i>10){
//}
/*
for (let i = 0; i < 100; i++) {
if(unholy_feet_bomb.hidden == false) {
if(curse.hidden == false) {
if(holy_hand_grenade.hidden == false) {
unholy_feet_bomb.hidden = false;
}
}
}
i = 0;
}
*/
elements.chocolate_fountain = { elements.chocolate_fountain = {
color: "#3e1d07", color: "#3e1d07",
behavior: [ behavior: [
@ -1700,6 +2000,7 @@ elements.slushy_ice = {
state: "solid", state: "solid",
density: 917, density: 917,
breakInto: "smashed_ice", breakInto: "smashed_ice",
isFood: true,
}; };
elements.toorhpaste = { elements.toorhpaste = {
@ -1709,7 +2010,10 @@ elements.toorhpaste = {
state: "solid", state: "solid",
reactions: { reactions: {
"juice": { elem1: "poison", elem2: null }, "juice": { elem1: "poison", elem2: null },
} },
tempHigh: 170,
stateHigh: "steam",
isFood: true,
}; };
if (!elements.lettuce.reactions) elements.lettuce.reactions = {}; if (!elements.lettuce.reactions) elements.lettuce.reactions = {};

307
mods/prideflags.js Normal file
View File

@ -0,0 +1,307 @@
let prideTextures = {
ace: [
"b",
"b",
"g",
"g",
"w",
"w",
"p",
"p"
],
aro: [
"d",
"d",
"j",
"j",
"w",
"w",
"g",
"g",
"b",
"b"
],
aroace: [
"o",
"o",
"y",
"y",
"w",
"w",
"c",
"c",
"b",
"b"
],
mlm: [
"t",
"t",
"T",
"T",
"b",
"b",
"w",
"w",
"B",
"B",
"c",
"c",
"C",
"C"
],
lesbian: [
"o",
"o",
"y",
"y",
"w",
"w",
"p",
"p",
"m",
"m"
],
trans: [
"b",
"b",
"p",
"p",
"w",
"w",
"p",
"p",
"b",
"b"
],
transfem: [
"b",
"b",
"p",
"p",
"P",
"P",
"m",
"m",
"P",
"P",
"p",
"p",
"b",
"b"
],
transmasc: [
"p",
"b",
"b",
"B",
"B",
"c",
"c",
"B",
"B",
"b",
"b",
"p",
"p"
],
nonbinary: [
"y",
"y",
"w",
"w",
"p",
"p",
"b",
"b"
],
genderfluid: [
"p",
"p",
"w",
"w",
"u",
"u",
"b",
"b",
"B",
"B"
],
agender: [
"b",
"b",
"g",
"g",
"w",
"w",
"G",
"G",
"w",
"w",
"g",
"g",
"b",
"b"
],
demi: [
"g",
"g",
"l",
"l",
"p",
"p",
"w",
"w",
"p",
"p",
"l",
"l",
"g",
"g"
]
}
elements.aro_flag = {
colorPattern: prideTextures.aro,
colorKey: {
"d": "#3da542",
"j": "#a7d479",
"w": "#ffffff",
"g": "#a9a9a9",
"b": "#000000"
},
category: "pride",
}
elements.ace_flag = {
colorPattern: prideTextures.ace,
colorKey: {
"b": "#000000",
"g": "#a3a3a3",
"w": "#ffffff",
"p": "#800080",
},
category: "pride",
}
elements.gay_flag = {
colorPattern: prideTextures.mlm,
colorKey: {
t: "#078D70",
T: "#26CEAA",
b: "#98E8C1",
w: "#ffffff",
B: "#7BADE2",
c: "#5049CC",
C: "#3D1A78"
},
category: "pride",
}
elements.lesbian_flag = {
colorPattern: prideTextures.lesbian,
colorKey: {
o: "#D52D00",
y: "#FF9A56",
w: "#FFFFFF",
p: "#D162A4",
m: "#A30262",
},
category: "pride",
}
elements.aroace_flag = {
colorPattern: prideTextures.aroace,
colorKey: {
o: "#ef9007",
y: "#f6d317",
w: "#ffffff",
c: "#45bcee",
b: "#1e3f54"
},
category: "pride",
}
elements.trans_flag = {
colorPattern: prideTextures.trans,
colorKey: {
b: "#5BCEFA",
p: "#F5A9B8",
w: "#FFFFFF",
},
category: "pride",
}
elements.transfem_flag = {
colorPattern: prideTextures.transfem,
colorKey: {
b: "#74deff",
p: "#ffe1ed",
P: "#ffb5d6",
m: "#ff8cbf"
},
category: "pride",
}
elements.transmasc_flag = {
colorPattern: prideTextures.transmasc,
colorKey: {
p: "#FF8ABD",
b: "#CDF5FE",
B: "#9AEBFF",
c: "#74DFFF",
},
category: "pride",
}
elements.nonbinary_flag = {
colorPattern: prideTextures.nonbinary,
colorKey: {
y: "#FCF434",
w: "#FFFFFF",
p: "#9C59D1",
b: "#000000"
},
category: "pride",
}
elements.genderfluid_flag = {
colorPattern: prideTextures.genderfluid,
colorKey: {
p: "#FF76A4",
w: "#FFFFFF",
u: "#C011D7",
b: "#000000",
B: "#2F3CBE"
},
category: "pride",
}
elements.agender_flag = {
colorPattern: prideTextures.agender,
colorKey: {
b: "#000000",
g: "#BCC4C7",
w: "#FFFFFF",
G: "#B7F684"
},
category: "pride",
}
elements.demigirl_flag = {
colorPattern: prideTextures.demi,
colorKey: {
g: "#7F7F7F",
l: "#C4C4C4",
p: "#FDADC8",
w: "#FFFFFF"
},
category: "pride",
}
elements.demiboy_flag = {
colorPattern: prideTextures.demi,
colorKey: {
g: "#7F7F7F",
l: "#C4C4C4",
p: "#9DD7EA",
w: "#FFFFFF"
},
category: "pride",
}
elements.demigender_flag = {
colorPattern: prideTextures.demi,
colorKey: {
g: "#7F7F7F",
l: "#C4C4C4",
p: "#FBFF75",
w: "#FFFFFF"
},
category: "pride",
}

View File

@ -2,6 +2,10 @@
// a sandboxels mod that adds pullers // a sandboxels mod that adds pullers
/* /*
==CHANGELOG== ==CHANGELOG==
Version 2.0.1
@voidapex11
~fixed name of mods category
Version 2.0.0 Version 2.0.0
@voidapex11 @voidapex11
~set max size of the mod description to 1 ~set max size of the mod description to 1
@ -47,7 +51,7 @@ pullerColour = '#e0adb6'
elements.pullersDesc = { elements.pullersDesc = {
color: pullerColour, color: pullerColour,
name: 'pullers.js', name: 'pullers.js',
category: "mods", category: "Mods",
behavior: behaviors.SELFDELETE, behavior: behaviors.SELFDELETE,
tool: function(pixel) {}, tool: function(pixel) {},
onSelect: function(pixel) { onSelect: function(pixel) {

46
mods/subspace.js Normal file
View File

@ -0,0 +1,46 @@
function playSubspace(file) {
var audio = new Audio("https://JustAGenericUsername.github.io/" + file + ".mp3");
audio.play();
}
elements.subspace_trimpine = {
color: "#2e2430",
behavior: behaviors.STURDYPOWDER,
maxSize: 1,
cooldown: defaultCooldown,
density: 1500,
category: "weapons",
state: "solid",
properties:{
counter: 0
},
tick: function(pixel){
if (pixel.counter == 0){
playSubspace("subspaceplace")
}
if (!pixel.rgb){pixel.rgb = pixel.color.match(/\d+/g);}
if (pixel.counter >= 90 && pixel.counter < 121){
if (!pixel.a){pixel.a = 1}
pixel.a -= 0.05
pixel.color = "rgba(" + pixel.rgb[0] + "," + pixel.rgb[1] + "," + pixel.rgb[2] + "," + pixel.a + ")"
}
if (pixel.counter >= 121){
if (!isEmpty(pixel.x, pixel.y-1, true)){
let oldx = pixel.x
let oldy = pixel.y
explodeAt(pixel.x, pixel.y, 20)
playSubspace("subspaceboom")
deletePixel(pixel.x, pixel.y)
var coords = circleCoords(oldx, oldy, 25)
for (var i = 0; i < coords.length; i++){
var x = coords[i].x
var y = coords[i].y
if (!isEmpty(x, y, true)){
var newPixel = pixelMap[x][y]
newPixel.color = pixelColorPick(pixel, "#FF00FF")
}
}
}
}
pixel.counter ++
}
}