Authors: Evanlyn
Be sure to take notes of all the relevant names and IDs as you go. Make lots of backups.
Be careful not to use any duplicate flags or Entity IDs; regions with duplicate EntityIDs in particular have a chance to permanently corrupt loaded mapbnds, so exercise caution.
Be careful when making Flag IDs; if the fifth digit is 1-9, it will cause the flag to reset on grace/area reload (Eg: XXXX0XXX).
Refer to other Entity or Flag IDs to see how FromSoft formatted them; sometimes it might matter, or not.
If you're curious about most entities having MapID: -1, UnkE0C: 255, and UnkS0C: -1, don't ask me. I have no idea, but changing it can break things. So just keep them that way.
1. Create a new treasure chest asset (a common one is AEG099_630). Give it the following values:
2. Create a new ObjAct. Give it the following values:
3. Create a new Treasure event. Give it the following values:
4. In a Param Editor, open ItemLotParam_map. Find an entry for the map you're working in, or a similar suitable entry. Duplicate it, and change the value to the same number used in the above ItemLotID.
5. In the new ItemLotParam entry, set lotItemID01 to the item you want in the chest. Note: Check EquipParams for every item's ID
6. Set lotItemCategory01 to match the lotItem (Which EquipParam menu it's from)
7. Set getItemFlagId to a unique value (Fifth digit not 1)
8. Congrats.