how to add drops to all enemy npc in tconfig?

Discussion in 'Released Mods' started by nutcase840, Dec 20, 2012.

  1. nutcase840 Green Slime

    i need some help adding my custom items to be dropped from all enemy npc
    FreyModder likes this.
  2. FreyModder Giant Worm

    You need to download default files, Look In The NPC folder and then open random creature like Green Slime. Theres things like AnimationType, FrameCount and so on. You need this [Drop] underneath this world is this 1-3 Gel=100 (this means that Green Slime will Drop 100% 1-3 gel. So you need to Green Slime Drop like Dirt Sword, that means that you need to write under [Drop] this 1 Dirt Sword=30 (mean %)
    1-3 (mean how many items wil be droped) After you do that you need to do this In every creature and than copy it to your NPC mod folder.
    I hope that you understand me :D
    If you got some other question you can ask me id you need :)
  3. Shockah Grandson of the Wizard

    "from all enemy npc"
    You won't do that without code. Basically, you need a file "NPC\NPC.cs", and you need to use the NPCLoot() hook in there.
    Don't really want to post the code though, as modding such stuff without knowing how to code is bad; figure it out yourself.

Share This Page