Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOTC-Style Card Set Parser #2

Closed
ronelm2000 opened this issue Apr 10, 2020 · 1 comment
Closed

HOTC-Style Card Set Parser #2

ronelm2000 opened this issue Apr 10, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ronelm2000
Copy link
Owner

ronelm2000 commented Apr 10, 2020

Allow certain .txt files to be parsed using a format typically reserved for HOTC text.
You must explictly tell the parser that the file to be parsed is HOTC format.

Example:
./wstools parse path/to/file.txt --with hotc

file.txt format:

Random Text Information May Be Inserted Here.
For example, you can put some author notes or links to your discord server
as ads or something.
================================================================================

Interesting Titles Participating!
気になるタイトル続々参戦!
Card No.: CGS/WS01-P01  Rarity: PR
Color: Blue   Side: Weiss  Climax
Level: 0   Cost: 0   Power: 0   Soul: 0
Traits: None
Triggers: 2 Soul 
Flavor: Hey, you should Weiss Schwarz too!
TEXT: [A] When this is placed from hand to the Climax Zone, remove all cards in
your Library and Waiting Room from the game, and use a new deck with a
different sleeve as that Library as Library, and continue the game. For the
rest of the game, whenever a card from the old deck would be placed in the
Waiting Room, instead remove it from the game.
*This card cannot be used in official and sanctioned tournaments.

================================================================================

Shiyoko, Shiro-Kuro Fes 2016
しろくろフェス2016 しよ子
Card No.: CGS/WS01-P02  Rarity: PR
Color: Blue   Side: Weiss  Character
Level: 0   Cost: 0   Power: 2000   Soul: 1
Traits: カードゲーム (Card Game), 和服 (Yukata)
Triggers: None
Flavor: Let's...... Let's...... Let's......
TEXT: [C] If there are no other Characters in your Front Row, this gains +1500
Power.
[A] At the start of your Opponent's Attack Phase, you may move this to an empty
Front Row Center Slot.

================================================================================

HOTC-style input should be fine I guess. It shouldn't be too difficult for that parser to accept a file. I still like the idea for HOTC file parser tho, so I will include that as a separate card.

Originally posted by @ronelm2000 in #1 (comment)

@ronelm2000 ronelm2000 self-assigned this Apr 16, 2020
@ronelm2000 ronelm2000 added the enhancement New feature or request label Apr 16, 2020
@ronelm2000
Copy link
Owner Author

Released in v0.2.1

@ronelm2000 ronelm2000 moved this to Done in wsmtools Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

1 participant