From 7849b2ed3adc9907bb2cdc76b6b359153bdffd8c Mon Sep 17 00:00:00 2001 From: gbtami Date: Sun, 29 Oct 2023 01:58:16 +0200 Subject: [PATCH] Lishu Xiangqi pieces --- client/variants.ts | 2 +- static/images/pieces/xiangqi/lishu/BA.svg | 85 ++++++++++++++++++ static/images/pieces/xiangqi/lishu/BC.svg | 95 ++++++++++++++++++++ static/images/pieces/xiangqi/lishu/BE.svg | 85 ++++++++++++++++++ static/images/pieces/xiangqi/lishu/BH.svg | 101 +++++++++++++++++++++ static/images/pieces/xiangqi/lishu/BK.svg | 85 ++++++++++++++++++ static/images/pieces/xiangqi/lishu/BP.svg | 85 ++++++++++++++++++ static/images/pieces/xiangqi/lishu/BR.svg | 85 ++++++++++++++++++ static/images/pieces/xiangqi/lishu/RA.svg | 85 ++++++++++++++++++ static/images/pieces/xiangqi/lishu/RC.svg | 102 ++++++++++++++++++++++ static/images/pieces/xiangqi/lishu/RE.svg | 93 ++++++++++++++++++++ static/images/pieces/xiangqi/lishu/RH.svg | 101 +++++++++++++++++++++ static/images/pieces/xiangqi/lishu/RK.svg | 94 ++++++++++++++++++++ static/images/pieces/xiangqi/lishu/RP.svg | 97 ++++++++++++++++++++ static/images/pieces/xiangqi/lishu/RR.svg | 85 ++++++++++++++++++ static/piece/xiangqi/lishu.css | 46 ++++++++++ static/preview.css | 3 + 17 files changed, 1328 insertions(+), 1 deletion(-) create mode 100644 static/images/pieces/xiangqi/lishu/BA.svg create mode 100644 static/images/pieces/xiangqi/lishu/BC.svg create mode 100644 static/images/pieces/xiangqi/lishu/BE.svg create mode 100644 static/images/pieces/xiangqi/lishu/BH.svg create mode 100644 static/images/pieces/xiangqi/lishu/BK.svg create mode 100644 static/images/pieces/xiangqi/lishu/BP.svg create mode 100644 static/images/pieces/xiangqi/lishu/BR.svg create mode 100644 static/images/pieces/xiangqi/lishu/RA.svg create mode 100644 static/images/pieces/xiangqi/lishu/RC.svg create mode 100644 static/images/pieces/xiangqi/lishu/RE.svg create mode 100644 static/images/pieces/xiangqi/lishu/RH.svg create mode 100644 static/images/pieces/xiangqi/lishu/RK.svg create mode 100644 static/images/pieces/xiangqi/lishu/RP.svg create mode 100644 static/images/pieces/xiangqi/lishu/RR.svg create mode 100644 static/piece/xiangqi/lishu.css diff --git a/client/variants.ts b/client/variants.ts index 43d47caa2..6b4f4e244 100644 --- a/client/variants.ts +++ b/client/variants.ts @@ -49,7 +49,7 @@ export const PIECE_FAMILIES: Record = { kyoto: { pieceCSS: ["kyoto", "kyotok", "kyotoks", "kyotoi", "kyotod", "disguised"] }, dobutsu: { pieceCSS: ["dobutsu", "disguised"] }, tori: { pieceCSS: ["torii", "torik", "torim", "porti", "disguised"] }, - xiangqi: { pieceCSS: ["xiangqi2d", "xiangqi2di", "xiangqi", "xiangqict3", "xiangqihnz", "xiangqict2", "xiangqihnzw", "xiangqict2w", "xiangqiwikim", "xiangqiKa", "xiangqittxqhnz", "xiangqittxqintl", "disguised", "euro"] }, + xiangqi: { pieceCSS: ["xiangqi2d", "xiangqi2di", "xiangqi", "xiangqict3", "xiangqihnz", "xiangqict2", "xiangqihnzw", "xiangqict2w", "xiangqiwikim", "xiangqiKa", "xiangqittxqhnz", "xiangqittxqintl", "disguised", "euro", "lishu"] }, janggi: { pieceCSS: ["janggihb", "janggihg", "janggiikak", "janggiikaw", "janggikak", "janggikaw", "janggiib", "janggiig", "disguised"] }, shako: { pieceCSS: ["shako0", "shako1", "shako2", "disguised"] }, shogun: { pieceCSS: ["shogun0", "shogun1", "shogun2", "shogun3", "shogun4", "shogun5", "disguised"] }, diff --git a/static/images/pieces/xiangqi/lishu/BA.svg b/static/images/pieces/xiangqi/lishu/BA.svg new file mode 100644 index 000000000..a1c7303cf --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/BA.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/BC.svg b/static/images/pieces/xiangqi/lishu/BC.svg new file mode 100644 index 000000000..948d94758 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/BC.svg @@ -0,0 +1,95 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/BE.svg b/static/images/pieces/xiangqi/lishu/BE.svg new file mode 100644 index 000000000..d2c0ea94d --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/BE.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/BH.svg b/static/images/pieces/xiangqi/lishu/BH.svg new file mode 100644 index 000000000..3bfe84e2c --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/BH.svg @@ -0,0 +1,101 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/BK.svg b/static/images/pieces/xiangqi/lishu/BK.svg new file mode 100644 index 000000000..16e892819 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/BK.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/BP.svg b/static/images/pieces/xiangqi/lishu/BP.svg new file mode 100644 index 000000000..7a1f105de --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/BP.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/BR.svg b/static/images/pieces/xiangqi/lishu/BR.svg new file mode 100644 index 000000000..ffc7de9b5 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/BR.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/RA.svg b/static/images/pieces/xiangqi/lishu/RA.svg new file mode 100644 index 000000000..73a01d79d --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/RA.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/RC.svg b/static/images/pieces/xiangqi/lishu/RC.svg new file mode 100644 index 000000000..58f308e68 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/RC.svg @@ -0,0 +1,102 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/RE.svg b/static/images/pieces/xiangqi/lishu/RE.svg new file mode 100644 index 000000000..3f8e15b85 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/RE.svg @@ -0,0 +1,93 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/RH.svg b/static/images/pieces/xiangqi/lishu/RH.svg new file mode 100644 index 000000000..5c4aab7b0 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/RH.svg @@ -0,0 +1,101 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/RK.svg b/static/images/pieces/xiangqi/lishu/RK.svg new file mode 100644 index 000000000..5072b2d32 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/RK.svg @@ -0,0 +1,94 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/RP.svg b/static/images/pieces/xiangqi/lishu/RP.svg new file mode 100644 index 000000000..c24e82373 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/RP.svg @@ -0,0 +1,97 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/static/images/pieces/xiangqi/lishu/RR.svg b/static/images/pieces/xiangqi/lishu/RR.svg new file mode 100644 index 000000000..4f7d05b71 --- /dev/null +++ b/static/images/pieces/xiangqi/lishu/RR.svg @@ -0,0 +1,85 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/static/piece/xiangqi/lishu.css b/static/piece/xiangqi/lishu.css new file mode 100644 index 000000000..da646305e --- /dev/null +++ b/static/piece/xiangqi/lishu.css @@ -0,0 +1,46 @@ +.xiangqi .cg-wrap piece.p-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RP.svg'); +} +.xiangqi .cg-wrap piece.b-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RE.svg'); +} +.xiangqi .cg-wrap piece.n-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RH.svg'); +} +.xiangqi .cg-wrap piece.r-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RR.svg'); +} +.xiangqi .cg-wrap piece.a-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RA.svg'); +} +.xiangqi .cg-wrap piece.c-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RC.svg'); +} +.xiangqi .cg-wrap piece.k-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RK.svg'); +} +.xiangqi .cg-wrap piece.m-piece.white { + background-image: url('../../images/pieces/xiangqi/lishu/RR.svg'); +} + +.xiangqi .cg-wrap piece.p-piece.black { + background-image: url('../../images/pieces/xiangqi/lishu/BP.svg'); +} +.xiangqi .cg-wrap piece.b-piece.black { + background-image: url('../../images/pieces/xiangqi/lishu/BE.svg'); +} +.xiangqi .cg-wrap piece.n-piece.black { + background-image: url('../../images/pieces/xiangqi/lishu/BH.svg'); +} +.xiangqi .cg-wrap piece.r-piece.black { + background-image: url('../../images/pieces/xiangqi/lishu/BR.svg'); +} +.xiangqi .cg-wrap piece.a-piece.black { + background-image: url('../../images/pieces/xiangqi/lishu/BA.svg'); +} +.xiangqi .cg-wrap piece.c-piece.black { + background-image: url('../../images/pieces/xiangqi/lishu/BC.svg'); +} +.xiangqi .cg-wrap piece.k-piece.black { + background-image: url('../../images/pieces/xiangqi/lishu/BK.svg'); +} diff --git a/static/preview.css b/static/preview.css index 4367911e2..3dfe511a5 100644 --- a/static/preview.css +++ b/static/preview.css @@ -278,6 +278,9 @@ label.piece.piece12.xiangqi { label.piece.piece13.xiangqi { background-image: url('images/pieces/xiangqi/euro/red_king.svg'); } +label.piece.piece14.xiangqi { + background-image: url('images/pieces/xiangqi/lishu/RK.svg'); +} label.piece.piece0.janggi { background-image: url('images/pieces/janggi/hanjablue/blue_king.svg');