Jump to content

Adding Zaz items to DD pool of items


Kombat Wombat

Recommended Posts

I have searched everywhere for a mod that adds the Zaz restraints to the pool of items that are used in the Devious Devices mods, but i just cant find any. Can somebody point the way to a mod that does that (or possibly make one, if there isn't already a mod that does that)?

 

Just to be clear, the mod that i am looking for would make it so that the PC could get one of the Zaz restraints instead of or along side of the DD restrains when DD Captured, Helpless or any other mod that places restraints on the PC is activated.

Link to comment

Armor zaparmor=Game.GetFormFromFile(0x???????, "ZaZAnimationPack.esm") As Armor

Armor ddarmor=Game.GetFormFromFile(0x???????, "Devious Devices - Assets.esm") As Armor

 

int itemcount=Game.GetPlayer().GetItemCount(ddarmor)

if(itemcount>0)

    int itemcount2=Game.GetPlayer().GetItemCount(zaparmor)

    if(itemcount2==0)

       Game.GetPlayer()AddItem(zaparmor, 1, True)

   endif

    Game.GetPlayer().EquipItem(zaparmor, true, true)

endif

 

put that code either into onupdate() or wherever you want and replace ?????? with id numbers for the items

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use