ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sat Oct 20, 2018 4:53 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Dec 24, 2016 7:42 am 
Offline
Cornac

Joined: Wed Dec 16, 2015 7:14 am
Posts: 38
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?


Top
 Profile  
 
PostPosted: Sat Dec 24, 2016 11:19 am 
Offline
Uruivellas

Joined: Mon Jan 27, 2014 10:40 am
Posts: 697
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.


Top
 Profile  
 
PostPosted: Mon Dec 26, 2016 8:05 pm 
Offline
Sher'Tul Godslayer

Joined: Thu Jan 23, 2003 8:13 pm
Posts: 1563
Location: A shallow water area south of Bree
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.

_________________
"Blessed are the yeeks, for they shall inherit Arda..."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group