Posted June 27, 2023 by thesunlike
1. Find an image you'd like to use. For thos example, I've edited PoisonGrenade sprite, and saved it as 256x256 png image.
2. Create item class with with load item function. Here we got LoadPotion(). And PotionEffect similar to PoisonGrenade's one. Notice the line with "result.icon = ...." This is how new sprite will be set. I've put grenade2.png image into /BepInEx/plugins/assets folder.
3. Register your item. By the way, you can replace and edit stats of vanila items if you register under their names.
4. Put .dll files into /plugins/ folder, put images into /plugins/assets/ folder. Run the game, add item with "item FireGrenade"