464 {
465 string player_class = player.GetPlayerClass();
466 int slot_id;
468
470 {
472 eai = player.GetInventory().FindPlaceholderForSlot( slot_id );
473
474 if (eai)
475 {
476 eai.SetObjectMaterial( 0,
m_BloodyHands.Get(player_class).GetMaterial(material_type) );
477 }
478 }
479 else
480 {
481
482 }
483 }
ref map< string, ref BloodyHands > m_BloodyHands
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id
provides access to slot configuration