Modding:Key Mapping (Commands): Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 74: Line 74:
    
    
   [PlayerMutator]
   [PlayerMutator]
   public class MyPlayerMutator : IPlayerMutator
   public class ModName_PlayerMutator : IPlayerMutator
   {
   {
       public void mutate(GameObject player)
       public void mutate(GameObject player)
Line 82: Line 82:
       }
       }
   }
   }
</syntaxhighlight>
== Shipping Your Mod ==
Your completed mod should look like this:
<syntaxhighlight lang="yaml">
<Caves of Qud App Directory>
    Mods
        MyModFolder
            Commands.xml
            ModName_CommandListener.cs
            ModName_PlayerMutator.cs
</syntaxhighlight>
</syntaxhighlight>


{{Modding Navbox}}
{{Modding Navbox}}