• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Making Items Undroppable?

  • 73
    Posts
    9
    Years
    You see, some items important to the plotline, such as the rainbow wing, the blue orb, mega stones, and Oak's parcel, are undroppable. How do you program this in essentials?
     
    Black Temple Guardian said:
    ... by making it a key item?
    I wish it was that easy, but when receiving the item, I have the option to simply toss it. I want to prevent the tossing option. Same goes not just for this item, but for all key items.
     
    I wish it was that easy, but when receiving the item, I have the option to simply toss it. I want to prevent the tossing option. Same goes not just for this item, but for all key items.

    O.o That doesn't sound right.

    Oh wow, just tested. That could cause problems.

    EDIT: PItem_Items has this:
    Code:
    # Important items can't be sold, given to hold, or tossed.
    def pbIsImportantItem?(item)
      return $ItemData[item] && (pbIsKeyItem?(item) ||
                                 pbIsHiddenMachine?(item) ||
                                 (INFINITETMS && pbIsTechnicalMachine?(item)))
    end
    It just... doesn't seem to be working.

    It's just debug mode:
    https://www.pokecommunity.com/showthread.php?p=7321802&highlight=key+item#post7321802
     
    Last edited by a moderator:
    Back
    Top