Skip to content

Mod Request!

Mr_SaltyMr_Salty Member Posts: 188
edited April 2019 in General Modding
im not sure if this is the right forum section for it but here goes there are several items that does not go inside a bag of holding and i wish that they would be able too...

for the following items

Trollblood Ioun Stone
Blood Red Ioun Stone
Spectacles of Spectacle
Gentrus's Hand Mirror
Tepid Mug of Ale

is this possible??

Comments

  • RaduzielRaduziel Member Posts: 4,714
    IIRC correctly, the Bard's Hat also doesn't go inside a Bag of Holding.

    If anyone tells me what needs to be altered to fix this behavior I can build a quick mod to deal with it.
  • kjeronkjeron Member Posts: 2,368
    The "Store" files linked (BAG01.ITM -> BAG01.STO) to each Bag of Holding would need "Items purchased" entries added for the item type "Hat (72)", "Telescopes (55)", and "Bottles (56)".
    Though from what I see they already have Hats added.
  • RaduzielRaduziel Member Posts: 4,714
    I'll try to tackle this tomorrow.
  • Mr_SaltyMr_Salty Member Posts: 188
    Raduziel wrote: »
    I'll try to tackle this tomorrow.

    that would be awsome ! thanks
  • Mr_SaltyMr_Salty Member Posts: 188
    edited April 2019
    Pearly White Ioun Stone and Bottle of Whine needs a fix too
  • RaduzielRaduziel Member Posts: 4,714
    edited April 2019
    I'm starting to have a feeling that there is something wrong with Ioun Stones.

    Pearly White Ioun Stone -> labeled as Helmet. Should be going inside the Bag of Holding by default.

    Trollblood Ioun Stone ->labeled as Hat (because who needs standardization, right?).

    Blood Red Ioun Stone -> labeled as Hat.

    Spectacles of Spectacle -> labeled as Hat (Beamdog has a weird concept of what a Hat is).

    Gentrus's Hand Mirror -> labeled as Telescope (why not Miscellaneous?).

    Tepid Mug of Ale -> labeled as Drink.

    Bottle of Wine -> labeled as Drink.

    I've started to build the code, but I'm stuck.
    BACKUP ~Backup/BagFix~
    AUTHOR ~Raduziel~ 
    VERSION ~0.1~
    	
    COPY_EXISTING_REGEXP ~.*\.sto~ override 
    	READ_LONG  0xoc name
    		PATCH_IF (~%name%~ STRING_EQUAL_CASE ~Bag of Holding~)  BEGIN
    				READ_LONG 0x2c pur_off
    				READ_LONG 0x30 pur_num
    					FOR (i = 0 ; i < pur_num < i++) BEGIN
    					
    					
    					SET i = pur_num
    END			
    END
    BUT_ONLY
    
    //EoF
    


    Here is what I intend to add just for the sake of it:
    Miscellaneous (0)

    Headgear (7)

    Food (13)

    Telescopes (55)

    Drinks (56)

    Furs and Pelts (59)

    Hats (72)
  • kjeronkjeron Member Posts: 2,368
    Raduziel wrote: »
    Pearly White Ioun Stone -> labeled as Helmet. Should be going inside the Bag of Holding by default.
    It's already a Hat in BGSOD, BG2EE is still behind on the patch cycle.
    Raduziel wrote: »
    Spectacles of Spectacle -> labeled as Hat (Beamdog has a weird concept of what a Hat is).
    The "Hats" category is for any headslot item that doesn't provide immunity to critical hits and/or not restricted from monks, rogues, and wizards.
  • RaduzielRaduziel Member Posts: 4,714
    edited April 2019
    @kjeron That makes sense, indeed. Sorry, Beamdog.

    @Mr_Salty Kjeron taught me how to do the thing. Actually the code is his, I just applied it.
    Post edited by Raduziel on
  • Mr_SaltyMr_Salty Member Posts: 188
    edited April 2019
    Raduziel wrote: »
    @kjeron That makes sense, indeed. Sorry, Beamdog.

    @Mr_Salty Kjeron taught me how to do the thing. Actually the code is his, I just applied it.

    @Raduziel
    i can just use it like any mod without conflicts to existing mods ?
  • RaduzielRaduziel Member Posts: 4,714
    Mr_Salty wrote: »
    Raduziel wrote: »
    @kjeron That makes sense, indeed. Sorry, Beamdog.

    @Mr_Salty Kjeron taught me how to do the thing. Actually the code is his, I just applied it.

    @Raduziel
    i can just use it like any mod without conflicts to existing mods ?

    Yes. Just install it after any mod that adds containers.
  • Mr_SaltyMr_Salty Member Posts: 188
    Raduziel wrote: »
    Mr_Salty wrote: »
    Raduziel wrote: »
    @kjeron That makes sense, indeed. Sorry, Beamdog.

    @Mr_Salty Kjeron taught me how to do the thing. Actually the code is his, I just applied it.

    @Raduziel
    i can just use it like any mod without conflicts to existing mods ?

    Yes. Just install it after any mod that adds containers.

    Awsome thank u!
  • RaduzielRaduziel Member Posts: 4,714
    @Mr_Salty

    @kjeron did 98% of the code, I just defined the parameters and packed with a Weidu installer.
  • Mr_SaltyMr_Salty Member Posts: 188
    Raduziel wrote: »
    @Mr_Salty

    @kjeron did 98% of the code, I just defined the parameters and packed with a Weidu installer.

    @kjeron
    @Raduziel

    Both of guys a Massive thanks then! haha
  • RaduzielRaduziel Member Posts: 4,714
    @CamDawg I think that could be used in Tweaks Anthology. If you want to take a look, be my guest.
  • CamDawgCamDawg Member, Developer Posts: 3,438
    Wished I had seen this earlier--you could have grabbed code from Tweaks to do this, as ' Stores Purchase All Item Types' essentially does this for non-bags.
  • RaduzielRaduziel Member Posts: 4,714
    CamDawg wrote: »
    Wished I had seen this earlier--you could have grabbed code from Tweaks to do this, as ' Stores Purchase All Item Types' essentially does this for non-bags.

    Well, the deed is done. I believe that @kjeron would be ok as well to see this added if you wish to do so.
  • Mr_SaltyMr_Salty Member Posts: 188
    edited April 2019
    CamDawg wrote: »
    Wished I had seen this earlier--you could have grabbed code from Tweaks to do this, as ' Stores Purchase All Item Types' essentially does this for non-bags.

    @CamDawg
    does this mean u have made the changes to the cdtweaks ? :hushed:
  • KendannonKendannon Member Posts: 3
    If we're requesting mods. How about an NPC Mind Flayer. Maybe spin it off the the hidden quest line. I think he'd make a cool
    wizard class. Lawful Neutral. Toggle human appearance on and off 2 or 3 times a day.

    Other than that. Monk wearables. hats, boots. enchanted clothing basically.
Sign In or Register to comment.