func (n *NPC) HandleStimulus(s mud.Stimulus) { handler := n.supportedStimuli[s.StimType()] handler(s, n) }
func (n NPC) DoesPerceive(s mud.Stimulus) bool { _, there := n.supportedStimuli[s.StimType()] return there }