PDA

View Full Version : New to scripting, couple questions.



Haldrik
04-26-2013, 10:44 PM
Hey All,

I'm going to try my hand at some scripting in Lich. I had a couple questions.

Is there any threads/posts/tutortials on lich scripting? I've found plenty of Ruby stuff just nothing that has to do with the game itself.

I pulled up the loot and sloot lich files and I'm sort of using those a starting up point on how to learn. My only question right now is, where on earth is sloot/loot getting their loot tables from?

I found this line, but unsure how it works.

if $1 == 'nil'
char_settings['loot-types'] = 'gem|reagent|herb|jewelry|magic|scroll|wand|uncomm on|box'
respond "[#{script_name}: setting reset]""


Thanks !

Haldrik
04-27-2013, 12:57 AM
Found the answer to my data question. It's all located in gameobj-data.xml