some common knowledges Doesn't work
When I tried to make a mod, I found mining_efficiency and sharp_axes have no effect
public override BehResult execute(Actor pActor)
{
pActor.beh_building_target.extractResources(pActor, pActor.beh_building_target.stats.resources_given);
pActor.inventory.add(pActor.beh_building_target.stats.resource_id, pActor.beh_building_target.stats.resources_given);
return BehResult.Continue;
}
}
}
pActor.beh_building_target.extractResources(pActor,pActor.beh_building_target.stats.resources_given);
The reason is that the return value of the above code is not received
Comments: 1
-
09 Dec, '21
yitiaoyu?This problem has existed in the last version, I hope developers can fix it