ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Sun Dec 17, 2017 9:59 am

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Feb 25, 2016 6:37 am 
Offline
Low Yeek

Joined: Tue Mar 24, 2015 4:47 am
Posts: 9
ToME doesn't exit gracefully if there's an error in a defineTile() call. Instead, it locks up and can only be exited via task manager (Windows). ToME reports the following error:
Lua Error: /engine/generator/map/Static.lua:142: /data/maps/vaults/forest_bas3.lua:38: '}' expected near 'add_levels'

Here is the line in question:
defineTile('1', "OLD_FLOOR", {random_filter={type="lite", add_levels=10, tome_mod="vault"}}, {random_filter={name="brecklorn", add_levels=10}})

The call looks like it is formatted correctly, so I can't make sense of the error message. Is the engine trying to tell me something else?

Also, will overload/superload functions enable me to add new vaults to existing zones? I've no idea how those work, so I've just been putting zone changes into the tome.team file as a hack.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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