From efad7dad243f6c21b6d3a1ba7bf0a0ee604b5a05 Mon Sep 17 00:00:00 2001 From: cora Date: Tue, 5 Jul 2022 11:18:09 +0200 Subject: [PATCH] clean up --- mods/ITEMS/mcl_core/functions.lua | 34 +++++++++--------- .../mcl_core_crying_obsidian_tear.png | Bin 378 -> 308 bytes 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/mods/ITEMS/mcl_core/functions.lua b/mods/ITEMS/mcl_core/functions.lua index a3b693316..c56ae51c3 100644 --- a/mods/ITEMS/mcl_core/functions.lua +++ b/mods/ITEMS/mcl_core/functions.lua @@ -1702,7 +1702,7 @@ end -- Obsidian crying -local psdef = { +local crobby_psdef = { amount = 1, time = 0.9, --everything longer than 1 is a coord exploit minvel = vector.new(0,-2,0), @@ -1719,7 +1719,7 @@ local psdef = { vertical = true, texture = "mcl_core_crying_obsidian_tear.png", } -local psdef2 = { +local crobby_psdef2 = { amount = 1, time = 0.9, --everything longer than 1 is a coord exploit minvel = vector.new(0,-0.01,0), @@ -1744,21 +1744,21 @@ minetest.register_abm({ chance = 10, action = function(pos, node) minetest.after(math.random(0.1,1.5),function() - psdef.minpos = vector.offset(pos,-0.6,-0.51,-0.6) - psdef.maxpos = vector.offset(pos,0.6,0.51,0.6) - minetest.add_particlespawner(psdef) - psdef2.minpos = vector.offset(pos,-0.55,-0.51,-0.55) - psdef2.maxpos = vector.offset(pos,-0.5,0.51,-0.5) - minetest.add_particlespawner(psdef2) - psdef2.minpos = vector.offset(pos,0.55,-0.51,-0.55) - psdef2.maxpos = vector.offset(pos,0.5,0.51,-0.5) - minetest.add_particlespawner(psdef2) - psdef2.minpos = vector.offset(pos,0.55,-0.51,0.55) - psdef2.maxpos = vector.offset(pos,0.5,0.51,0.5) - minetest.add_particlespawner(psdef2) - psdef2.minpos = vector.offset(pos,-0.55,-0.51,0.55) - psdef2.maxpos = vector.offset(pos,-0.5,0.51,0.5) - minetest.add_particlespawner(psdef2) + crobby_psdef.minpos = vector.offset(pos,-0.6,-0.51,-0.6) + crobby_psdef.maxpos = vector.offset(pos,0.6,0.51,0.6) + minetest.add_particlespawner(crobby_psdef) + crobby_psdef2.minpos = vector.offset(pos,-0.51,-0.51,-0.51) + crobby_psdef2.maxpos = vector.offset(pos,-0.5,0.51,-0.5) + minetest.add_particlespawner(crobby_psdef2) + crobby_psdef2.minpos = vector.offset(pos,0.51,-0.51,-0.51) + crobby_psdef2.maxpos = vector.offset(pos,0.5,0.51,-0.5) + minetest.add_particlespawner(crobby_psdef2) + crobby_psdef2.minpos = vector.offset(pos,0.51,-0.51,0.51) + crobby_psdef2.maxpos = vector.offset(pos,0.5,0.51,0.5) + minetest.add_particlespawner(crobby_psdef2) + crobby_psdef2.minpos = vector.offset(pos,-0.51,-0.51,0.51) + crobby_psdef2.maxpos = vector.offset(pos,-0.5,0.51,0.5) + minetest.add_particlespawner(crobby_psdef2) end) end diff --git a/mods/ITEMS/mcl_core/textures/mcl_core_crying_obsidian_tear.png b/mods/ITEMS/mcl_core/textures/mcl_core_crying_obsidian_tear.png index e37f9cd68ac922dab5e03d0d2cf16b7067e5a57c..eb3fc2cb5cd6aba9671168b8b1ff3c8f2fd421b2 100644 GIT binary patch delta 172 zcmeyxw1sKHg!+C@7sn8b)5!@7Oi!eqII4aAh=ImIrZ(39;s!cD{ClE!^nH?Me38GY z;FQ>C$}`WvM$^qa#prO#nl^*P&38Kvt`JxI*7lG$MsBuZL~KFN!yCzlY=(;tbqo4S zbP0l+XkKD#A%V delta 242 zcmVb?-gi$AfzZe}-c!78I(Y8u|jU2)N@UCszf90!T># z)Y=9UASOm40jQ`nvK<(Q9!^PBPHqRZv^TxQ8nU#(10W(A5Nm