Browse Source

install default marker

master
poikilos 9 years ago
committed by Jacob Gustafson
parent
commit
14486e775a
  1. 3
      chunkymap-regen.py
  2. 4
      web/chunkymapdata_default/world/markers/0.yml

3
chunkymap-regen.py

@ -725,6 +725,9 @@ class MTChunks:
source_chunkymapdata_players = os.path.join(source_web_chunkymapdata_world_path, "players") source_chunkymapdata_players = os.path.join(source_web_chunkymapdata_world_path, "players")
dest_chunkymapdata_players = os.path.join(self.chunkymap_thisworld_data_path, "players") dest_chunkymapdata_players = os.path.join(self.chunkymap_thisworld_data_path, "players")
install_list.append(InstalledFile("singleplayer.png", source_chunkymapdata_players, dest_chunkymapdata_players)) install_list.append(InstalledFile("singleplayer.png", source_chunkymapdata_players, dest_chunkymapdata_players))
source_chunkymapdata_markers = os.path.join(source_web_chunkymapdata_world_path, "markers")
dest_chunkymapdata_markers = os.path.join(self.chunkymap_thisworld_data_path, "markers")
install_list.append(InstalledFile("0.yml", source_chunkymapdata_markers, dest_chunkymapdata_markers))
for this_object in install_list: for this_object in install_list:
source_path = os.path.join(this_object.source_dir_path, this_object.file_name) source_path = os.path.join(this_object.source_dir_path, this_object.file_name)
installed_path = os.path.join(this_object.dest_dir_path, this_object.file_name) installed_path = os.path.join(this_object.dest_dir_path, this_object.file_name)

4
web/chunkymapdata_default/world/markers/0.yml

@ -1,4 +1,4 @@
label:spawn label:start
location:0.0,0.0 location:0.0,0.0
image:chunkymapdata/images/chunkymap_start.png image:chunkymapdata/images/start.png
comment:formerly chunk_markers_x0z0.yml comment:formerly chunk_markers_x0z0.yml
Loading…
Cancel
Save