Modding Help trouble with LUA

Discussion in 'Starbound Modding' started by Hepton_The_Novakid, Apr 7, 2019.

  1. Hepton_The_Novakid

    Hepton_The_Novakid Void-Bound Voyager

    Im having trouble with a specific object Im making and REALLY need help. Basiclly its SCP-458 an infinite pizzabox, and with some research I found out about

    containerCallback()

    Called when the container contents have been changed or interacted with in a GUI Pane.

    To have the callback use a different name, add the parameter "containerCallback" : "[function name]" to your object's config file.

    But making it work in LUA(especially cause I have no experience) is really hard.

    "is what I want it to do is detect if the contents of it have been tampered with and if so refill it with pizza"
     

Share This Page