some common knowledges Doesn't work

26 votes

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

Not a Bug mod related Suggested by: yitiaoyu? Upvoted: 25 Feb Comments: 1

Comments: 1
OldestNewestMost likesFewest likes