Commit 8aaf2374 authored by owlo's avatar owlo

spawning eq

parent 72682a67
No preview for this file type
......@@ -6,7 +6,6 @@ type EndpointsS struct {
signClientKey string
sharedInbox []OrderedCollectionS
}
type MobileS struct {
Str int
Dex int
......@@ -14,6 +13,8 @@ type MobileS struct {
Wis int
Con int
Tec int
Inventory map[string]interface{}
Equipment map[string]interface{}
Summary string
LastBork string
Source map[string]interface{}
......@@ -57,13 +58,15 @@ type MobileS struct {
Endpoints EndpointsS
}
type ActorS struct {
Password string
Str int
Dex int
Int int
Wis int
Con int
Tec int
Password string
Inventory map[string]string
Equipment map[string]string
Summary string
LastBork string
Source map[string]interface{}
......
......@@ -89,6 +89,12 @@ func createUser(username string, password string) bool {
userActor.Wis = 15
userActor.Con = 15
userActor.Tec = 1
userActor.Inventory = map[string]string{
"disc": "A glowing disc.",
}
userActor.Equipment = map[string]string{
"gown": "A long flowing rainbow gown.",
}
userActor.Inbox = hostname + "#inbox/" + username
userActor.Outbox = hostname + "#outbox/" + username
userActor.Following = hostname + "#following/" + username
......
This diff is collapsed.
This diff is collapsed.
{"Str":15,"Dex":15,"Int":15,"Wis":15,"Con":15,"Tec":1,"Password":"bork","Summary":"","LastBork":"","Source":null,"Type":"","Following":"http://snowcrash.network#following/guarddoggo","Followers":"http://snowcrash.network#followers/guarddoggo","Liked":"","Inbox":"http://snowcrash.network#inbox/guarddoggo","Outbox":"http://snowcrash.network#outbox/guarddoggo","Url":"","Attachment":{"TypeS":"","Content":"","Url":""},"AttributedTo":{"TypeS":"","Name":""},"Audience":{"TypeS":"","Name":""},"Content":"","Id":"","Context":null,"Name":{"Context":"","TypeS":"","Name":""},"EndTime":{"Context":"","TypeS":"","Name":"","StartTime":"","EndTime":""},"Generator":{"TypeS":"","Name":""},"Icon":null,"InReplyTo":{"Summary":"","TypeS":"","Content":""},"Location":{"Name":"","TypeS":"","Place":""},"Preview":"","Published":"","Replies":{"TypeS":"","TotalItems":0,"Items":null},"StartTime":"","Tag":{"TypeS":"","Id":"","Name":""},"Updated":"","To":"","Bto":"","Cc":"","Bcc":"","MediaType":"","Duration":"","Position":{"Y":null,"X":null},"Streams":{"Location":"","Obj":{"Attachment":{"TypeS":"","Content":"","Url":""},"AttributedTo":{"TypeS":"","Name":""},"Audience":{"TypeS":"","Name":""},"Content":{"Content":"","Summary":"","TypeS":"","MediaType":""},"Context":{"Context":"","Summary":"","TypeS":"","Items":null},"Name":{"Context":"","TypeS":"","Name":""},"EndTime":{"Context":"","TypeS":"","Name":"","StartTime":"","EndTime":""},"Generator":{"TypeS":"","Name":""},"Icon":{"TypeS":"","Name":"","Url":"","Width":0,"Height":0},"InReplyTo":{"Summary":"","TypeS":"","Content":""},"Location":{"Name":"","TypeS":"","Place":""},"Preview":"","Published":"","Replies":{"TypeS":"","TotalItems":0,"Items":null},"StartTime":"","Summary":"","Tag":{"TypeS":"","Id":"","Name":""},"Updated":"","Url":"","To":"","Bto":"","Cc":"","Bcc":"","MediaType":"","Duration":"","Position":{"Y":null,"X":null}},"TotalItems":0,"Current":null,"First":"","Last":"","Items":null},"PreferredUsername":"guarddoggo","Endpoints":{}}
\ No newline at end of file
{"Password":"bork","Str":15,"Dex":15,"Int":15,"Wis":15,"Con":15,"Tec":1,"Inventory":{"disc":"A glowing disc."},"Equipment":{"gown":"A long flowing rainbow gown."},"Summary":"","LastBork":"","Source":null,"Type":"","Following":"http://snowcrash.network#following/guarddoggo","Followers":"http://snowcrash.network#followers/guarddoggo","Liked":"","Inbox":"http://snowcrash.network#inbox/guarddoggo","Outbox":"http://snowcrash.network#outbox/guarddoggo","Url":"","Attachment":{"TypeS":"","Content":"","Url":""},"AttributedTo":{"TypeS":"","Name":""},"Audience":{"TypeS":"","Name":""},"Content":"","Id":"","Context":null,"Name":{"Context":"","TypeS":"","Name":""},"EndTime":{"Context":"","TypeS":"","Name":"","StartTime":"","EndTime":""},"Generator":{"TypeS":"","Name":""},"Icon":null,"InReplyTo":{"Summary":"","TypeS":"","Content":""},"Location":{"Name":"","TypeS":"","Place":""},"Preview":"","Published":"","Replies":{"TypeS":"","TotalItems":0,"Items":null},"StartTime":"","Tag":{"TypeS":"","Id":"","Name":""},"Updated":"","To":"","Bto":"","Cc":"","Bcc":"","MediaType":"","Duration":"","Position":{"Y":null,"X":null},"Streams":{"Location":"","Obj":{"Attachment":{"TypeS":"","Content":"","Url":""},"AttributedTo":{"TypeS":"","Name":""},"Audience":{"TypeS":"","Name":""},"Content":{"Content":"","Summary":"","TypeS":"","MediaType":""},"Context":{"Context":"","Summary":"","TypeS":"","Items":null},"Name":{"Context":"","TypeS":"","Name":""},"EndTime":{"Context":"","TypeS":"","Name":"","StartTime":"","EndTime":""},"Generator":{"TypeS":"","Name":""},"Icon":{"TypeS":"","Name":"","Url":"","Width":0,"Height":0},"InReplyTo":{"Summary":"","TypeS":"","Content":""},"Location":{"Name":"","TypeS":"","Place":""},"Preview":"","Published":"","Replies":{"TypeS":"","TotalItems":0,"Items":null},"StartTime":"","Summary":"","Tag":{"TypeS":"","Id":"","Name":""},"Updated":"","Url":"","To":"","Bto":"","Cc":"","Bcc":"","MediaType":"","Duration":"","Position":{"Y":null,"X":null}},"TotalItems":0,"Current":null,"First":"","Last":"","Items":null},"PreferredUsername":"guarddoggo","Endpoints":{}}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment