If done on purpose (allowing negative here) then it is to allow the script writer to subtract from the player's cash/ore supplies for whatever reason.