![]() (The item parameter may be null if you don't want to associate an item with the texture.) You can then get the ID for your texture by calling EquipLoader.GetEquipTexture, and using the EquipTexture's Slot property. More.ĪddEquipTexture ( ModItem item, EquipType type, string name, string texture, string armTexture="", string femaleTexture="")Īdds an equipment texture of the specified type, internal name, and associated item to your mod. Leave the texture as an empty string to use the vanilla dust sprite sheet. Create an instance of ModDust normally, preferably through the constructor of an overriding class. Manually add a Command during Load More.ĪddDust (string name, ModDust dust, string texture="")Īdds a type of dust to your mod with the specified name. More.ĪddBuff (string name, ModBuff buff, string texture)Īdds a type of buff to the game with the specified internal name and texture. More.ĪddBossHeadTexture (string texture, int npcType=-1)Īssigns a head texture that can be used by NPCs on the map. Adds a texture to the list of background textures and assigns it a background texture slot.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |