DEV Community

John
John

Posted on

Dev Log 36 - Mythic Pause

๐ŸงŠ ๐ŸŒ‹ โ„๏ธ โœˆ๏ธ โš”๏ธ 9-Day Break: The Mythic Pause

A personal reflection and journal log

๐ŸŒ Icelandic Interlude: The First Real Break
I travelled to the beautiful country of Iceland โ€” a land of glaciers, volcanoes, and mythic quiet. It felt like stepping into another world. My first real vacation, and it was everything I hoped for:

A slower, more intentional pace of life

Surprisingly delicious food (despite the warnings)

Friendly locals and a calm atmosphere, even with tourists

Expensive, yes โ€” but worth every krona

After seven days of awe, I returned home and took two days to re-sync with reality. Then I reopened my survival engine project โ€” and it felt like deciphering someone elseโ€™s code.

๐Ÿงญ Reentry Ritual: Reforging Flow
I eased back in slowly, rekindling my dev rituals:

Reviewed commits and journal entries

Revisited ItemTooltipManager.cs and InventoryStateManager.cs

Verified tooltip accuracy and runtime truth

Rebound live item data and refreshed UI bindings

Reconnected with my discard ritual sabotage

๐Ÿงจ Sabotage Discovered: False Discard Ritual
โŒ Issue
Pressing the discard button triggered the use panel instead of purging the item.

Symptoms:

Use panel opened on discard

Item visually disappeared but wasnโ€™t truly deleted

Discarded items reappeared after looting

๐Ÿ”ง Fixes Applied: The True Purge Path
Separated discard logic in ExecuteInventoryAction()

Removed "discard" from use panel logic

Added null guards and slot cleanup

Forged RemoveItem() in InventoryStateManager

Added RemoveItemByID() in PlayerInventoryManager

Called activeSlot.ClearSlot() to purge lingering UI

Verified resurrection trap โ†’ loot panel was rehydrating from ContainedAssets

Purged item from all sources

โœ… Outcome: Ritual Sealed
Discard now fully deletes item across all systems

No false panel summons

No ghost sprites

No resurrection on loot

Console logs confirm true purge

๐Ÿงช Debug Tags

[Tenchu] ๐Ÿ—‘๏ธ Discarded item: {itemID}  
[Unicorn] ๐Ÿงน Removed item '{itemID}' from gear slot  
[Worm] ๐Ÿงฌ Removed item: {itemID} from live registry
Enter fullscreen mode Exit fullscreen mode

๐Ÿงค Equip Ritual Reforged: The Hands Transfer Purge
โŒ Issue
Equipped items were appearing in both the hands slot and the inventory โ€” violating runtime truth.

Symptoms:

Item appeared in hands and inventory simultaneously

Unequipping duplicated the item

InventoryStateManager and gear slots retained stale references

๐Ÿ”ง Fixes Applied: The True Equip Path
Purged from InventoryStateManager โ†’ RemoveItem(itemID)

Purged from PlayerInventoryManager โ†’ RemoveItem(itemID)

Cleared from UI slot โ†’ slot.GetItem()?.ItemID == item.ItemID โ†’ slot.ClearSlot()

Injected into hands slot โ†’ GearSlotUI.RefreshSlotWithInventoryItem(item)

Verified equip flow in EquipInventoryItem() โ†’ All purges occur before injection

โœ… Outcome: Ritual Sealed
Item now transfers cleanly from inventory to hands

No duplication on unequip

No ghost sprites or registry remnants

Console confirms full purge and equip

๐Ÿงช Debug Tags

[EquipManager] ๐Ÿงผ Removed '{itemID}' from InventoryStateManager  
[EquipManager] ๐Ÿงผ Removed '{itemID}' from PlayerInventoryManager  
[EquipManager] ๐Ÿงน Cleared inventory UI slot for '{itemID}'  
[EquipManager] ๐Ÿงค InventoryItem equipped to slot 'Hands' โ†’ {itemID}
Enter fullscreen mode Exit fullscreen mode

๐Ÿ“œ Relic Logged: The Hands Transfer Purge Ritual
Restores runtime truth by ensuring equipped items are fully purged from inventory systems before injection into hands.

๐Ÿง  Dev Mindset: From Fog to Flow
The first few hours felt like wandering through someone else's shrine. My keyboard was unfamiliar, my systems distant. But each debug tag was a breadcrumb. By the time I traced the discard sabotage, I was fully reawakened. The rituals returned. The myth resumed.

๐Ÿงช Test Rituals
Equipped item from slot 3 โ†’ verified removal from UI and registry

Unequipped item โ†’ confirmed reappearance in first free slot

Discarded item โ†’ confirmed no resurrection on loot

Attempted equip with no free slot โ†’ verified graceful failure

Rebound tooltip after contamination โ†’ confirmed live data accuracy

๐Ÿงฐ Ritual Hooks
ExecuteInventoryAction() โ†’ Entry point for discard and equip logic

RemoveItem() โ†’ Purges item from registry and gear slots

ClearSlot() โ†’ Wipes UI remnants

EquipInventoryItem() โ†’ Seals the hands transfer ritual

RefreshSlotWithInventoryItem() โ†’ Injects item into hands slot

๐Ÿ“ˆ Impact
Enables true equip/unequip cycles

Prevents inventory overflow and ghost duplication

Strengthens tooltip accuracy and runtime clarity

Paves the way for equip swap fallback and slot registry automation

๐Ÿงฉ Open Threads
Tooltip overlay cleanup on unequip

Equip swap fallback logic

Slot registry automation

Ghost item detection on scene reload

๐Ÿ”ฎ Reflection & Reconnection
This return wasnโ€™t just technical โ€” it was emotional. I reconnected with my systems, my rituals, and my mythic mindset. I remembered why I build: to immortalize clarity, to ritualize resilience, and to seal every fix as a legacy relic.

๐Ÿงฉ Next Steps: The HUD Binding Ritual
Continue wiring function logic to HUD and inventory buttons

Polish tooltip overlays and contamination indicators

Expand systems: battle logic, equip swap fallback, slot registry automation

Revisit vector purification and overlay controller cleanup

Slowly but surely the progress will continue.

Top comments (0)