Hi I work currently on a add-ons for scene shop and I was curious to know something
how do luna engine keep the key value
if I explain these kind of key
def on_number_ok Sound.play_shop case @command_window.current_symbol when :buy # <--- these kind of keys do_buy(@number_window.number) when :sell # <--- these kind of keys do_sell(@number_window.number) end end_number_input @gold_window.refresh @status_window.refresh endwhy I ask this? it's simply because some part of my dynamic shopkeeper scripts are dependent of these key for make the system know which reaction to do
I generally Alias the stuff but I just wanted to know what was different so I can adapt my script to Luna engine
thanks for further answer 🙂
how do luna engine keep the key value
if I explain these kind of key
def on_number_ok Sound.play_shop case @command_window.current_symbol when :buy # <--- these kind of keys do_buy(@number_window.number) when :sell # <--- these kind of keys do_sell(@number_window.number) end end_number_input @gold_window.refresh @status_window.refresh endwhy I ask this? it's simply because some part of my dynamic shopkeeper scripts are dependent of these key for make the system know which reaction to do
I generally Alias the stuff but I just wanted to know what was different so I can adapt my script to Luna engine
thanks for further answer 🙂