DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
ActionAttachSeeds.c
См. документацию.
2{
3 override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
4 {
5 EntityAI targetEntity = EntityAI.Cast(target.GetObject());
6 if (targetEntity && !GardenBase.Cast(targetEntity) && item)
7 {
8 return targetEntity.GetInventory() && targetEntity.GetInventory().CanAddAttachment(item) && !targetEntity.CanUseConstruction());
9 }
10
11 return false;
12 }
13}
AttachActionData ActionData ActionAttach()
Определения ActionAttach.c:9
class ActionTargets ActionTarget
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
Определения ActionAttachSeeds.c:3
Определения Building.c:6
Определения GardenPlot.c:2
Определения InventoryItem.c:731
Определения PlayerBaseClient.c:2