• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Nature changing mints!

277
Posts
15
Years
  • These mints were just shown off in the latest trailer for Pokemon Sword and Shield. These are super easy to make, just modify any of the vitamins.
    To save you the work I have already make them for you! Since the game has not come out yet, I do not have access to all of the information needed to add the items to the PBS files, however I will update this post when such information becomes available.

    Code:
    #Changes a Pokemon's nature to be equal to the mint.
    ItemHandlers::UseOnPokemon.add(:ADAMANTMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:ADAMANT)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:ADAMANT)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Adamant Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:BOLDMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:BOLD)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:BOLD)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Bold Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:BRAVEMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:BRAVE)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:BRAVE)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Brave Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:CALMMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:CALM)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:CALM)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Calm Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:CAREFULMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:CAREFUL)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:CAREFUL)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Careful Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:GENTLEMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:GENTLE)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:GENTLE)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Gentle Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:HASTYMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:HASTY)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:HASTY)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Hasty Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:IMPISHMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:IMPISH)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:IMPISH)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Impish Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:JOLLYMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:JOLLY)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:JOLLY)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Jolly Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:LAXMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:LAX)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:LAX)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Lax Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:LONELYMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:LONELY)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:LONELY)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Lonely Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:MILDMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:MILD)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:MILD)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Mild Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:MODESTMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:MODEST)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:MODEST)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Modest Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:NAIVEMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:NAIVE)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:NAIVE)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Naive Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:NAUGHTYMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:NAUGHTY)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:NAUGHTY)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Naughty Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:QUITEMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:QUITE)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:QUITE)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Quite Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:RASHMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:RASH)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:RASH)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the RASH Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:RELAXEDMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:RELAXED)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:RELAXED)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Relaxed Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:SASSYMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:SASSY)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:SASSY)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Sassy Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:SERIOUSMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:SERIOUS)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:SERIOUS)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Serious Mint.",pokemon.name))
       end
    })
    
    ItemHandlers::UseOnPokemon.add(:TIMIDMINT,proc{|item,pokemon,scene|
        if pokemon.nature==(:TIMID)
          scene.pbDisplay(_INTL("It won't have any effect."))
        else
          pokemon.setNature(:TIMID)
          pokemon.calcStats
          scene.pbDisplay(_INTL("{1} ate the Timid Mint.",pokemon.name))
       end
    })
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • I think the Nature won't be changed, only the stats:
    Code:
    Mints are items that will make their first appearance in these games. They'll impact which stats of your Pokémon are likely to grow faster than usual! Each Pokémon has a Nature, and this Nature can impact which of the Pokémon's stats are likely to grow faster or slower than average. Using a Mint on a Pokémon seems to change these stat-growth patterns! However, a Pokémon's Nature itself won't change even if you use a Mint.
    [URL=" https://swordshield.pokemon.com/en-us/gameplay/features-raise-pokemon/"]Font[/URL]
     
    Last edited:
    277
    Posts
    15
    Years
  • Thank you for the insight, this was my misunderstanding.

    Having the mints just change the nature would have being the easier route, does this mean to use the item as intended we would have to add a new variable to the Pokemon stat calculations?
     
    1,407
    Posts
    10
    Years
    • Online now
    That sounds insane. Will anyone mind if fangames just make mints change natures directly?

    It's probably not a big deal, honestly. The only reason Mints (and Bottle Caps) don't just directly change the Pokemon's attributes in the main series is so that breeding still has a function to some degree (since the Mint natures/bottle capped IV's won't pass down). There's really no other drawbacks to just making them directly change their stats. So unless breeding is super super essential to your game design, it seems way more practical to just have these items directly change things.
     
    21
    Posts
    4
    Years
    • Seen Nov 23, 2023
    679,ADAMANTMINT,Adamant mint,Adamant mints,2,9800,"Change the Nature of your Pokémon to Adamant.",1,0,0,
    680,BOLDMINT,Bold mint,Bold mints,2,9800,"Change the Nature of your Pokémon to Bold.",1,0,0,
    681,BRAVEMINT,Brave mint,Brave mints,2,9800,"Change the Nature of your Pokémon to Brave.",1,0,0,
    682,CALMMINT,Calm mint,Calm mints,2,9800,"Change the Nature of your Pokémon to Calm.",1,0,0,
    683,CAREFULMINT,Careful mint,Careful mints,2,9800,"Change the Nature of your Pokémon to Careful.",1,0,0,
    684,GENTLEMINT,Gentle mint,Gentle mints,2,9800,"Change the Nature of your Pokémon to Gentle.",1,0,0,
    685,HASTYMINT,Hasty mint,Hasty mints,2,9800,"Change the Nature of your Pokémon to Hasty.",1,0,0,
    686,IMPISHMINT,Impish mint,Impish mints,2,9800,"Change the Nature of your Pokémon to Impish.",1,0,0,
    687,JOLLYMINT,Jolly mint,Jolly mints,2,9800,"Change the Nature of your Pokémon to Jolly.",1,0,0,
    688,LAXMINT,Lax mint,Lax mints,2,9800,"Change the Nature of your Pokémon to Lax.",1,0,0,
    689,LONELYMINT,Lonely mint,Lonely mints,2,9800,"Change the Nature of your Pokémon to Lonely.",1,0,0,
    690,MILDMINT,Mild mint,Mild mints,2,9800,"Change the Nature of your Pokémon to Mild.",1,0,0,
    691,MODESTMINT,Modest mint,Modest mints,2,9800,"Change the Nature of your Pokémon to Modest.",1,0,0,
    692,NAIVEMINT,Naive mint,Naive mints,2,9800,"Change the Nature of your Pokémon to Naive.",1,0,0,
    693,NAUGHTYMINT,Naughty mint,Naughty mints,2,9800,"Change the Nature of your Pokémon to Naughty.",1,0,0,
    694,QUIETMINT,Quiet mint,Quiet mints,2,9800,"Change the Nature of your Pokémon to Quiet.",1,0,0,
    695,RASHMINT,Rash mint,Rash mints,2,9800,"Change the Nature of your Pokémon to Rash.",1,0,0,
    696,RELAXEDMINT,Relaxed mint,Relaxed mints,2,9800,"Change the Nature of your Pokémon to Relaxed.",1,0,0,
    697,SASSYMINT,Sassy mint,Sassy mints,2,9800,"Change the Nature of your Pokémon to Sassy.",1,0,0,
    698,SERIOUSMINT,Serious mint,Serious mints,2,9800,"Change the Nature of your Pokémon to Serious.",1,0,0,
    699,TIMIDMINT,Timid mint,Timid mints,2,9800,"Change the Nature of your Pokémon to Timid.",1,0,0,

    You should add this to your item.txt file also, it's just a copy of the other vitamins.
     
    429
    Posts
    4
    Years
  • Tried putting it in V19, got new error message popping up when trying to start the game, what do I do?

    [Pokémon Essentials version 19.1]
    [Generation 8 Project v1.1.0]
    [v19.1 Hotfixes 1.0.7]

    Exception: ArgumentError
    Message: invalid byte sequence in UTF-8

    Backtrace:
    368:Compiler:198:in `[]'
    368:Compiler:198:in `block (2 levels) in pbCompilerEachCommentedLine'
    368:Compiler:193:in `each_line'
    368:Compiler:193:in `block in pbCompilerEachCommentedLine'
    368:Compiler:190:in `open'
    368:Compiler:190:in `pbCompilerEachCommentedLine'
    369:Compiler_CompilePBS:306:in `compile_items'
    368:Compiler:700:in `compile_all'
    [v19.1 Hotfixes] Debug bug fixes.rb:68:in `compile_all'
    368:Compiler:833:in `main'
     
    658
    Posts
    7
    Years
  • Tried putting it in V19, got new error message popping up when trying to start the game, what do I do?
    This script was made for an older version of Essentials, and will not work with v19. You can instead use the Generation 8 Project for v19.1 for Nature Mint functionality instead.

    Though your particular error is caused by you not putting your game title in Game.ini, and instead putting it using RPGXP's "Change Game Title" option, which doesn't work in v19.
     
    Back
    Top