From 7a57cb6c382edb760bac0ec188fea9f6b60a2de1 Mon Sep 17 00:00:00 2001 From: ThePython Date: Sat, 20 May 2023 17:10:21 -0700 Subject: [PATCH] Added "Why" and changelog --- changelog.txt | 6 ++++ energy.lua | 78 +++++++++++++++++++++++++++++++++++++++++++++++++-- mod.conf | 2 +- 3 files changed, 82 insertions(+), 4 deletions(-) create mode 100644 changelog.txt diff --git a/changelog.txt b/changelog.txt new file mode 100644 index 0000000..715deea --- /dev/null +++ b/changelog.txt @@ -0,0 +1,6 @@ +1.0.0 + Initial release +2.0 + Added a changelog + Changed version numbers from x.x.x to x.x. + Added all items from Why \ No newline at end of file diff --git a/energy.lua b/energy.lua index c2c5f4a..3b6ab3c 100644 --- a/energy.lua +++ b/energy.lua @@ -1093,6 +1093,77 @@ exchangeclone.mcl_energy_values = { stair_quartzblock = 256*3, stair_redsandstone = 2*3, stair_sandstone = 2*3, + }, + ["meat_blocks"] = { + sausage = 64, + cooked_sausage = 64, + burnt_sausage = 64, + burnt_porkchop = 64, + burnt_beef = 64, + burnt_chicken = 48, + burnt_rabbit = 40, + burnt_mutton = 48, + burnt_fish = 40, + burnt_salmon = 48, + raw_block_sausage = 576, + raw_block_porkchop = 576, + raw_block_beef = 576, + raw_block_chicken = 432, + raw_block_mutton = 432, + raw_block_salmon = 432, + raw_block_rabbit = 360, + raw_block_fish = 360, + cooked_block_sausage = 576, + cooked_block_porkchop = 576, + cooked_block_beef = 576, + cooked_block_chicken = 432, + cooked_block_mutton = 432, + cooked_block_salmon = 432, + cooked_block_rabbit = 360, + cooked_block_fish = 360, + burnt_block_sausage = 576, + burnt_block_porkchop = 576, + burnt_block_beef = 576, + burnt_block_chicken = 432, + burnt_block_mutton = 432, + burnt_block_salmon = 432, + burnt_block_rabbit = 360, + burnt_block_fish = 360, + }, + ["sound_machine"] = { + sound_machine = 681, + portable_sound_machine = 681, + }, + ["fake_liquids"] = { + solid_water_source = 4, + solid_useless_bean_liquid_source = 0, + solid_glue_source = 12, + solid_river_water_source = 4, + solid_fake_lava_source = 68, + solid_lava_source = 131, + solid_fake_water_source = 195, + bucket_fake_lava = 833, + bucket_fake_water = 960, + }, + ["sticky_things"] = { + bucket_glue = 797, + glue_source = 0, + glue_flowing = 0, + sticky_block = 100, + }, + ["ghost_blocks"] = { + ghostifier = 4104, + }, + ["lava_sponge"] = { + lava_sponge = 1032, + lava_sponge_wet = 1160, + }, + ["slime_things"] = { + pressure_plate_slimeblock_off = 432, + button_slimeblock_off = 24, + }, + ["small_why_things"] = { + craftable_barrier = 72, } } @@ -1140,9 +1211,10 @@ exchangeclone.mcl_group_values = { {"bark", 43}, {"glass", 2}, --undyed glass is 1 {"huge_mushroom", 0}, --if you want energy, break it into mushrooms; doesn't always drop. - {"NO_GROUP", 1}, {"carpet", 32}, - {"spawn_egg", 0} + {"spawn_egg", 0}, + {"useless", 0}, + {"NO_GROUP", 1}, } exchangeclone.mcl_potion_data = { @@ -1210,7 +1282,7 @@ function exchangeclone.set_item_energy(itemstring, energy_value) local _, _, mod_name, item_name = itemstring:find("([%d_%l]+):([%d_%l]+)") if not (item_name and mod_name) then return end if mod_name == "ghost_blocks" then - energy_value = 1 + energy_value = 0 --I don't know what to do about ghost blocks. end if exchangeclone.mineclone then if exchangeclone.mcl_energy_values[mod_name] then diff --git a/mod.conf b/mod.conf index 46c6a05..8f69d1c 100644 --- a/mod.conf +++ b/mod.conf @@ -2,5 +2,5 @@ name = exchangeclone title = ExchangeClone description = Exchange nodes into other nodes min_minetest_version = 5.5 -optional_depends = mcl_core, default, moreswords, mcl_stairs, pipeworks +optional_depends = mcl_core, default, moreswords, mcl_stairs, pipeworks, meat_blocks, ghost_blocks, sticky_things, fake_liquids, sound_machine author = ThePython10110 \ No newline at end of file