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

Investigating Suggested by: yitiaoyu? Upvoted: 07 May Comments: 1

Comments: 1

Add a comment

0 / 1,000

* Your name will be publicly visible

* Your email will be visible only to moderators