Hi I played with Luna engine and I wanted to make a extra import for my equip menu and add a face I followed the same pattern of the statut menu but sadly I hit a error and I wounder what happen
here the error
but I think I maybe just made a error of syntaxe in my configuration
but here my modify code
module MenuLuna module EquipMenu class << self; alias dsm_import_status_text import_status_text; end def self.import_status_text(actor, temp_actor, contents) import = dsm_import_status_text(actor, temp_actor, contents) import["FACE"] = [] face = [ # bitmap location and name "$bitmap[Face, #{ actor.face_index}]", # [offset x, offset y] [330, 30], # opacity 255, ] import["FACE"].push(face,) end #--- return all imports --- import end # EquipMenu end # MenuLunaI hope I will have a fast answer and I hope this just a little error I made : 3
here the error
but I think I maybe just made a error of syntaxe in my configuration
but here my modify code
module MenuLuna module EquipMenu class << self; alias dsm_import_status_text import_status_text; end def self.import_status_text(actor, temp_actor, contents) import = dsm_import_status_text(actor, temp_actor, contents) import["FACE"] = [] face = [ # bitmap location and name "$bitmap[Face, #{ actor.face_index}]", # [offset x, offset y] [330, 30], # opacity 255, ] import["FACE"].push(face,) end #--- return all imports --- import end # EquipMenu end # MenuLunaI hope I will have a fast answer and I hope this just a little error I made : 3