|
|
|
@ -1060,17 +1060,23 @@ namespace MWMechanics
|
|
|
|
|
std::string_view action = evt.substr(groupname.size() + 2);
|
|
|
|
|
if (action == "equip attach")
|
|
|
|
|
{
|
|
|
|
|
if (groupname == "shield")
|
|
|
|
|
mAnimation->showCarriedLeft(true);
|
|
|
|
|
else
|
|
|
|
|
mAnimation->showWeapons(true);
|
|
|
|
|
if (mUpperBodyState == UpperBodyState::Equipping)
|
|
|
|
|
{
|
|
|
|
|
if (groupname == "shield")
|
|
|
|
|
mAnimation->showCarriedLeft(true);
|
|
|
|
|
else
|
|
|
|
|
mAnimation->showWeapons(true);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if (action == "unequip detach")
|
|
|
|
|
{
|
|
|
|
|
if (groupname == "shield")
|
|
|
|
|
mAnimation->showCarriedLeft(false);
|
|
|
|
|
else
|
|
|
|
|
mAnimation->showWeapons(false);
|
|
|
|
|
if (mUpperBodyState == UpperBodyState::Unequipping)
|
|
|
|
|
{
|
|
|
|
|
if (groupname == "shield")
|
|
|
|
|
mAnimation->showCarriedLeft(false);
|
|
|
|
|
else
|
|
|
|
|
mAnimation->showWeapons(false);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else if (action == "chop hit" || action == "slash hit" || action == "thrust hit" || action == "hit")
|
|
|
|
|
{
|
|
|
|
|