Dragon Age: Inquisition

File information

Last updated

Original upload

Created by

Svarty

Uploaded by

svartalfimposter

Virus scan

Safe to use

About this mod

YOU choose what the shop sells.
Amulet, Armour, Accessory, Crafting, Material, Quest, Ring, Rune, Schematic, Specialization, Valuable, Weapon

Permissions and credits
The follow-up mod to this is here: https://www.nexusmods.com/dragonageinquisition/mods/3035
Features the ability to change any vanilla store.
_____________________________________________



What it does:
  • Provides a menu for the user to select items to add to that specific store in Redcliffe.
  • Adds 5000 of each item selected to the store.

How to use: 
  • Get DAI Mod Manager. Install this mod in the usual manner.
  • Click the mod in the list of mods
  • Click the Configure Button
  • Drag the box edges bigger so all the options fit in your window
  • Select upto 30 items you want in the store
  • Click the Save Button
  • Merge as usual
  • Visit the store in Redcliffe to find your stock

There are also options for cheaper prices and shop paying you more when you sell things - together these can be used to generate gold.

Configurable mods only work with DAI Mod Manager at the moment, not Frosty.



Please report problems you have in the comments tab.

If you want to request new items for the store, you can do that, too (no guarantees). Please don't ask for enormous amounts of stuff all at once as this is incredibly demoralising: Adding GUIDs is a boring process.

Romance and specialisation items seem to crash the game when added to the stock - there is probably a plot flag setting that I'm not familiar with, so these won't be added any time soon.



OPTIONAL
If you wish to PERMANENTLY have the same items in the store, you should get Notepad++ and change the menu like this: 
Manually Changing default values:
Get Notepad++ from here: https://notepad-plus-plus.org/download (DO NOT USE NORMAL NOTEPAD, it will break the mod)
Open the daimod in Notepad++

Here is what one element of the menu looks like:
ConfigElementsList.AddEnumElement ( "StoreItem1", "Stock Item  1", typeof(StoreItem),  0 );
The numbers at the end of the line are what you are looking for (highlighted in bright green), here 0 is the default. Change this to the number on the menu that you want to be Stock item 1 on the menu by default. For example, Stock Item 1 above is set to menu item 0 (the first item on the menu).

Remember to File > Save from the menu
Done.


REDCLIFFE:


MY MODS
Svarty's Blade Switcher https://www.nexusmods.com/dragonageinquisition/mods/3360
Svarty's Longsword Grip Appearance Switcher https://www.nexusmods.com/dragonageinquisition/mods/3181
Svarty's Mount Anywhere https://www.nexusmods.com/dragonageinquisition/mods/3115
Svarty's Better Herb Nodes https://www.nexusmods.com/dragonageinquisition/mods/3113
Svarty's Better Metal Nodes https://www.nexusmods.com/dragonageinquisition/mods/3101
Svarty's Configurable Metal https://www.nexusmods.com/dragonageinquisition/mods/3071
Svarty's Configurable Staff II https://www.nexusmods.com/dragonageinquisition/mods/3049
Svarty's Configurable Store II https://www.nexusmods.com/dragonageinquisition/mods/3035
Svarty's Configurable Armour II https://www.nexusmods.com/dragonageinquisition/mods/3018
Multiplayer Armour Enabler https://www.nexusmods.com/dragonageinquisition/mods/2974
Svarty's Configurable Greataxe https://www.nexusmods.com/dragonageinquisition/mods/2788
Svarty's Configurable Armour Upgrades Appearance and Power II https://www.nexusmods.com/dragonageinquisition/mods/2747
Svarty's Configurable Headwear  https://www.nexusmods.com/dragonageinquisition/mods/2604
Svarty's Configurable Store https://www.nexusmods.com/dragonageinquisition/mods/2577
Warden Armour Colour Changes https://www.nexusmods.com/dragonageinquisition/mods/2569
BUG FIX Sturdy and Superior Hunter Coat and Armour https://www.nexusmods.com/dragonageinquisition/mods/2392
Svarty's Configurable Bianca Upgrade Passive Powers https://www.nexusmods.com/dragonageinquisition/mods/2383
Bianca Invisible Upgrades https://www.nexusmods.com/dragonageinquisition/mods/2381
ConversationCameraZoom for Frosty https://www.nexusmods.com/dragonageinquisition/mods/2220
Gaspard No Mask and Other Mods REMADE https://www.nexusmods.com/dragonageinquisition/mods/2184
Svarty's Configurable Armour Upgrades Appearance and Power https://www.nexusmods.com/dragonageinquisition/mods/2180
Svarty's Haven Recipe Store https://www.nexusmods.com/dragonageinquisition/mods/2174
Svarty's Configurable Armour https://www.nexusmods.com/dragonageinquisition/mods/2150
Svarty's Live Like Whomever https://www.nexusmods.com/dragonageinquisition/mods/2156
Svarty's Configurable Axe and Mace https://www.nexusmods.com/dragonageinquisition/mods/2145
Svarty's Configurable Greatsword https://www.nexusmods.com/dragonageinquisition/mods/2109
Svarty's Configurable Dual-Blade Daggers https://www.nexusmods.com/dragonageinquisition/mods/2106
Svarty's Configurable Sword https://www.nexusmods.com/dragonageinquisition/mods/2102
Svarty's Configurable Bianca Upgrades https://www.nexusmods.com/dragonageinquisition/mods/2098
Bianca Brytol Bolter https://www.nexusmods.com/dragonageinquisition/mods/2095
Svarty's Configurable Staff https://www.nexusmods.com/dragonageinquisition/mods/2085
Svarty's Configurable Shield https://www.nexusmods.com/dragonageinquisition/mods/2084
Svarty's Configurable Maul https://www.nexusmods.com/dragonageinquisition/mods/2075
Svarty's Armour Switcher https://www.nexusmods.com/dragonageinquisition/mods/2056
Svarty's Configurable Daggers https://www.nexusmods.com/dragonageinquisition/mods/2050
Svarty's Configurable Bow https://www.nexusmods.com/dragonageinquisition/mods/2046
Svarty's Better Hats II https://www.nexusmods.com/dragonageinquisition/mods/2016
Svarty's Configurable Stormbreak Staff https://www.nexusmods.com/dragonageinquisition/mods/2002
Svarty's Better DLC Armour Recipes II https://www.nexusmods.com/dragonageinquisition/mods/1998
Choose Your Own Avenger https://www.nexusmods.com/dragonageinquisition/mods/1975
Svarty's Better Hat Recipes Plus The One Hat https://www.nexusmods.com/dragonageinquisition/mods/1967
Battlemage Cowl - No Ears REMADE Plus https://www.nexusmods.com/dragonageinquisition/mods/1966
Svarty's Better Weapon Upgrade Recipes https://www.nexusmods.com/dragonageinquisition/mods/1958
Svarty's Better Armour Upgrade Recipes https://www.nexusmods.com/dragonageinquisition/mods/1955
Svarty's Better DLC Armour Recipes https://www.nexusmods.com/dragonageinquisition/mods/1950



CREDITS
This mod would not have happened without esCanor's hex editing tutorial, borglet's inventory tutorial and was made considerably easier thanks to Anhamirak's spreadsheets of GUIDs.
Thanks to ViktoriaLanders for producing the GUID list for Valuables (v8 onwards).
I also want to thank Nexusmods.
I want to thank everybody involved with the Mod Manager and Mod Maker projects, especially Galaxy/Eham, Zhentar, Dawnless Sky, Chrono414,
Tirnoney, esCanor, Dheuster and VoidRealms for their tutorials, without which I couldn't have done any DAI modding.
Tirnoney again for extra advice and help.
Thanks to ethicalinfant, plus electricfish and munchyfly on Discord. drag6295 for belief that I could actually do something,
Even more thanks to people who have taken the trouble to report issues with the mods (aggiedad, sixamsims, cabailosterdaggyr in this mod)! It is only through your efforts that things get discovered and fixed.
I do not apologise for my crappy, inefficient scripts - the coding snobs can bite me!

Join DAImodding Discord!
Join DA Community Discord!
Join Frosty Discord!



My beginner's guide to changing slots: https://www.tapatalk.com/groups/daitools/how-to-change-weapon-armour-upgrade-slots-beginner-t1850.html
Learn more about Configurable mods here: https://www.tapatalk.com/groups/daitools/viewtopic.php?f=41&t=1514&p=12249#p12249


Tools used:
Thank you to everybody involved in those projects!

How this mod was made:
  • I edited the store using Frosty -
Added 30 new item slots, put a DIFFERENT item in each slot that were not the same as any of the existing items in stock (this is important because the system would index to the same item instead of creating a new slot - I need new slots so I can swap the items in them later and just ignore the indices).
Set each new slot to amount to 5000. 
  • Wrote the script- 
The script provides a menu and then references the user choices to a huge two-dimensional array of GUIDs (containing all the items the user could pick) which are then written over the 30 new items in the store. 
A quality of life imrpovement is the recipe section which changes the amount in stock to 1 if the item is a recipe.
I noted the offsets of the store buy and sell modifiers using Mod Maker and used Frosty to discover what they should be in hex (I know they're Floats and tried using https://gregstoll.com/~gregstoll/floattohex/ with the endian box ticked, but I got confused).
  • I then combined the ebx with the script using the Config Script Editor tool.
  • Used Notepad++ (Language C#) to clean up the code and set the minpatchversion number to 10 so more people can (try to) use it.
  • Tested it using ModMaker's compiler.