Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
408 B · 17 lines
C++
at main
1234567891011121314151617#include "stdafx.h"#include "PickupTask.h"
void PickupTask::onTake(shared_ptr<ItemInstance> item, unsigned int invItemCountAnyAux, unsigned int invItemCountThisAux){ if(item->id == m_itemId) { if(m_auxValue == -1 && invItemCountAnyAux >= m_quantity) { bIsCompleted = true; } else if( m_auxValue == item->getAuxValue() && invItemCountThisAux >= m_quantity) { bIsCompleted = true; } }}