diff --git a/technic/helpers.lua b/technic/helpers.lua index 23922ad7..06993f5e 100644 --- a/technic/helpers.lua +++ b/technic/helpers.lua @@ -87,6 +87,8 @@ function technic.set_RE_charge(stack, charge) end end +technic.set_charge = technic.set_RE_charge + function technic.get_RE_charge(stack) local max_charge = technic.power_tools[stack:get_name()] if max_charge then @@ -96,6 +98,8 @@ function technic.get_RE_charge(stack) return 0, 0 end +technic.get_charge = technic.get_RE_charge + function technic.use_RE_charge(stack, amount) if technic.creative_mode or amount <= 0 then -- Do not check charge in creative mode or when trying to use zero amount