MinetestMapper colors.txt: Difference between revisions

From NodeCore Wiki
Jump to navigation Jump to search
(Remove automatically covered mods)
(Change wording to more strongly recommend automatic process)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
A <code>colors.txt</code> file suitable for use with [https://github.com/minetest/minetestmapper MinetestMapper].
Instructions for obtaining a <code>colors.txt</code> file suitable for use with [https://github.com/minetest/minetestmapper MinetestMapper].


== Automatic Generation ==
== Automatic Generation ==


For the vanilla game and well-maintained mods, it should be possible to automatically produce the color list.
For the vanilla game and well-maintained mods, the preferred method is to produce the color list automatically from the game itself.


* Enable the <code>nc_api_infodump_mapcolor</code> setting (set to true).
* Enable the <code>nc_api_infodump_mapcolor</code> setting (set to true).
Line 12: Line 12:


This file should list all nodes registered in that world.
This file should list all nodes registered in that world.
Ideally, for a live server, you should just leave this setting enabled and then point your minetestmapper (or similar tool) at that file; this way, any time you update mods, you will automatically get the updated color mappings for any new/changed content.


Note that there may be some <code>#--- MISSING</code> lines in the file for mod content that does not define map colors.  You will also see a warning in the logs upon startup if this is the case.
Note that there may be some <code>#--- MISSING</code> lines in the file for mod content that does not define map colors.  You will also see a warning in the logs upon startup if this is the case.
Line 17: Line 19:
== Other Mods ==
== Other Mods ==


For mods that are not yet covered by automatic generation, manually-mergeable entries can be listed below.
For mods that are not yet covered by automatic generation, additional entries can be listed below for manual merge.
 
This content should be ''appended'' to the automatically-generated color table, generated using the process above.


-----
-----
Line 52: Line 56:
nc_adamant:stone_6 72 72 72
nc_adamant:stone_6 72 72 72
nc_adamant:stone_7 72 72 72
nc_adamant:stone_7 72 72 72
# nc_beacon
nc_beacon:beacon 238 76 0


# nc_light
# nc_light
Line 113: Line 114:
nc_luxgate:vessicle 250 255 201
nc_luxgate:vessicle 250 255 201
nc_luxgate:vessicleNull 250 255 201
nc_luxgate:vessicleNull 250 255 201
# nc_nature
nc_nature:bamboo 103 122 4
nc_nature:branch 77 50 25
nc_nature:decayed_log 87 74 54
nc_nature:fern 71 94 33
nc_nature:flower_blue 66 109 163
nc_nature:flower_red 108 61 22
nc_nature:flower_violet 86 88 77
nc_nature:flower_white 150 162 140
nc_nature:flower_yellow 185 162 48
nc_nature:grass_1 100 140 54
nc_nature:grass_2 98 139 55
nc_nature:grass_3 94 136 53
nc_nature:grass_4 88 127 49
nc_nature:grass_5 86 126 48
nc_nature:lilypad 20 45 10
nc_nature:mossy_bricks 62 81 49
nc_nature:mossy_cobble 64 84 47
nc_nature:mossy_dirt 63 80 24
nc_nature:mossy_stone 64 83 50
nc_nature:mossy_thatch 111 122 45
nc_nature:mossy_trunk 161 124 79
nc_nature:mushroom 164 112 93
nc_nature:mushroom_glow 140 158 187
nc_nature:mushroom_lux 113 170 111
nc_nature:reeds 55 71 20
nc_nature:shrub 29 56 8
nc_nature:shrub_loose 29 56 8
nc_nature:thatch 150 141 60
nc_nature:thornbriar 68 60 27


# nc_rabbits
# nc_rabbits
Line 149: Line 119:
nc_rabbits:rabbit_hole 39 98 15
nc_rabbits:rabbit_hole 39 98 15
nc_rabbits:trap 102 97 94
nc_rabbits:trap 102 97 94
# nc_snake
nc_snake:head 58 57 9
nc_snake:head_lodey 58 57 9
nc_snake:body 34 48 42
nc_snake:body_lodey 34 48 42
# nc_stairs
nc_stairs:slab_nc_lode_block_annealed 47 36 32
nc_stairs:slab_nc_lode_block_annealed_inv 47 36 32
nc_stairs:slab_nc_lode_block_tempered 57 39 35
nc_stairs:slab_nc_lode_block_tempered_inv 57 39 35
nc_stairs:slab_nc_optics_glass_opaque 139 187 212
nc_stairs:slab_nc_optics_glass_opaque_inv 139 187 212
nc_stairs:slab_nc_stonework_bricks_adobe_bonded 57 43 28
nc_stairs:slab_nc_stonework_bricks_adobe_bonded_inv 57 43 28
nc_stairs:slab_nc_stonework_bricks_coalstone_bonded 72 72 72
nc_stairs:slab_nc_stonework_bricks_coalstone_bonded_inv 72 72 72
nc_stairs:slab_nc_stonework_bricks_sandstone_bonded 160 161 89
nc_stairs:slab_nc_stonework_bricks_sandstone_bonded_inv 160 161 89
nc_stairs:slab_nc_stonework_bricks_stone_bonded 72 72 72
nc_stairs:slab_nc_stonework_bricks_stone_bonded_inv 72 72 72
nc_stairs:slab_nc_terrain_cobble 72 72 72
nc_stairs:slab_nc_terrain_cobble_inv 72 72 72
nc_stairs:slab_nc_woodwork_plank 180 144 89
nc_stairs:slab_nc_woodwork_plank_inv 180 144 89
nc_stairs:stairs_nc_lode_block_annealed 47 36 32
nc_stairs:stairs_nc_lode_block_annealed_inv 47 36 32
nc_stairs:stairs_nc_lode_block_tempered 57 39 35
nc_stairs:stairs_nc_lode_block_tempered_inv 57 39 35
nc_stairs:stairs_nc_optics_glass_opaque 139 187 212
nc_stairs:stairs_nc_optics_glass_opaque_inv 139 187 212
nc_stairs:stairs_nc_stonework_bricks_adobe_bonded 57 43 28
nc_stairs:stairs_nc_stonework_bricks_adobe_bonded_inv 57 43 28
nc_stairs:stairs_nc_stonework_bricks_coalstone_bonded 72 72 72
nc_stairs:stairs_nc_stonework_bricks_coalstone_bonded_inv 72 72 72
nc_stairs:stairs_nc_stonework_bricks_sandstone_bonded 160 161 89
nc_stairs:stairs_nc_stonework_bricks_sandstone_bonded_inv 160 161 89
nc_stairs:stairs_nc_stonework_bricks_stone_bonded 72 72 72
nc_stairs:stairs_nc_stonework_bricks_stone_bonded_inv 72 72 72
nc_stairs:stairs_nc_terrain_cobble 72 72 72
nc_stairs:stairs_nc_terrain_cobble_inv 72 72 72
nc_stairs:stairs_nc_woodwork_plank 180 144 89
nc_stairs:stairs_nc_woodwork_plank_inv 180 144 89


# nc_stucco
# nc_stucco

Latest revision as of 14:58, 18 December 2023

Instructions for obtaining a colors.txt file suitable for use with MinetestMapper.

Automatic Generation

For the vanilla game and well-maintained mods, the preferred method is to produce the color list automatically from the game itself.

  • Enable the nc_api_infodump_mapcolor setting (set to true).
  • Start the game/server.
  • Look for a mapcolors.txt file in the world path.

This file should list all nodes registered in that world.

Ideally, for a live server, you should just leave this setting enabled and then point your minetestmapper (or similar tool) at that file; this way, any time you update mods, you will automatically get the updated color mappings for any new/changed content.

Note that there may be some #--- MISSING lines in the file for mod content that does not define map colors. You will also see a warning in the logs upon startup if this is the case.

Other Mods

For mods that are not yet covered by automatic generation, additional entries can be listed below for manual merge.

This content should be appended to the automatically-generated color table, generated using the process above.


# nc_adamant
nc_adamant:bar_annealed 107 124 133
nc_adamant:bar_hot 225 245 156
nc_adamant:bar_tempered 121 139 147
nc_adamant:block_annealed 107 124 133
nc_adamant:block_hot 225 245 156
nc_adamant:block_tempered 121 139 147
nc_adamant:cobble 100 117 136
nc_adamant:cobble_hot 65 65 65
nc_adamant:cobble_loose 100 117 136
nc_adamant:ore 72 72 72
nc_adamant:ore_1 72 72 72
nc_adamant:ore_2 72 72 72
nc_adamant:ore_3 72 72 72
nc_adamant:ore_4 72 72 72
nc_adamant:ore_5 72 72 72
nc_adamant:ore_6 72 72 72
nc_adamant:ore_7 72 72 72
nc_adamant:rod_annealed 107 124 133
nc_adamant:rod_hot 225 245 156
nc_adamant:rod_tempered 121 139 147
nc_adamant:shelf 107 124 133
nc_adamant:stone 72 72 72
nc_adamant:stone_1 72 72 72
nc_adamant:stone_2 72 72 72
nc_adamant:stone_3 72 72 72
nc_adamant:stone_4 72 72 72
nc_adamant:stone_5 72 72 72
nc_adamant:stone_6 72 72 72
nc_adamant:stone_7 72 72 72

# nc_light
nc_light:lantern_1 57 39 35
nc_light:lantern_2 57 39 35
nc_light:lantern_3 57 39 35
nc_light:lantern_4 57 39 35
nc_light:lantern_5 57 39 35
nc_light:lantern_6 57 39 35
nc_light:lantern_7 57 39 35
nc_light:lantern_8 57 39 35
nc_light:lantern_empty 57 39 35
nc_light:lantern_lit_1 57 39 35
nc_light:lantern_lit_2 57 39 35
nc_light:lantern_lit_3 57 39 35
nc_light:lantern_lit_4 57 39 35
nc_light:lantern_lit_5 57 39 35
nc_light:lantern_lit_6 57 39 35
nc_light:lantern_lit_7 57 39 35
nc_light:lantern_lit_8 57 39 35
nc_light:luxlamp_0 139 187 212
nc_light:luxlamp_1 139 187 212
nc_light:luxlamp_2 139 187 212
nc_light:luxlamp_3 139 187 212
nc_light:luxlamp_4 139 187 212

# nc_lignite
nc_lignite:cobble 72 72 72
nc_lignite:cobble_loose 72 72 72
nc_lignite:ore 72 72 72
nc_lignite:ore_1 72 72 72
nc_lignite:ore_2 72 72 72
nc_lignite:ore_3 72 72 72
nc_lignite:ore_4 72 72 72
nc_lignite:ore_5 72 72 72
nc_lignite:ore_6 72 72 72
nc_lignite:ore_7 72 72 72
nc_lignite:stone 72 72 72
nc_lignite:stone_1 72 72 72
nc_lignite:stone_2 72 72 72
nc_lignite:stone_3 72 72 72
nc_lignite:stone_4 72 72 72
nc_lignite:stone_5 72 72 72
nc_lignite:stone_6 72 72 72
nc_lignite:stone_7 72 72 72

# nc_luxgate
nc_luxgate:block_ilmenite 81 81 77
nc_luxgate:cobble_ilmenite 81 81 77
nc_luxgate:frame_e 44 44 44
nc_luxgate:frame_lam 58 56 43
nc_luxgate:frame_ohm 44 44 44
nc_luxgate:frame_v 44 44 44
nc_luxgate:ulvstone 44 44 44
nc_luxgate:ulvstone_c 44 44 44
nc_luxgate:ulvstone_i 41 41 41
nc_luxgate:ulvstone_v 49 49 52
nc_luxgate:vessicle 250 255 201
nc_luxgate:vessicleNull 250 255 201

# nc_rabbits
nc_rabbits:rabbit_head 102 100 97
nc_rabbits:rabbit_hole 39 98 15
nc_rabbits:trap 102 97 94

# nc_stucco
nc_stucco:crushed_stucco_clay 101 81 64
nc_stucco:crushed_stucco_slate 44 44 44
nc_stucco:post_1_clay 101 81 64
nc_stucco:post_1_slate 44 44 44
nc_stucco:post_2_clay 101 81 64
nc_stucco:post_2_slate 44 44 44
nc_stucco:stucco_barry_clay 101 81 64
nc_stucco:stucco_barry_clay_dry 103 80 57
nc_stucco:stucco_barry_slate 44 44 44
nc_stucco:stucco_barry_slate_dry 44 44 44
nc_stucco:stucco_beetle_clay 101 81 64
nc_stucco:stucco_beetle_clay_dry 103 80 57
nc_stucco:stucco_beetle_slate 44 44 44
nc_stucco:stucco_beetle_slate_dry 44 44 44
nc_stucco:stucco_bindy_clay 101 81 64
nc_stucco:stucco_bindy_clay_dry 103 80 57
nc_stucco:stucco_bindy_slate 44 44 44
nc_stucco:stucco_bindy_slate_dry 44 44 44
nc_stucco:stucco_bordythick_clay 101 81 64
nc_stucco:stucco_bordythick_clay_dry 103 80 57
nc_stucco:stucco_bordythick_slate 44 44 44
nc_stucco:stucco_bordythick_slate_dry 44 44 44
nc_stucco:stucco_bordythin_clay 101 81 64
nc_stucco:stucco_bordythin_clay_dry 103 80 57
nc_stucco:stucco_bordythin_slate 44 44 44
nc_stucco:stucco_bordythin_slate_dry 44 44 44
nc_stucco:stucco_brexy_clay 101 81 64
nc_stucco:stucco_brexy_clay_dry 103 80 57
nc_stucco:stucco_brexy_slate 44 44 44
nc_stucco:stucco_brexy_slate_dry 44 44 44
nc_stucco:stucco_bricky_clay 101 81 64
nc_stucco:stucco_bricky_clay_dry 103 80 57
nc_stucco:stucco_bricky_slate 44 44 44
nc_stucco:stucco_bricky_slate_dry 44 44 44
nc_stucco:stucco_corinth_clay 101 81 64
nc_stucco:stucco_corinth_clay_dry 103 80 57
nc_stucco:stucco_corinth_slate 44 44 44
nc_stucco:stucco_corinth_slate_dry 44 44 44
nc_stucco:stucco_crossy_clay 101 81 64
nc_stucco:stucco_crossy_clay_dry 103 80 57
nc_stucco:stucco_crossy_slate 44 44 44
nc_stucco:stucco_crossy_slate_dry 44 44 44
nc_stucco:stucco_damp_clay 101 81 64
nc_stucco:stucco_damp_slate 44 44 44
nc_stucco:stucco_doric_clay 101 81 64
nc_stucco:stucco_doric_clay_dry 103 80 57
nc_stucco:stucco_doric_slate 44 44 44
nc_stucco:stucco_doric_slate_dry 44 44 44
nc_stucco:stucco_dry_clay 101 81 64
nc_stucco:stucco_dry_slate 44 44 44
nc_stucco:stucco_enol_clay 101 81 64
nc_stucco:stucco_enol_clay_dry 103 80 57
nc_stucco:stucco_enol_slate 44 44 44
nc_stucco:stucco_enol_slate_dry 44 44 44
nc_stucco:stucco_foote_clay 101 81 64
nc_stucco:stucco_foote_clay_dry 103 80 57
nc_stucco:stucco_foote_slate 44 44 44
nc_stucco:stucco_foote_slate_dry 44 44 44
nc_stucco:stucco_gkey_clay 101 81 64
nc_stucco:stucco_gkey_clay_dry 103 80 57
nc_stucco:stucco_gkey_slate 44 44 44
nc_stucco:stucco_gkey_slate_dry 44 44 44
nc_stucco:stucco_hashy_clay 101 81 64
nc_stucco:stucco_hashy_clay_dry 103 80 57
nc_stucco:stucco_hashy_slate 44 44 44
nc_stucco:stucco_hashy_slate_dry 44 44 44
nc_stucco:stucco_hatchy_clay 101 81 64
nc_stucco:stucco_hatchy_clay_dry 103 80 57
nc_stucco:stucco_hatchy_slate 44 44 44
nc_stucco:stucco_hatchy_slate_dry 44 44 44
nc_stucco:stucco_hexy_clay 101 81 64
nc_stucco:stucco_hexy_clay_dry 103 80 57
nc_stucco:stucco_hexy_slate 44 44 44
nc_stucco:stucco_hexy_slate_dry 44 44 44
nc_stucco:stucco_icebox_clay 101 81 64
nc_stucco:stucco_icebox_clay_dry 103 80 57
nc_stucco:stucco_icebox_slate 44 44 44
nc_stucco:stucco_icebox_slate_dry 44 44 44
nc_stucco:stucco_lamby_clay 101 81 64
nc_stucco:stucco_lamby_clay_dry 103 80 57
nc_stucco:stucco_lamby_slate 44 44 44
nc_stucco:stucco_lamby_slate_dry 44 44 44
nc_stucco:stucco_logos_clay 101 81 64
nc_stucco:stucco_logos_clay_dry 103 80 57
nc_stucco:stucco_logos_slate 44 44 44
nc_stucco:stucco_logos_slate_dry 44 44 44
nc_stucco:stucco_moist_clay 101 81 64
nc_stucco:stucco_moist_slate 44 44 44
nc_stucco:stucco_mucky_clay 101 81 64
nc_stucco:stucco_mucky_clay_dry 103 80 57
nc_stucco:stucco_mucky_slate 44 44 44
nc_stucco:stucco_mucky_slate_dry 44 44 44
nc_stucco:stucco_panelly_clay 101 81 64
nc_stucco:stucco_panelly_clay_dry 103 80 57
nc_stucco:stucco_panelly_slate 44 44 44
nc_stucco:stucco_panelly_slate_dry 44 44 44
nc_stucco:stucco_peeky_clay 101 81 64
nc_stucco:stucco_peeky_clay_dry 103 80 57
nc_stucco:stucco_peeky_slate 44 44 44
nc_stucco:stucco_peeky_slate_dry 44 44 44
nc_stucco:stucco_powdered_clay 101 81 64
nc_stucco:stucco_powdered_slate 44 44 44
nc_stucco:stucco_ridgey_clay 101 81 64
nc_stucco:stucco_ridgey_clay_dry 103 80 57
nc_stucco:stucco_ridgey_slate 44 44 44
nc_stucco:stucco_ridgey_slate_dry 44 44 44
nc_stucco:stucco_slatty_clay 101 81 64
nc_stucco:stucco_slatty_clay_dry 103 80 57
nc_stucco:stucco_slatty_slate 44 44 44
nc_stucco:stucco_slatty_slate_dry 44 44 44
nc_stucco:stucco_sn_clay 101 81 64
nc_stucco:stucco_sn_clay_dry 103 80 57
nc_stucco:stucco_sn_slate 44 44 44
nc_stucco:stucco_sn_slate_dry 44 44 44
nc_stucco:stucco_sodden_clay 101 81 64
nc_stucco:stucco_sodden_slate 44 44 44
nc_stucco:stucco_stakey_clay 101 81 64
nc_stucco:stucco_stakey_clay_dry 103 80 57
nc_stucco:stucco_stakey_slate 44 44 44
nc_stucco:stucco_stakey_slate_dry 44 44 44
nc_stucco:stucco_starry_clay 101 81 64
nc_stucco:stucco_starry_clay_dry 103 80 57
nc_stucco:stucco_starry_slate 44 44 44
nc_stucco:stucco_starry_slate_dry 44 44 44
nc_stucco:stucco_targey_clay 101 81 64
nc_stucco:stucco_targey_clay_dry 103 80 57
nc_stucco:stucco_targey_slate 44 44 44
nc_stucco:stucco_targey_slate_dry 44 44 44
nc_stucco:stucco_vermi_clay 101 81 64
nc_stucco:stucco_vermi_clay_dry 103 80 57
nc_stucco:stucco_vermi_slate 44 44 44
nc_stucco:stucco_vermi_slate_dry 44 44 44

# nc_vulcan
nc_vulcan:basalt 29 35 39
nc_vulcan:dirt_ashy 78 50 26
nc_vulcan:dirt_hot 78 50 26

# ncbells
ncbells:bell_1 139 187 212 32
ncbells:bell_10 139 187 212 32
ncbells:bell_11 139 187 212 32
ncbells:bell_12 139 187 212 32
ncbells:bell_2 139 187 212 32
ncbells:bell_3 139 187 212 32
ncbells:bell_4 139 187 212 32
ncbells:bell_5 139 187 212 32
ncbells:bell_6 139 187 212 32
ncbells:bell_7 139 187 212 32
ncbells:bell_8 139 187 212 32
ncbells:bell_9 139 187 212 32