Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
MSE201_w_ygos10
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
List
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
Nemo Ma
MSE201_w_ygos10
Commits
11c5b17d
Commit
11c5b17d
authored
Jun 26, 2017
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Version bumped and stablized, INFDEV20
parent
8948c253
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
173 additions
and
7 deletions
+173
-7
Sample.mse-set
Sample.mse-set
+0
-0
data/yugioh-ToText.mse-export-template/export-template
data/yugioh-ToText.mse-export-template/export-template
+140
-0
data/yugioh-ToText.mse-export-template/icon.jpg
data/yugioh-ToText.mse-export-template/icon.jpg
+0
-0
data/yugioh-series10.mse-style/style
data/yugioh-series10.mse-style/style
+3
-3
data/yugioh.mse-game/game
data/yugioh.mse-game/game
+30
-4
No files found.
Sample.mse-set
View file @
11c5b17d
No preview for this file type
data/yugioh-ToText.mse-export-template/export-template
0 → 100644
View file @
11c5b17d
mse version: 2.0.0
short name: Forum Text
full name: 导出文字信息
position hint: 001
icon: icon.jpg
version: 2014-01-01
installer group: Yugioh/Export/Forum Text
depends on:
package: yugioh.mse-game
version: 2009-01-01
game: yugioh
file type: Text file(*.txt)|*.txt|*.*|*.*
create directory:false
option field:
type:choice
name:格式
initial: NW论坛
choice: NW论坛
choice: IDuel论坛
choice: IDuel录入
choice: Ourocg卡查
option field:
type:text
name:YGO系列编号
option style:
格式:
alignment:middle center
font:
size:12
color: rgb(0,0,128)
script:
spelltrap:={
if contains(input, match:"!") then "速攻"
else if contains(input, match:"+") then "装备"
else if contains(input, match:"&") then "场地"
else if contains(input, match:"$") then "反击"
else if contains(input, match:"#") then "仪式"
else if contains(input, match:"%") then "永续"
else "通常"
}
rep:=remove_tags+
replace@(match:"@", replace:"∞")+
replace@(match:"\\^", replace:" ")+
replace@(match:"・", replace:"·")+
replace@(match:"=", replace:"·")+
replace@(match:"%", replace:"●")+
trim
write_monster_ourocg := {
"\n\n中文名:"+card.name+""
+"\n卡片密码:"+card.gamecode
+"\n卡片种类:"+card.card_type
+"\n编号:"+card.number
+"\n属性:"+card.attribute
+"\n星级:"+length(remove_tags(card.level))
+"\n类型:"+replace(match:"・", replace:"·",card.monster_type)
+"\n攻击:"+replace(match: "@", replace: "∞",card.attack)
+"\n防御:"+replace(match: "@", replace: "∞",card.defense)
+"\n效果:"+rep(card.rule_text)
}
write_nonmonster_ourocg := {
"\n\n中文名:"+card.name+""
+"\n卡片密码:"+card.gamecode
+"\n卡片种类:"+spelltrap()+card.card_type
+"\n编号:"+card.number
+"\n效果:"+rep(card.rule_text)
}
write_monster_NWforum := {
"\n\n"+card.number
+" "+card.name
+" "+card.card_type
+" "+card.attribute
+" "+length(remove_tags(card.level))+"星"
+" "+replace(match: "族", replace: "",card.type_1)
+" "+replace(match: "@", replace: "∞",card.attack)
+" "+replace(match: "@", replace: "∞",card.defense)
+" "+card.gamecode
+"\n"+rep(card.rule_text)
}
write_nonmonster_NWforum := {
"\n\n"+card.number
+" "+card.name
+" "+spelltrap()+card.card_type
+" "+card.gamecode
+"\n"+rep(card.rule_text)
}
write_monster_IDforum := {
"\n\n["+card.name+"]"
+"\n"+card.card_type
+"\n种族:"+card.type_1
+"\n属性:"+card.attribute
+"\n星级:"+length(remove_tags(card.level))
+"\n攻击:"+replace(match: "@", replace: "∞",card.attack)
+"\n防御:"+replace(match: "@", replace: "∞",card.defense)
+"\n效果:"+rep(card.rule_text)
}
write_nonmonster_IDforum := {
"\n\n["+card.name+"]"
+"\n"+card.card_type
+"种类:"+spelltrap()
+"\n效果:"+rep(card.rule_text)
}
write_monster_IDdll := {
"\n\n["+card.name+"]"
+"\n"+card.card_type
+",种族:"+card.type_1
+",属性:"+card.attribute
+",星级:"+length(remove_tags(card.level))
+",攻击:"+replace(match: "@", replace: "∞",card.attack)
+",防御:"+replace(match: "@", replace: "∞",card.defense)
+",效果:"+rep(card.rule_text)
}
write_nonmonster_IDdll := {
"\n\n["+card.name+"]"
+"\n"+card.card_type
+"种类:"+spelltrap()
+",效果:"+rep(card.rule_text)
}
ad:={
if contains(a, match:"?") then "-2"
else if contains(a, match:"?") then "-2"
else if contains(a, match:"@") then "-2"
else to_int(a) or else 0
}
code:={
to_int(card.gamecode) or else 0
}
write_card := {
if options.格式=="IDuel论坛" then if is_monster() then write_monster_IDforum() else write_nonmonster_IDforum()
else if options.格式=="NW论坛" then if is_monster() then write_monster_NWforum() else write_nonmonster_NWforum()
else if options.格式=="IDuel录入" then if is_monster() then write_monster_IDdll() else write_nonmonster_IDdll()
else if is_monster() then write_monster_ourocg() else write_nonmonster_ourocg()
}
write_cards := to_text(for each card in sort_list(cards, order_by: {card.number+card.name}) do write_card())
to_string(write_cards)
data/yugioh-ToText.mse-export-template/icon.jpg
0 → 100644
View file @
11c5b17d
17.7 KB
data/yugioh-series10.mse-style/style
View file @
11c5b17d
mse version:
0.3.8
mse version:
2.0.0
game: yugioh
short name: Series10 Extra
full name: With Extended Art & i18n
...
...
@@ -6,10 +6,10 @@ installer group: Yugioh/Series10
icon: card-sample.png
position hint: 01
version: 201
4-04-11
version: 201
7-06-26
depends on:
package: yugioh.mse-game
version: 201
4-04-11
version: 201
7-06-26
depends on:
package: yugioh-standard-levels.mse-symbol-font
version: 2014-04-11
...
...
data/yugioh.mse-game/game
View file @
11c5b17d
mse version:
0.3.8
mse version:
2.0.0
full name: Yu-Gi-Oh!
short name:
Yu-Gi-Oh!
short name:
遊☆戯☆王
installer group: Yugioh/game files
icon: card-back.png
position hint: 4
version: 201
4-04-11
version: 201
7-06-26
############################################################## The script
...
...
@@ -20,3 +20,29 @@ include file: word_lists
include file: auto_replace
############################################################## Other stuff
################## Colored List moved here?! ##########################
card list color script:
input := card.card_type
if input == "normal monster" then rgb(197,179,53)
else if input == "effect monster" then rgb(208,109,41)
else if input == "fusion monster" then rgb(90,45,150)
else if input == "ritual monster" then rgb(55,77,197)
else if input == "synchro monster" then rgb(215,215,215)
else if input == "dark synchro monster" then rgb(92,64,51)
else if input == "xyz monster" then rgb(21,261,21)
else if input == "pendulum normal monster" then rgb(197,179,53)
else if input == "pendulum effect monster" then rgb(208,109,41)
else if input == "pendulum fusion monster" then rgb(90,45,150)
else if input == "pendulum ritual monster" then rgb(55,77,197)
else if input == "pendulum synchro monster" then rgb(215,215,215)
else if input == "pendulum dark synchro monster" then rgb(92,64,51)
else if input == "pendulum xyz monster" then rgb(21,261,21)
else if input == "pandemonium monster" then rgb(121,121,121)
else if input == "bigbang monster" then rgb(121,121,121)
else if input == "token monster" then rgb(121,121,121)
else if input == "link monster" then rgb(89,89,171)
else if input == "spell card" then rgb(67,161,99)
else if input == "trap card" then rgb(148,54,128)
else rgb(0,0,0)
\ No newline at end of file
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