DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CanPaintItem()

static bool PaintItem::CanPaintItem ( ItemBase item_tool,
ItemBase item_target )
inlinestaticprivate

См. определение в файле PaintItem.c строка 13

14 {
15 string spray_color = item_tool.ConfigGetString("color");
16 string item_color = item_target.ConfigGetString("color");
17
18 if( spray_color != item_color )
19 {
20 return true;
21 }
22 else
23 {
24 return false;
25 }
26 }

Используется в RecipeBase::CanDo().