mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 01:15:33 +00:00
Revise esmtool cell reference output
This commit is contained in:
parent
94c1672e73
commit
4e22f03ece
1 changed files with 29 additions and 10 deletions
|
@ -258,18 +258,37 @@ void loadCell(ESM::Cell &cell, ESM::ESMReader &esm, Arguments& info)
|
|||
if(quiet) continue;
|
||||
|
||||
std::cout << " Refnum: " << ref.mRefNum.mIndex << std::endl;
|
||||
std::cout << " ID: '" << ref.mRefID << "'\n";
|
||||
std::cout << " Owner: '" << ref.mOwner << "'\n";
|
||||
std::cout << " Global: '" << ref.mGlobalVariable << "'" << std::endl;
|
||||
std::cout << " Faction: '" << ref.mFaction << "'" << std::endl;
|
||||
std::cout << " Faction rank: '" << ref.mFactionRank << "'" << std::endl;
|
||||
std::cout << " Enchantment charge: '" << ref.mEnchantmentCharge << "'\n";
|
||||
std::cout << " Uses/health: '" << ref.mChargeInt << "'\n";
|
||||
std::cout << " Gold value: '" << ref.mGoldValue << "'\n";
|
||||
std::cout << " Blocked: '" << static_cast<int>(ref.mReferenceBlocked) << "'" << std::endl;
|
||||
std::cout << " ID: " << ref.mRefID << std::endl;
|
||||
std::cout << " Position: (" << ref.mPos.pos[0] << ", " << ref.mPos.pos[1] << ", " << ref.mPos.pos[2] << ")" << std::endl;
|
||||
if (ref.mScale != 1.f)
|
||||
std::cout << " Scale: " << ref.mScale << std::endl;
|
||||
if (!ref.mOwner.empty())
|
||||
std::cout << " Owner: " << ref.mOwner << std::endl;
|
||||
if (!ref.mGlobalVariable.empty())
|
||||
std::cout << " Global: " << ref.mGlobalVariable << std::endl;
|
||||
if (!ref.mFaction.empty())
|
||||
std::cout << " Faction: " << ref.mFaction << std::endl;
|
||||
if (!ref.mFaction.empty() || ref.mFactionRank != -2)
|
||||
std::cout << " Faction rank: " << ref.mFactionRank << std::endl;
|
||||
std::cout << " Enchantment charge: " << ref.mEnchantmentCharge << std::endl;
|
||||
std::cout << " Uses/health: " << ref.mChargeInt << std::endl;
|
||||
std::cout << " Gold value: " << ref.mGoldValue << std::endl;
|
||||
std::cout << " Blocked: " << static_cast<int>(ref.mReferenceBlocked) << std::endl;
|
||||
std::cout << " Deleted: " << deleted << std::endl;
|
||||
if (!ref.mKey.empty())
|
||||
std::cout << " Key: '" << ref.mKey << "'" << std::endl;
|
||||
std::cout << " Key: " << ref.mKey << std::endl;
|
||||
std::cout << " Lock level: " << ref.mLockLevel << std::endl;
|
||||
if (!ref.mTrap.empty())
|
||||
std::cout << " Trap: " << ref.mTrap << std::endl;
|
||||
if (!ref.mSoul.empty())
|
||||
std::cout << " Soul: " << ref.mSoul << std::endl;
|
||||
if (ref.mTeleport)
|
||||
{
|
||||
std::cout << " Destination position: (" << ref.mDoorDest.pos[0] << ", "
|
||||
<< ref.mDoorDest.pos[1] << ", " << ref.mDoorDest.pos[2] << ")" << std::endl;
|
||||
if (!ref.mDestCell.empty())
|
||||
std::cout << " Destination cell: " << ref.mDestCell << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue