• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
Resource icon

Resource HM Catalogue 1.1

phantombass

Elite Trainer
Member
Joined
Sep 21, 2020
Posts
251
phantombass submitted a new resource:

HM Catalogue - Use HMs from the field without needing items!

This is meant to somewhat mimic the HM app in the BDSP Pokétch.

You will need to create an :HMCATALOGUE item, then when you wish to give the player the item, simply use give_hm_catalogue.

To grant access to an HM move (let's use Rock Smash as an example), simply use HM_Catalogue.rock_smash = true.

Also make sure that if you have a Terrain Tag 19 already assigned, either change it in this script (it is where Rock Climb is assigned) or change yours to ensure no conflicts.

Read more about this resource...
 

Ignitus

Charizard X trainer
Member
Joined
Aug 29, 2021
Posts
46
You done it again another excellent plugin!
 

SirWeibrot

Novice
Member
Joined
Jan 30, 2021
Posts
21
View attachment 14455

Hello! I got this crash when attempting to load your plugin.
I managed to fix it (or at least it isn't crashing when starting the game, i haven't tested if everything works properly)

Go into your Plugins>HM Catalogue Folder and open the Main_script

Scroll all the way down to line 842 and replace all of

Ruby:
Expand Collapse Copy
module GameData
  class TerrainTag
    attr_reader :rock_climb
    @rock_climb             = hash[:rock_climb]             || false
  end
end

with

Ruby:
Expand Collapse Copy
module GameData
  class TerrainTag
    attr_reader :rock_climb
    
    alias oldinitialize initialize
    def initialize(hash)
      oldinitialize(hash)
      @rock_climb        = hash[:rock_climb]         || false
    end
    
  end
end
 

Geoswag

Novice
Member
Joined
Jan 26, 2023
Posts
31
If I give the player access to a HM move using HM_Catalogue.rock_smash = true for example, then save and reload the game, it forgets that it's been assigned to the player. Is there any way to fix this?
 
Last edited:

phantombass

Elite Trainer
Member
Joined
Sep 21, 2020
Posts
251
If I give the player access to a HM move using HM_Catalogue.rock_smash = true for example, then save and reload the game, it forgets that it's been assigned to the player. Is there any way to fix this?
I'll have an update out for this soon
 

CoderFreddy

Novice
Member
Joined
Feb 8, 2023
Posts
47
Will this be updated for v21.1? I tested it and it apparently doesn't work that correctly.
 

Willix

Novice
Member
Joined
Feb 7, 2024
Posts
42
Hey, this is such a nice feature and I really want to have this in my game, will you release the v21.1 version soon? Also, may I ask you to consider including other out of battle moves that are not HMs, such as Dig or Teleport? I think it would be nice to have the opportunity to get them inside the catalogue.
 

phantombass

Elite Trainer
Member
Joined
Sep 21, 2020
Posts
251
Hey, this is such a nice feature and I really want to have this in my game, will you release the v21.1 version soon? Also, may I ask you to consider including other out of battle moves that are not HMs, such as Dig or Teleport? I think it would be nice to have the opportunity to get them inside the catalogue.
I'll be working on this a little later but yes I can look into adding those to this :]
 
Back
Top