补测:钓鱼混币器提回时日志只说地址被标记(不写制裁);测试按钮:钱包加 CRC、自营混币器风声拉满、立刻换成钓鱼混币器、联系人 + 明天镇压
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8afdfa606c
commit
f0a6051591
10 files changed
+34
-1
No files matched your search
@@ -160,6 +160,29 @@ namespace Decentralized
|
||||
st.Applied.RemoveAll(k => k.StartsWith("tumbler_"));
|
||||
st.MixerClosed = st.MixerRebranded = st.MixerHoneypot = false; st.MixerFee = st.MixerVolume = st.MixerRug = 1;
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Hot wallet +2000 CRC (test)", () =>
|
||||
{
|
||||
var w = Session.Data.Hot; w.Add(Assets.CRC, 2000); w.Basis += 2000;
|
||||
Log.Info($"测试:钱包 CRC {w.Get(Assets.CRC):0},污点 {w.Taint:0}");
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "My mixer: max heat (test)", () =>
|
||||
{
|
||||
var m = Session.Data.OwnMix; m.Heat = 1e4;
|
||||
Log.Info($"测试:自营混币器风声拉满,今晚查封概率 {m.SeizeChance(1, false):P0}");
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Mixer: honeypot now (test)", () =>
|
||||
{
|
||||
var d = Session.Data;
|
||||
d.Story.Rebrand(true); d.Story.After.Rebranded = true;
|
||||
d.Addresses["mixer_old"] = d.Address("mixer"); d.Addresses["mixer"] = ChainAddress.Make(d.Rng.NextUInt());
|
||||
Log.Info($"测试:混币器换成钓鱼混币器,费率 {Mixer.Fee:P1}");
|
||||
});
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Tumbler: contact, crackdown tomorrow (test)", () => Log.Guard("联系人测试", () =>
|
||||
{
|
||||
Session.Data.Story.After.Contact = true;
|
||||
StoreStation.Instance.storeEventManager.QueueFuturEvent(OperationListSec.Crackdown(), 1, false);
|
||||
Log.Info("测试:Tumbler 成为联系人,镇压排到明天(玩家不知道)");
|
||||
}));
|
||||
ModHelper.AddDebugFunction(ModInfo.Id, ModInfo.Name, "Tumbler: leak tonight (test)", () =>
|
||||
{
|
||||
var a = Session.Data.Story.After; a.Leaked = false; a.LeakDay = StoreStation.GetDayCounter();
|
||||
|
||||
Reference in new issue
Block a user