Dungeon Dilettante
Posts: 2
Joined: Friday, 5th October 2012, 22:04
basic lua instructions
1. I'm making a lot of code changes while figuring out what properties and functions work. Each time I make a change, I have to exit and restart the game to use the new code. Is there a way to reload my .rc file from inside the game?
2. Examples are helpful for learning, even if they're out of date. I'm working with ZotBot and autopray2. I've seen references to other bots (autorobin, auto7hm) but the links are broken. Working links/files would be appreciated if anybody has some.
3. The parts of DCSS that attempt to call custom code use "clua.callfn". I'm pretty sure that's correct, but is it complete? This gives me potential hooks in: c_interrupt_activity, c_assign_invletter, c_kill_list, ready, hit_closest, hit_adjacent, ch_mon_is_safe, choose_stat_gain, and whatever par.section.c_str() is.
Thanks