diff --git a/objects/Fan-MadeAccessories.aa8b38/CleanUpHelper.26cf4b.ttslua b/objects/Fan-MadeAccessories.aa8b38/CleanUpHelper.26cf4b.ttslua index 90bed708..a24cde38 100644 --- a/objects/Fan-MadeAccessories.aa8b38/CleanUpHelper.26cf4b.ttslua +++ b/objects/Fan-MadeAccessories.aa8b38/CleanUpHelper.26cf4b.ttslua @@ -4,10 +4,6 @@ -- - sets counters to default values (resources and doom) or trauma values (health and sanity, if not disabled) from campaign log -- - puts everything on playmats and hands into respective trashcans -- - use the IGNORE_TAG to exclude objects from tidying (default: "CleanUpHelper_Ignore") -information = { - version = "2.5", - last_updated = "08.12.2022" -} -- enable this for debugging local SHOW_RAYS = false @@ -96,14 +92,13 @@ function onLoad(saved_data) -- context menu and buttons self.addContextMenuItem("More Information", function() printToAll("------------------------------", "White") - printToAll("Clean Up Helper v" .. information["version"] .. " by Chr1Z", "Orange") - printToAll("last updated: " .. information["last_updated"], "White") + printToAll("Clean Up Helper by Chr1Z", "Orange") printToAll("ignore tag: " .. IGNORE_TAG, "White") printToAll("Player order in the campaign log for trauma import:\nWhite, Orange, Green, Red", "White") end) -- index 0: button as label - buttonParameters.label = "Clean Up Helper v" .. information["version"] + buttonParameters.label = "Clean Up Helper" buttonParameters.click_function = "none" buttonParameters.position = { x = 0, y = 0.1, z = -1.525 } buttonParameters.height = 0 @@ -183,9 +178,6 @@ function cleanUp() -- bless / curse manager prints removed amounts removeBlessCurse() - -- image swapper prints reset message - resetPlayareaImage() - printToAll("Removing vector lines...", "White") removeLines() @@ -274,11 +266,6 @@ function removeBlessCurse() end end --- reset the playarea's image -function resetPlayareaImage() - getObjectFromGUID("b7b45b").call("updateSurface") -end - -- remove drawn lines function removeLines() Global.setVectorLines({})