This commit is contained in:
syui 2024-11-22 20:41:00 +09:00
parent 67f7a24c55
commit b5931eec30
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
2 changed files with 18 additions and 13 deletions

View File

@ -79,18 +79,27 @@ function create_game_character() {
repo=$did_yui
json="{\"collection\":\"$col\", \"rkey\":\"$rkey\", \"repo\":\"$repo\"}"
if [ $((RANDOM % 2)) -eq 0 ];then
sex=male
gender=male
else
sex=female
gender=female
fi
case $name in
ai)
sex=none;;
gender=none
group=origin
season=0
;;
chinese|dragon|cerberus|pegasus)
sex=male;;
gender=male
group=fantasy
season=1
;;
kitsune|phoenix|leviathan|kirin|wyvern)
sex=female;;
gender=female
group=fantasy
season=1
;;
*)
continue ;;
esac
@ -119,12 +128,7 @@ function create_game_character() {
nickname=$name
fullname=$name
uri=at://${did_yui}/$col/$chara
if [ "$name" = "ai" ];then
group=origin
sex=none
else
group=fantasy
fi
json="{
\"repo\": \"$handle_yui\",
@ -136,7 +140,8 @@ json="{
\"name\": \"$name\",
\"fullname\": \"$fullname\",
\"nickname\": \"$nickname\",
\"sex\": \"$sex\",
\"gender\": \"$gender\",
\"season\": $season,
\"group\": \"$group\",
\"embed\": {
\"\$type\": \"app.bsky.embed.external\",

BIN
verse/img/fantasy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 KiB