harbingerofme / DebugToolkit

Debugging commands for Risk of Rain 2. Previously known as RoR2Cheats.
https://thunderstore.io/package/IHarbHD/DebugToolkit/
BSD 3-Clause "New" or "Revised" License
14 stars 8 forks source link

New Command: List_Projectiles #141

Open LockeColeFF opened 1 year ago

LockeColeFF commented 1 year ago

Describe your new command list_projectiles would list the master names an indices of the loaded projectiles.

Use cases This would be useful for mod developers to create different weapons. Another use case is a bit more specific but the "randomizer" mod has a "Randomize projectiles" option that has a large chance of breaking the game based on the projectiles it can load. Think Nailgun firing Arrow Rains and thus overloading graphic memory with millions of arrows. Being able to know the master names of the projectiles would allow a user to blacklist them from the randomizer.

SChinchi commented 1 year ago

The game already comes with dump_projectiles_map, which does exactly what you're describing.

I guess the reasons for having list_projectiles are: