How to show location window

How can I add the location window, showing where the player currently resides? It doesn't show up automaticly for me..
In Battle Sample?
Oh no sorry, I meant in the menu. I think that I put it in the wrong thread in all of my haste :$
You need to add it through lunatic (You can't do it by default in RM). Check how the sample demos did it.
Well, I checked the sample demos and in one version it was added by an imagefile (the Ys one). That's not what I want to do. In the other version, (Etrian) it wasn't an imagefile, but I couldn't find the config in lunatic either. Unless I'm missing something in the code??


def self.user_command_text(index, contents, item_rect, enable, select)


end


def self.user_status_text(index, actor, contents, item_rect, enable, select, formation)


end


# Text for Gold Window


def self.user_gold_text(contents)


result = [


["#{$game_party.gold}#{Vocab::currency_unit}",


[0, 0], [136, 2], [255, 255, 255], [Font.default_name, Font.default_size, false, false]],


]


end


end


end


I don't see location anywhere?
Use this piece of code under

def self.user_gold_text(contents)

It will look like this (assuming we're just talking about map display name for now)

Code:
      def self.user_gold_text(contents)      result = [        ["#{$game_map.display_name}",           [0, 0], [136, 2], [255, 255, 255], ["VL Gothic", 24, false, false]],      ]     end

Original thread: https://forums.rpgmakerweb.com/threads/how-to-show-location-window.32728/