513 {
514 Slot slot =
m_Slots.Get( slot_index );
515
516
517
518 if ( slot.IsDigged() || slot.IsPlanted() )
519 {
522
523 HideSelection( str_hide );
524 ShowSelection( str_show );
525 }
526
527 if ( slot.GetFertilityState() ==
eFertlityState.FERTILIZED && slot.GetFertilityType() !=
"" )
528 {
530 }
531 else
532 {
534 }
535 }
string ToStringLen(int len)
Integer to string with fixed length, padded with zeroes.
ref array< ref Slot > m_Slots
static const string SLOT_SELECTION_COVERED_PREFIX
void SetSlotTextureDigged(int slot_index)
static const string SLOT_SELECTION_DIGGED_PREFIX
void SetSlotTextureFertilized(int slot_index, string item_type)