summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven G. Brönstrup2021-12-20 00:42:50 +0100
committerSven G. Brönstrup2021-12-20 00:42:50 +0100
commit76073dd28c46f59c247f09846f43bd92c016f8af (patch)
treee039745ab6d0504d1df969ac23692dc07f76619c
parent7e65bc46f66c6073c998cfaea2a9644cbb9b896a (diff)
Added extended script action zone properties
-rw-r--r--lib/Properties.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Properties.hs b/lib/Properties.hs
index 551c502..75b69ae 100644
--- a/lib/Properties.hs
+++ b/lib/Properties.hs
@@ -499,6 +499,17 @@ checkTileLayerProperty p@(Property name _value) = case name of
isString p
requireProperty "bellVariable"
+ -- | these properties are used by the extended script to allow action zones¶
+ "bindVariable" -> do
+ isString p
+ requireProperty "zone"
+ "enterValue" -> do
+ isString p
+ requireProperty "bindVariable"
+ "leaveValue" -> do
+ isString p
+ requireProperty "bindVariable"
+
-- name on tile layer unsupported
"name" -> isUnsupported