Tumbler 扩展:治安部探员与搜查、密钥泄露还原出款污点、审判预测盘、黑市跑路、报复、长期联系人、混币器换皮重开
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0f26d88c03
commit
a37dd4ca7c
19 files changed
+904
-20
No files matched your search
@@ -144,11 +144,43 @@ namespace Decentralized
|
||||
var t = Session.Data.Story.Tumbler; int day = StoreStation.GetDayCounter();
|
||||
if (t.StartDay < 0) t.StartDay = day;
|
||||
t.StartDay = day - Tumbler.Offsets[System.Math.Min(t.Stage, Tumbler.Offsets.Length - 1)]; t.VisitedDay = -1;
|
||||
var af = Session.Data.Story.After;
|
||||
if (af.AgentDay >= day) af.AgentDay = day - 1;
|
||||
if (af.SearchDay >= day) af.SearchDay = day - 1;
|
||||
PlayerStore.Instance.currentClientInstance = null;
|
||||
var m = PlayerStore.Instance.storeClientManager;
|
||||
TumblerStory.ForceVisit(m);
|
||||
PlayerStore.Instance.TryCallNextClient();
|
||||
}));
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Tumbler: leak tonight (test)", () =>
|
||||
{
|
||||
var a = Session.Data.Story.After; a.Leaked = false; a.LeakDay = StoreStation.GetDayCounter();
|
||||
Log.Info($"测试:今晚泄露,出款记录 {Session.Data.Mixer.Returns.Count} 条");
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Tumbler: trial market now (test)", () => Log.Guard("审判盘测试", () =>
|
||||
{
|
||||
var d = Session.Data; var a = d.Story.After; int day = StoreStation.GetDayCounter();
|
||||
a.Verdict = -1; a.TrialMarket = a.TrialDone = false; a.Hints.Clear(); a.HintDay = -1;
|
||||
a.StartTrial(day - Tuning.TumblerTrialOpen, d.Rng);
|
||||
PredictGame.OpenTrial(d, day);
|
||||
Log.Info($"测试:审判盘开盘,第 {a.TrialDay} 天宣判,判决 {a.Verdict}");
|
||||
Session.Save();
|
||||
}));
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Tumbler: revenge tonight (test)", () =>
|
||||
{
|
||||
var a = Session.Data.Story.After; a.Revenged = false; a.RevengeDay = StoreStation.GetDayCounter();
|
||||
Log.Info("测试:今晚报复");
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Tumbler: BM rug tonight (test)", () =>
|
||||
{
|
||||
var a = Session.Data.Story.After; a.BmRugged = false; a.BmRugDay = StoreStation.GetDayCounter();
|
||||
Log.Info($"测试:今晚黑市跑路,在途 {Session.Data.Mixer.Pending.Count} 笔");
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Mixer: rebrand tonight (test)", () =>
|
||||
{
|
||||
var a = Session.Data.Story.After; a.Rebranded = false; a.ClosedDay = StoreStation.GetDayCounter() - Tuning.TumblerRebrandDays;
|
||||
Log.Info("测试:今晚换皮重开");
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Lower-level rep +30 (test)", () => StoreReputation.ModReputation(StoreReputation.FACTION_LOWER_LEVEL, 30));
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Dump crimes and reputation (test)", () => Log.Guard("罪证与声望", () =>
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user