3 private float m_WetnessGainMultiplier = 1.0;
7 m_QuantityUsedPerSecond = quantity_used_per_second;
8 m_DefaultTimeToRepeat = time_to_repeat;
9 m_WetnessGainMultiplier = wetness_gain_multiplier;
12 override void CalcAndSetQuantity(
ActionData action_data)
18 m_SpentUnits.param1 = m_SpentQuantity;
19 SetACData(m_SpentUnits);
22 Object targetObject = action_data.m_Target.GetObject();
28 float wetness = (m_SpentQuantity / 1000) * m_WetnessGainMultiplier;
29 fireplace.AddWetnessToFireplace(wetness);
32 action_data.m_MainItem.AddQuantity(-m_SpentQuantity);
40 action_data.m_Player.GetSoftSkillsManager().AddSpecialty(
UASoftSkillsWeight.ROUGH_MEDIUM);
42 return super.Interrupt(action_data);
45 void MultiplyQuantityUsed(
float coef)
47 m_QuantityUsedPerSecond *= coef;