YoHoJo
2012-02-01 15:38:53
2012-02-01 15:38:53
2012-02-01 15:41:46
2012-02-01 15:49:48
2012-02-01 19:45:11
function MSI_MineInvFull: Boolean;
begin
Result := MSI_AutoInvFull(@MSI_MineRock)); // MSI_AutoInvFull in Skills.simba
if (MSI_Players[CurrentPlayer].CoalBag) then
if (MSI_FillCoalBag()) then // MSI_FillCoalBag would be in Mining.simba
begin
Result := false;
Result := MSI_AutoInvFull(@MSI_MineRock);
end;
end;
It'll still return true if it failed to fill the coal bag. The function MSI_FillCoalBag will have to add the inventory slot it's found in to the player's exceptions array, but that's easy. You can look at MSI_FindTool for a reference if needed.
2012-02-01 20:09:19
2012-02-20 01:59:06