Search found 63 matches

by Glew
Thu Jan 01, 2015 9:00 pm
Forum: Modding
Topic: The Custom Alcove Thread. (Neikun, Batty and Crisman)
Replies: 353
Views: 168188

Re: The Custom Alcove Thread. (Neikun, Batty and Crisman)

Hi! I recall seeing a dragon statue mouth socket in the One Room dungeon 1 and after searching around I found this thread. I didn't read through all 36 pages admittedly. :D Can someone tell me where/how I can get the dragon mouth socket? (and how to incorporate it into my mod?) Thanks! edit: never m...
by Glew
Wed Dec 31, 2014 1:58 pm
Forum: Modding
Topic: [mod-wip] Treasury - General Help Me
Replies: 44
Views: 29909

Re: [mod-wip] Treasury - General Help Me

Oh, and thanks a lot for all the help you have given me this far. Have a very happy new year! :mrgreen:
by Glew
Wed Dec 31, 2014 1:34 pm
Forum: Modding
Topic: [mod-wip] Treasury - General Help Me
Replies: 44
Views: 29909

Re: [mod-wip] Treasury - General Help Me

I'll try this, thanks. What I wanted to do, is make a "poison gem", that emits clouds of poison when a function is called. I haven't worked out the exact details yet. But if the party picks it up, it would -when triggered- shroud the party in poison too. spawn("poison_cloud"; gem.level, gem.x, gem.y...
by Glew
Wed Dec 31, 2014 2:43 am
Forum: Modding
Topic: [mod-wip] Treasury - General Help Me
Replies: 44
Views: 29909

Re: [mod-wip] Treasury - General Help Me

Oh okay. I'm not sure how to iterate through the items. Would something like this work? I think something is missing between the 2nd FOR loop and the IF statement. for a=1, 4 do for b=1, 32 do party:getChampion(a):getItem(b) if b.id=="thing_1" then spwan("poison_cloud", party.level, party.x, party.y...
by Glew
Mon Dec 29, 2014 12:34 am
Forum: Modding
Topic: [mod-wip] Treasury - General Help Me
Replies: 44
Views: 29909

Re: [mod-wip] Treasury - General Help Me

So I have made some progress with the map, but had to put it to rest, because of work and school. But I have got an idea and ran into a problem. It seems that scripts can't find items within the inventory: they return nil. I think I read about this somewhere but couldn't find it. Is there a way to a...
by Glew
Sat Nov 15, 2014 9:07 pm
Forum: Modding
Topic: Opening LOTS of doors
Replies: 17
Views: 14439

Re: Opening LOTS of doors

And now the time has come, when I am hopefully, finally able to use that script of double for loops... *fingers crossed edit: It works! IT WORKS! :lol: :lol: :lol: :lol: :lol: :mrgreen: :mrgreen: :mrgreen: :mrgreen: It's a thing of beauty! For the benefit of future newbies, the way I done it: -- thi...
by Glew
Sat Nov 15, 2014 8:25 pm
Forum: Modding
Topic: [mod-wip] Treasury - General Help Me
Replies: 44
Views: 29909

Re: [mod-wip] Treasury - General Help Me

Thanks for the help. But actually after giving it some rest it occured to me that I can just place a counter and a timer, connect them that the timer decreases the counter and triggers the playsound() and the counter deactivates the timer and then I just need to activate the timer. I finally have ti...
by Glew
Sat Nov 01, 2014 10:07 pm
Forum: Modding
Topic: [mod-wip] Treasury - General Help Me
Replies: 44
Views: 29909

Re: [mod-wip] Treasury - General Help Me

I have no idea how to even search for this so I'm going to ask: Is there a way... What is the way to check for a specific spell being cast at a specific place? This is to work around the annoying fact that receptors only accept projectile spells. Basically I want a door to be opened by fireburst bei...
by Glew
Sat Nov 01, 2014 9:35 pm
Forum: Modding
Topic: [Learning LUA] Lesson 3: Values and Operators is up!
Replies: 49
Views: 41365

Re: [Learning LUA] Lesson 3: Values and Operators is up!

Hi all, A scripting help session with drakkan today on the LoTNR chat gave me an idea to contribute to this thread with a general programming principle, which is called DRY - Don't Repeat Yourself Where have you been all my life?! :o :_( Or well, where have I been all this time?! Anyway, thankyouso...
by Glew
Mon Oct 13, 2014 7:04 pm
Forum: Modding
Topic: [mod-wip] Treasury - General Help Me
Replies: 44
Views: 29909

Re: [mod-wip] Treasury - General Help Me

Thanks for the detailed reply.