Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: treasure items...? wanderers?



> From: Petri Heinila <hevi@lut.fi> writes:
> 
> npc's are just contained in map, instead players are contained
> in common list.
> 
> and there have to also exist a algorithm to npc to make
> it wander from town to town.
> 
	Where is this? Are you refering to the "petmove" algorithm?
	If so, it only moves *aligned* NPC's (ones with set_owner(
	PLAYER) set!) to new maps. An algorithm which allowed 
	NPC's to wander throughout the world would be *very* cool.

	Imagine a special "wandering" merchant with rare (and expensive)
	items for sale. or  a medicant preist who will show up every
	so often while the player traverses the "continent" maps, etc.


					b.t.

> <A HREF="http://www.lut.fi/~hevi/">Petri.Heinila@lut.fi</A>
> 
>