From 21a3909202885f684668dee41adebf055912e6ec Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sat, 29 Mar 2025 16:43:30 +0100 Subject: [PATCH] Maxwires --- cookother.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cookother.yml b/cookother.yml index accf5988..4d94cd90 100644 --- a/cookother.yml +++ b/cookother.yml @@ -178,3 +178,15 @@ round(v1 * 3, 2) files: - "Content/Items/**/*.xml" + +- name: morewires + regex: (?-s)!num)|/>) + lua: | + print(maxwires, s1) + if maxwires then + maxwires = round(maxwires * 4, 2) + else + s1 = "maxwires=\"10\" />" + end + files: + - "Content/Items/**/*.xml"