-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disassemble items will be added to wardrobe
- Loading branch information
Showing
4 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Disassemble As Looting Choice by pMarK | ||
// v1.3 | ||
|
||
public static exec func DALCListWardrobe(gi: GameInstance) -> Void { | ||
let wardrobeSys: wref<WardrobeSystem>; | ||
let stored: array<ItemID>; | ||
let itemData: wref<gameItemData>; | ||
wardrobeSys = GameInstance.GetWardrobeSystem(gi); | ||
stored = wardrobeSys.GetStoredItemIDs(); | ||
LogChannel(n"DALC", "======================"); | ||
LogChannel(n"DALC", "== LISTING WARDROBE =="); | ||
LogChannel(n"DALC", "======================"); | ||
LogChannel(n"DALC", "=> Count: " + ArraySize(stored)); | ||
for el in stored { | ||
itemData = RPGManager.GetItemData(gi, GameInstance.GetPlayerSystem(gi).GetLocalPlayerMainGameObject(), el); | ||
LogChannel(n"DALC", "=> [" + EnumValueToString("gamedataItemType", Cast<Int64>(EnumInt(itemData.GetItemType()))) + "] " + UIItemsHelper.GetItemName(TweakDBInterface.GetItemRecord(ItemID.GetTDBID(el)), itemData)); | ||
} | ||
LogChannel(n"DALC", "== DONE =="); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// Disassemble As Looting Choice by pMarK | ||
// v1.2 | ||
// v1.3 | ||
|
||
module DALC.Overrides | ||
import DALC.Base.DALC | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters