From 5d096d5f58af4dcf2168fd2973dff0641749ea41 Mon Sep 17 00:00:00 2001 From: Emik Date: Thu, 9 Apr 2026 20:04:27 +0200 Subject: [PATCH] Add G.calckeys and G.calccontext debugging tools --- .gitignore | 3 +++ manifest.json | 4 ++-- src/blind.lua | 2 ++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1809889..cb1b7c5 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,6 @@ luac.out *.i*86 *.x86_64 *.hex + +# Syncthing +.stfolder diff --git a/manifest.json b/manifest.json index 7ba5379..d780aff 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "author": [ "Emik" ], - "version": "2.2.7", + "version": "2.2.8", "badge_colour": "8BE9FD", "main_file": "src/main.lua", "badge_text_colour": "44475A", @@ -15,7 +15,7 @@ "provides": [], "conflicts": [], "dependencies": [ - "Steamodded (>=1.*)", + "Steamodded (>=1.0~*)", "Lovely (>=0.6)", "Bakery (>=0.1.26~*)" ] diff --git a/src/blind.lua b/src/blind.lua index 40e1570..b37a206 100644 --- a/src/blind.lua +++ b/src/blind.lua @@ -337,6 +337,8 @@ function SMODS.current_mod:calculate(context) modifiers.Roland_martingale_seed = (modifiers.Roland_martingale_seed or 0) + 1 end + local _ = type(G.calccontext) == "function" and G.calccontext(context) + local _ = type(G.calckeys) == "function" and G.calckeys(f(context):keys()) local _ = type(G.calc) == "function" and G.calc(f(context):keys():string()) local improbable, orig = G.GAME.modifiers.Roland_improbable, G.GAME.probabilities