fix
This commit is contained in:
parent
67f7a24c55
commit
b5931eec30
@ -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
BIN
verse/img/fantasy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 709 KiB |
Loading…
Reference in New Issue
Block a user