I think the most straight forward way in go is just use 2 calls (pseudo)
done:= handleVerbs(g.Verbs)
If !done && includeSysVerbs {
handleVerbs(sys.Verbs)
}
If it is more involved than that then use an internal delegating to parent
pattern and declare a struct like ActionMap, that takes a pare
I'm in the process of writing my own Text Adventure/Interactive Fiction
engine/library and am now running into a bit of a problem attempting to
extend the parser.
On the implementation side (i e a game), this is how a game is initially
set up.
game = mid.Game{
Title: "Cloak of Dark