Icon representing a recipe

Recipe: Delete Recipe Bands

created by devjosh

Profile


Name
Delete Recipe Bands
ID
104214
Shared with
Public
Parent
None
Children
None
Created on
December 15, 2020 at 17:07 PM UTC
Updated on
December 15, 2020 at 17:07 PM UTC
Description

Deletes all recipe-modified bands.

Best for


Code


-- Delete Recipe Bands by joshmiller -- Removes all recipe-only bands numBands = band.GetCount() for i = numBands, 1, -1 do --go backwards to safe delete if band.IsRecipeBand(i) then band.Delete(i) end end print("Deleted all recipe bands!")

Comments