Advanced tooltips

Discussion in 'Other' started by Spacedino, Dec 25, 2015.

  1. Spacedino

    Spacedino Ketchup Robot

    I'm a modder and I recently experimented with additional parameters for items, like this:
    world.spawnItem(objectName, entity.position(), 1, {somevariableName = someCoolInfo})

    So you can attach lots of neat information to items in the world, right now this is used for tracking the durabillity of mining tools like pickaxes for example.

    But there is no way to make any of this information visible in a tooltip, looking at pickaxes again you have to take them out of your inventory to get the tiny little bar displayed that shows you their current status.

    As a modder I think having some way to display dynamic information in a tooltip would be extremely neat, even if its just one little bit of text.
     

Share This Page