From f7bdf7481c702da2e0e2f8df7c591d176ba7b040 Mon Sep 17 00:00:00 2001 From: PrairieWind Date: Mon, 27 Mar 2023 11:02:51 -0600 Subject: [PATCH] Update ruined portal loot table --- mods/MAPGEN/mcl_structures/ruined_portal.lua | 45 +++++++++++++++----- 1 file changed, 35 insertions(+), 10 deletions(-) diff --git a/mods/MAPGEN/mcl_structures/ruined_portal.lua b/mods/MAPGEN/mcl_structures/ruined_portal.lua index 00d2d682c..0f7df6686 100644 --- a/mods/MAPGEN/mcl_structures/ruined_portal.lua +++ b/mods/MAPGEN/mcl_structures/ruined_portal.lua @@ -49,8 +49,8 @@ local def = { end, loot = { ["mcl_chests:chest_small" ] ={{ - stacks_min = 2, - stacks_max = 6, + stacks_min = 4, + stacks_max = 8, items = { { itemstring = "mcl_core:iron_nugget", weight = 40, amount_min = 9, amount_max = 18 }, { itemstring = "mcl_core:flint", weight = 40, amount_min = 1, amount_max=4 }, @@ -60,19 +60,44 @@ local def = { { itemstring = "mcl_core:gold_nugget", weight = 15, amount_min = 4, amount_max = 24 }, { itemstring = "mcl_core:apple_gold", weight = 15, }, - { itemstring = "mcl_books:book", weight = 1, func = function(stack, pr) + { itemstring = "mcl_tools:axe_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, + { itemstring = "mcl_farming:hoe_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, + { itemstring = "mcl_tools:pick_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, + { itemstring = "mcl_tools:shovel_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, + { itemstring = "mcl_tools:sword_gold", weight = 15, func = function(stack, pr) mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) end }, - --{ itemstring = "mcl_bamboo:bamboo", weight = 15, amount_min = 1, amount_max=3 }, --FIXME BAMBOO - { itemstring = "mcl_core:diamond", weight = 3, amount_min = 1, amount_max = 3 }, - { itemstring = "mcl_mobitems:saddle", weight = 3, }, - { itemstring = "mcl_core:emerald", weight = 2, amount_min = 1, amount_max = 3 }, + { itemstring = "mcl_armor:helmet_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, + { itemstring = "mcl_armor:chestplate_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, + { itemstring = "mcl_armor:leggings_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, + { itemstring = "mcl_armor:boots_gold", weight = 15, func = function(stack, pr) + mcl_enchanting.enchant_uniform_randomly(stack, {"soul_speed"}, pr) + end }, - { itemstring = "mcl_mobitems:iron_horse_armor", weight = 1, }, + { itemstring = "mcl_potions:speckled_melon", weight = 5, amount_min = 4, amount_max = 12 }, + { itemstring = "mcl_farming:carrot_item_gold", weight = 5, amount_min = 4, amount_max = 12 }, + + { itemstring = "mcl_core:gold_ingot", weight = 5, amount_min = 2, amount_max = 8 }, + { itemstring = "mcl_clock:clock", weight = 5, }, { itemstring = "mcl_mobitems:gold_horse_armor", weight = 1, }, - { itemstring = "mcl_mobitems:diamond_horse_armor", weight = 1, }, - { itemstring = "mcl_core:apple_gold", weight = 15, }, + { itemstring = "mcl_core:goldblock", weight = 1, amount_min = 1, amount_max = 2 }, + { itemstring = "mcl_bells:bell", weight = 1, }, + { itemstring = "mcl_core:apple_gold_enchanted", weight = 1, }, } }} }