Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
walint
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
hub
walint
Merge requests
!1
Extended scripts support
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Extended scripts support
starpeak/walint:extended-scripts
into
main
Overview
17
Commits
13
Pipelines
0
Changes
1
Merged
StarPeak
requested to merge
starpeak/walint:extended-scripts
into
main
3 years ago
Overview
17
Commits
13
Pipelines
0
Changes
1
Lint the WorkAdventure Extended Features Door, Bell, and Action Zone
0
0
Merge request reports
Viewing commit
76073dd2
Prev
Next
Show latest version
1 file
+
11
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
76073dd2
Added extended script action zone properties
· 76073dd2
Sven G. Brönstrup
authored
3 years ago
lib/Properties.hs
+
11
−
0
View file @ 76073dd2
Edit in single-file editor
Open in Web IDE
Show full file
@@ -228,7+228,7 @@
checkObjectProperty
::
Object
->
Property
->
LintWriter
Layer
checkObjectProperty
obj
p
@
(
Property
name
_
)
=
case
name
of
"url"
->
do
pure
()
unwrapURI
(
Proxy
@
"website"
)
p
(
dependsOn
.
Link
)
(
dependsOn
.
Local
)
@@ -499,7+499,7 @@
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
Loading