public void OneStepReward(Expedition e) { e.AddCrystals((int)(ONE_STEP_CRYSTALS * ((0.75f + 0.5f * (0.5f + 0.5f * friendliness) * Random.value) * (1f + difficulty) * (0.25f + 0.75f * richness)))); e.crew.AddExperience(ONE_STEP_XP * (1f + difficulty)); }