KingCode
⚪ Last updated 2024⚠️ Install Order · 6 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 0.4% endorsement rate
- 🏆 #28 of 44 Modders Resources mods in this game by downloads
📋 About This Mod
A dependency for most of my mods. I'm basically just releasing this to avoid having to include separate copies with all my mods. I'm only including code I wrote that ended up getting repurposed across multiple mods & that I foresee a need for in the future. At present, that includes code for easy item tracking. Basically, it gives multiple methods for creating item references which come auto-generated with useful properties/values allowing me to save a lot of time & codespace.
For example, if you know the ID for an item for an item:
import KingCode. ItemTracking.*
public class SomeClass {
public let owner: ref<GameObject>;
public let targetID: ItemID;
public let targetRef: DetailedItemRef;
public Initialize() {
this. SomeFunc();
public func SomeFunc() {
this.owner = GetOwnerRefSomehow();
this.targetID = GetTargetIDSomehow();
this.targetRef = ItemInfoHelper. CreateItemRef(this.targetID, this.owner);
//Get target item's type
public func GetItemType() -> gamedataItemType {
return this.targetRef.itemType;
//Get target item's equip area
public func GetItemType() -> SEquipArea {
return this.targetRef.equipArea;
//Get target item's equip slot
public func GetItemType() -> SEquipSlot {
return this.targetRef.equipSlot;
//Get target item's data
public func GetItemType() -> wref<gameItemData> {
return this.targetRef.itemData;
DetailedItemRef(s) provide quick access to all of the following useful item details: owner, itemID, itemRecord, itemData, itemName, itemType, itemCategory, inventoryItemData, equipArea, equipAreaType, equipAreaIndex, equipAreaSize, equipSlot, slotID, slotIndex, & playerData.
DetailedItemRef(s) can be obtained using a variety of functions:
To obtain an array of DetailedItemRef(s) from a given equip area: ItemInfoHelper. GetEquipAreaItemInfo(gamedataEquipmentArea, GameObject).
To obtain a DetailedItemRef the active item in a given equip area: ItemInfoHelper. GetActiveItemInfo(gamedataEquipmentArea, GameObject).
To obtain a DetailedItemRef for a given item in a given equip area: ItemInfoHelper. GetItemInAreaInfo(ItemID, gamedataEquipmentArea, GameObject).
To obtain a DetailedItemRef for the active item in a given slot: ItemInfoHelper. GetItemInAreaInfo(TweakDBID, GameObject).
With an array of DetailedItemRef(s), you can find specific items by various means including by: ID, type, tag, index, slotID, TweakDBID, & name. Example:
KingCode is a dependency mod by Kingpin RBD, required for most of their other mods. It has 2,073 endorsements and 478,176 downloads, last updated in February 2024. Essential for players using Kingpin RBD's mods.
✨ Key Features
📊 Pros & Cons
✅ Pros
- Massive download count (478k) shows it's a staple for many players.
- Over 2,000 endorsements from the community.
- Actively maintained (last updated Feb 2024).
⚠️ Cons
- No standalone features — it's purely a dependency, so useless on its own.
- Description is minimal, so you won't know what it does until you install a mod that needs it.
- If you don't use Kingpin RBD's mods, this is just dead weight.
For players who use mods by Kingpin RBD and need the required dependency. Skip if you don't use their mods — this does nothing by itself.
💡 Beginner Tips
- Install this mod before any other Kingpin RBD mods to avoid missing dependency errors.
- Use a mod manager like Vortex or MO2 to handle dependencies automatically.
- Check the mod page for the list of mods that require KingCode.
📊 Mod Details
- Game
- Cyberpunk 2077 Mods
- Author
- Kingpin RBD
- Version
- 1.2.0
- Downloads
- 478,176
- Endorsements
- 2,073
- Category
- Modders Resources
- Created
- 12/1/2023
- Updated
- 2/21/2024
🧩 Commonly Used Together
Users add these mods to the same collections — a real compatibility signal, not an AI guess.
🔧 How to Install Cyberpunk 2077 Mods
Download from Nexus.
📖 Full step-by-step install guide for Cyberpunk 2077 →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Cyberpunk 2077 commands, item IDs, and more.
Keep browsing — more Cyberpunk 2077 mods await