From 837c8aaf9c25561e893f73c687af37d26947327e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Benjamin=20B=C3=B6sl?= <benjamin.boesl@fau.de>
Date: Wed, 29 Jan 2020 17:33:21 +0100
Subject: [PATCH] minor stuff

---
 Assets/InventoryStuff/ScrollDetails.cs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Assets/InventoryStuff/ScrollDetails.cs b/Assets/InventoryStuff/ScrollDetails.cs
index 216d9952..3e8d369a 100644
--- a/Assets/InventoryStuff/ScrollDetails.cs
+++ b/Assets/InventoryStuff/ScrollDetails.cs
@@ -49,4 +49,11 @@ public void setScroll(Scroll s) {
         }
         gameObject.transform.GetChild(1).gameObject.GetComponent<TextMeshProUGUI>().text = s.description;
     }
+
+    public void magicButton() {
+        for (int i = 0; i < ParameterDisplays.Length; i++) {
+            Fact facti = ParameterDisplays[i].GetComponent<DropHandling>().currentFact;
+            Declaration decl_i = scroll.declarations[i];
+        }
+    }
 }
-- 
GitLab