ThyHolyNoodle Posted June 16, 2019 Share Posted June 16, 2019 I have this lua file in the right place and am looking for functions like these function Itemcool() local inv = getPlayer():getInventory(); local player = getPlayer(); it = inv:FindAndReturn("MC.myfoods"); if it then getPlayer():Say("I have the cure"); local BP; BP = player:getBodyDamage(); BP:RestoreToFullHealth(); end end Events.OnFillInventoryObjectContextMenu.Add(invContextMenu); in something like (help pls): Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now