Gibberlings3 / BG1NPC

The BG1 NPC Project adds a great deal of content by expanding the depth of character and levels of interaction with the NPCs from the Baldur's Gate game. Requires Tutu, BGT, or BGEE.
https://www.gibberlings3.net/mods/npcs/bg1npc/
47 stars 24 forks source link

Bardic Chains and items of protection #111

Open TotoR115 opened 1 year ago

TotoR115 commented 1 year ago

https://github.com/Gibberlings3/BG1NPC/blob/31e6a965b17d869c0266931b82f3b62e71f3c8e5/bg1npc/phase2/tpa/bg1npc_garqst.tpa#L21

To prevent the use of ring of protections and the like, the Bardic Chains (Lv1 et Lv2) need to be added to itemexcl.2da with:

COPY_EXISTING ~itemexcl.2da~ ~override~
    APPEND ~itemexcl.2da~ ~X#GARCH  1~
    APPEND ~itemexcl.2da~ ~X#GARCH2  1~

In addition, those items are missing there enchantement level:

COPY_EXISTING ~x#garch.itm~ ~override~
  WRITE_LONG 0x60 ~1~

COPY_EXISTING ~x#garch2.itm~ ~override~
  WRITE_LONG 0x60 ~2~

It is the same for x#iamul Gorion's Amulet witch is an Amulet of Protection and should be added:

COPY_EXISTING ~itemexcl.2da~ ~override~
    APPEND ~itemexcl.2da~ ~X#IAMUL  1~