cc.journeyman.the-great-game.gossip.gossip
Interchange of news events between gossip agents.
Note that habitual travellers are all gossip agents; specifically, at this stage, that means merchants. When merchants are moved we also need to update the location of the gossip with the same key.
Innkeepers are also gossip agents but do not typically move.
dialogue
(dialogue enquirer respondent world)
Dialogue between an enquirer
and an agent
in this world
; returns a map identical to enquirer
except that its :gossip
collection may have additional entries.
gather-news
(gather-news world gossip)
Gather news for the specified gossip
in this world
.
move-gossip
(move-gossip gossip world new-location)
Return a world like this world
but with this gossip
moved to this new-location
. Many gossips are essentially shadow-records of agents of other types, and the movement of the gossip should be controlled by the run function of the type of the record they shadow. The function below does NOT call this function.
run
(run world)
Return a world like this world
, with news items exchanged between gossip agents.