From 163f96124a121bdd4569a25292ef52cba3dcddff Mon Sep 17 00:00:00 2001 From: Quietust Date: Fri, 17 Jul 2026 20:43:46 -0600 Subject: [PATCH] Remove references to materials.*_BASE in favor of df.builtin_mats.*_1 --- gui/sandbox.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/sandbox.lua b/gui/sandbox.lua index 2fed03ca87..64fa1ae763 100644 --- a/gui/sandbox.lua +++ b/gui/sandbox.lua @@ -464,9 +464,9 @@ local function init_arena() if mat.flags.DEEP_SPECIAL then break end end if data.want_leather then - leather_index_hint = scan_organic(df.organic_mat_category.Leather, RAWS.creatures.all, leather_index_hint, materials.CREATURE_BASE, do_insert) + leather_index_hint = scan_organic(df.organic_mat_category.Leather, RAWS.creatures.all, leather_index_hint, df.builtin_mats.CREATURE_1, do_insert) end - plant_index_hint = scan_organic(df.organic_mat_category.Wood, RAWS.plants.all, plant_index_hint, materials.PLANT_BASE, do_insert) + plant_index_hint = scan_organic(df.organic_mat_category.Wood, RAWS.plants.all, plant_index_hint, df.builtin_mats.PLANT_1, do_insert) ::inner_continue:: end ::continue::