Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Callback(doc = "function():number -- Get the HP of the robot.")
- def hp(context: Context, args: Arguments): Array[AnyRef] = {
- result(agent.info.hp, "no tool equipped")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement