538 {
540
542
543 ShowSelection( str_digged );
544 string texture = textures.Get(0);
545 SetObjectTexture( slot_index, texture );
546
547 Slot slot =
m_Slots.Get( slot_index );
548
549 if ( slot.GetWateredState() == 0 )
550 {
551
553 }
554 else
555 {
556
558 }
559 }
string ToStringLen(int len)
Integer to string with fixed length, padded with zeroes.
static const string SLOT_MATERIAL_DRY
ref array< ref Slot > m_Slots
static const string SLOT_MATERIAL_WET
static const string SLOT_SELECTION_DIGGED_PREFIX
array< string > TStringArray