Rising Star 2 明日之星2
https://bbs.3dmgame.com/thread-6533487-1-1.html求修改器 或者修改方法
记一下自己的修改
初始钞票
InstrumentType
startingMoney
初始野心
Musician 性格变更频率
setNpcAttitudeAdjustmentFrequency experienceRank this.addExperience(rng.getNextValue(0, 0) + rng.getNextValue(0, 0) * this.level, false); public ManagerLocation(Block block, int level, Randomizer rng) {
int effectiveSkill = musician.getEffectiveSkill(SkillType.enums.PLAYING);
num += Common.random(effectiveSkill, effectiveSkill + 10);
musician.addExperience(200, false);
if (musician.getBaseSkill(SkillType.enums.PLAYING) < 20)
{
musician.incrementFreeSkill(SkillType.enums.PLAYING, 1);
musician.message(Localize.text("Playing Skill +{0}", new object[] { Common.formatNumber(1) }));
}
} if (Common.random(1, 1) > effectiveSkill)
{
Message.showLocalized("Repair Failed", Array.Empty<object>());
Sound.play("Repair Failure", 1f, null, null);
current.reduceCondition(13f, false);
Stat.adjust(StatType.POINTS_REPAIRED, -3L);
this.musician.addHappiness(3, Happiness.Reason.REPAIR_FAILURE);
}
else
{
Message.showLocalized("Repair Succeeded", Array.Empty<object>());
Sound.play("Repair Success", 1f, null, null);
Equipment equipment = current;
equipment.condition += Mathf.Min(30, num);
current.maxCondition = 100f;
current.musician.setConfigsToBestEquipment(EquipmentConfig.enums.ALL);
this.musician.addHappiness(10, Happiness.Reason.REPAIR_SUCCESS);
if (baseSkill < 100 && Common.random(0, 100) > baseSkill)
{
this.musician.incrementFreeSkill(SkillType.enums.REPAIR, 1);
Message.showLocalized("Repair Skill +1", Array.Empty<object>());
}
long currentValue = Stat.adjust(StatType.POINTS_REPAIRED, (long)num);
Steam.checkForSteppedAchievements("REPAIR_{0}", currentValue, new long[] { 1L, 500L, 2000L });
} public ManagerLocation(Block block, int level, Randomizer rng)
: base(block, rng)
{
if (level == -1)
{
level = Common.random(0, 1);
}
this.nameRaw = Names.randomFull(base.city.area.country.id, Gender.M, rng);
this.nameLocKeyIndex = 0;
this.level = level;
this.setXpForLevel();
this.payPercent = 5 + level / 2;
this.isHired = false;
this.satisfaction = 70;
this.locationType = LocationType.MANAGER;
this.addToCollections(); BuskingCutscene 街头表演 Equipment.reduceBandEquipmentCondition(3, true);设备损坏 private IEnumerator finishMowing()
{
Glb.isJobDone = true;
this.lastMowedDate = Glb.date;
while (CityDrivingMode.instance.threeD.isCutsceneActive)
{
yield return null;
}
int num = 5000;
if (this is CemeteryLocation)
{
num = 7000;
long currentValue = Stat.adjust(StatType.CEMETERIES_LANDSCAPED, 1L);
Steam.checkForSteppedAchievements("MOW_CEMETERY_{0}", currentValue, new long[] { 1L, 10L, 50L });
}
else
{
long currentValue2 = Stat.adjust(StatType.PARKS_LANDSCAPED, 1L);
Steam.checkForSteppedAchievements("MOW_PARK_{0}", currentValue2, new long[] { 1L, 100L, 500L });
}
页:
[1]