Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
b430e568
Commit
b430e568
authored
Oct 13, 2008
by
artfreakwiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No commit message
No commit message
parent
d2d9cc77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
25 deletions
+7
-25
data/vs.mse-game/game
data/vs.mse-game/game
+7
-25
No files found.
data/vs.mse-game/game
View file @
b430e568
...
@@ -48,25 +48,6 @@ init script:
...
@@ -48,25 +48,6 @@ init script:
}
}
############################################################## Text Filters
############################################################## Text Filters
############### Symbol Filter
#X#symbol_filter :=
#X# # step 5a : add arrow/diamond/dot symbols
#X# replace_rule(
#X# match: "->|>>>|@|<>",
#X# replace: "<sym-auto>&</sym-auto>");
#X#new_symbols :=
#X# symbol_filter +
#X# # step 5a: Majority of affiliation symbols
#X# replace_rule(
#X# match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men",
#X# replace: "<sym-auto>&</sym-auto>") +
#X# # step 5b: SHIELD Variations
#X# replace_rule(
#X# match: "S.H.I.E.L.D.|SHIELD|Shield",
#X# replace: "<sym-auto>Shield</sym-auto>");
############### Other Text Filters
card_shape := { "new" }
card_shape := { "new" }
# - adds all symbols
# - adds all symbols
# - bolds keywords
# - bolds keywords
...
@@ -193,7 +174,11 @@ init script:
...
@@ -193,7 +174,11 @@ init script:
}
}
is_character := { contains(card.card_type, match: "characters")
is_character := { contains(card.card_type, match: "characters")
}
}
is_concealed := { contains(card.card_type, match: "concealed")
is_concealed_optional := { contains(card.card_type, match: "concealed-optional") or
contains(card.rule_text, match: "Concealed—Optional")
}
is_concealed := { contains(card.card_type, match: "hidden") or
contains(card.rule_text, match: "Concealed")
}
}
is_equipment := { contains(card.card_type, match: "equipment")
is_equipment := { contains(card.card_type, match: "equipment")
}
}
...
@@ -697,7 +682,6 @@ card field:
...
@@ -697,7 +682,6 @@ card field:
card field:
card field:
type: text
type: text
name: copyright
name: copyright
script: symbol_filter(value)
default: set.copyright
default: set.copyright
multi line: true
multi line: true
show statistics: false
show statistics: false
...
@@ -713,10 +697,8 @@ card field:
...
@@ -713,10 +697,8 @@ card field:
choice: both
choice: both
initial: visible
initial: visible
script:
script:
if is_character() and contains(card.rule_text, match: "Concealed—Optional") then "both"
if is_concealed_optional() then "both"
else if contains(card.card_type, match: "hidden") then "concealed"
else if is_concealed() then "concealed"
else if is_equipment() and contains(card.rule_text, match: "Concealed—Optional") then "both"
else if is_equipment() and contains(card.rule_text, match: "Concealed") then "concealed"
else "visible"
else "visible"
editable: false
editable: false
show statistics: false
show statistics: false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment