Silence a few wmlscope warnings

This commit is contained in:
Elvish_Hunter 2022-01-07 10:59:07 +01:00
parent 79694e18c0
commit f14267db14
2 changed files with 6 additions and 0 deletions

View file

@ -370,6 +370,7 @@ There is a filter function to show only a subset of the available items — this
# wmllint: markcheck off
# wmllint: unbalanced-on
# wmlindent: start ignoring
# wmlscope: start ignoring
# This section uses << >> quotes so that curly brackets can be used without being interpreted by the preprocessor
# Note: If you change the following description string or this comment line, run wmllint on this file afterwards and make sure wmllint doesn't "improve" the map_data={...} lines.
[topic]
@ -408,6 +409,7 @@ Files created by the scenario editor have the contents of a WML scenario element
The opposite applies when a scenario is part of a campaign or other add-on. Typically each scenario has its own .cfg file, however this is unnecessary - all of the WML in an add-on will be combined by the preprocessor, it doesnt matter whether the add-on is written as separate files or not. The engine needs the [scenario]...[/scenario] (or [multiplayer]...[/multiplayer]) tags to know which WML is part of each scenario.>>
[/topic]
# wmlscope: stop ignoring
# wmlindent: stop ignoring
# wmllint: unbalanced-off
# wmllint: markcheck on

View file

@ -8,6 +8,7 @@
profile="portraits/monsters/scorpion-rock.png~RIGHT()"
# not done yet
#ifdef __UNUSED__
# wmlscope: start ignoring
[standing_anim]
start_time=0
direction=s,sw,se
@ -22,6 +23,7 @@
image="units/monsters/scorpion/rock-scorpion-ne.png:150"
[/frame]
[/standing_anim]
# wmlscope: stop ignoring
#endif
hitpoints=35
movement_type=scuttlefoot
@ -84,6 +86,7 @@
[/attack_anim]
# not done yet
#ifdef __UNUSED__
# wmlscope: start ignoring
[attack_anim]
[filter_attack]
name=pincers
@ -99,6 +102,7 @@
[/frame]
{SOUND:HIT_AND_MISS pincers.ogg {SOUND_LIST:MISS} -150}
[/attack_anim]
# wmlscope: stop ignoring
#endif
[attack_anim]
[filter_attack]