Add World introduction and change layout
This commit is contained in:
@@ -174,7 +174,10 @@ structure World where
|
||||
deriving Inhabited
|
||||
|
||||
instance : ToJson World := ⟨
|
||||
fun world => Json.mkObj [("name", toJson world.name), ("title", world.title)]
|
||||
fun world => Json.mkObj [
|
||||
("name", toJson world.name),
|
||||
("title", world.title),
|
||||
("introduction", world.introduction)]
|
||||
⟩
|
||||
|
||||
/-! ## Game -/
|
||||
|
||||
Reference in New Issue
Block a user