Page 1 of 1
Forcing a shop to contain a specific ego
Posted: Sat Dec 24, 2016 7:42 am
by roffster
So I've started developing my very first addon, which involves creating a new shop. Currently, I can make the shop, spawn random items, spawn specific artifacts, spawn random artificats, but I can't figure out how to make it spawn a fixed ego item (eg. leather cap of the depths). Does anyone know anyway to force egos when populating shops inventories?
Re: Forcing a shop to contain a specific ego
Posted: Sat Dec 24, 2016 11:19 am
by astralInferno
Zizzo's Nur Kit addon forces the merchant shop to spawn an 'of the deeps' and 'of the fish' and 'of unlife' item, iirc? Looking at that might help.
Re: Forcing a shop to contain a specific ego
Posted: Mon Dec 26, 2016 8:05 pm
by Zizzo
astralInferno wrote:Zizzo's Nur Kit addon forces the merchant shop to spawn an 'of the deeps' and 'of the fish' and 'of unlife' item, iirc? Looking at that might help.
It is annoyingly complicated, alas. The engine's default Zone:finishEntity() really isn't up to the task for our purposes, so you'll have to
superload it with some extra handling.