Skip to content
TRPGキャラクター保管所 -> TOML
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
go.mod
go.sum
main.go
main_test.go

README.md

TRPG キャラクターシートTOML変換コマンド

キャラクター保管所さんに保存されているキャラクターシートをTOMLで出力します。

$ curl 'https://charasheet.vampire-blood.net/mbdd0709d9532378710ceffc69301efe5.json' | cstoml
["プロフィール"]
"キャラクター名" = "すー"
"職業"           = "アパレルショップスタッフ"
"年齢"           = 25
"性別"           = "女性"
"髪の色"         = "明るい茶"
"身長"           = 150
"体重"           = 49

["技能"]
STR = 10
CON = 8
POW = 12
DEX = 13
APP = 15
SIZ = 12
INT = 10
EDU = 13

["能力値"]
"応急手当"      = 30
"鍵開け"        = 40
"芸術"          = 10
"経理"          = 10
"こぶし/パンチ" = 30
"心理学"        = 60
"制作"          = 30
"説得"          = 60
"変装"          = 30
"目星"          = 60

インストール

$ go get github.com/acomagu/cstoml
You can’t perform that action at this time.