it's the final fixdown!
This commit is contained in:
parent
efaad68c05
commit
28f7042583
@ -52,7 +52,7 @@ type WealthData struct {
|
|||||||
gems []string
|
gems []string
|
||||||
}
|
}
|
||||||
|
|
||||||
var charmap map[string]*Character
|
var charmap map[string]Character
|
||||||
|
|
||||||
func accessChar(set bool, nick string, cat string, item string, val string) string {
|
func accessChar(set bool, nick string, cat string, item string, val string) string {
|
||||||
var pdata, edata, sdata, wdata bool
|
var pdata, edata, sdata, wdata bool
|
||||||
@ -237,6 +237,8 @@ func accessChar(set bool, nick string, cat string, item string, val string) stri
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return "*shrug*"
|
||||||
}
|
}
|
||||||
|
|
||||||
func importChar(nick string) bool {
|
func importChar(nick string) bool {
|
||||||
@ -250,7 +252,7 @@ func importChar(nick string) bool {
|
|||||||
|
|
||||||
json.Unmarshal(file, char)
|
json.Unmarshal(file, char)
|
||||||
|
|
||||||
charmap = map[string]*Character{
|
charmap = map[string]Character{
|
||||||
char.irc: char,
|
char.irc: char,
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -259,4 +261,5 @@ func importChar(nick string) bool {
|
|||||||
|
|
||||||
func setChar(nick string, cat string, scat string, item string, value string) bool {
|
func setChar(nick string, cat string, scat string, item string, value string) bool {
|
||||||
// With the changes I'm currently making, this will have to be changed as well.
|
// With the changes I'm currently making, this will have to be changed as well.
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user