Jump to content

Hashashin

Member
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Hashashin reacted to MisterInSayne in Hydrocraft Mod   
    item InFridge { WeightReduction = 40, Weight = 100, Type = Container, Capacity = 50, DisplayName = Fricking Heavy Fridge, Icon = InRefrigirator, RequiresEquippedBothHands = true }Inside the players inventory they exist as an item, because, the only thing that can be in inventories, are items, not objects. The place option I gave it removes the item, and places an object in the world.
     
    My workaround it not checking if the object weight added to the players current inventory weight is more than their capacity, but only checking if they are currently encumbered, not making it a conditional what they are afterward.
    With lua you can add a custom right click button to certain items in your mod to be able to pick them up, even if it'd make you over-encumbered.
×
×
  • Create New...