Commit 11c5b17d authored by Nemo Ma's avatar Nemo Ma

Version bumped and stablized, INFDEV20

parent 8948c253
No preview for this file type
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)
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: 2014-04-11
version: 2017-06-26
depends on:
package: yugioh.mse-game
version: 2014-04-11
version: 2017-06-26
depends on:
package: yugioh-standard-levels.mse-symbol-font
version: 2014-04-11
......
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: 2014-04-11
version: 2017-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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment