A minetest mod for mapmaking
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
sys4 4532b2b3c9 Add loading message to action log il y a 2 semaines
models Add advanced table assets il y a 4 mois
sounds Add feedback sounds for table-related actions, and make sounds play for everyone il y a 3 mois
textures Add height mode toggle to maps il y a 3 mois
.gitignore Add graphics for 2nd tier table il y a 5 mois
.gitlab-ci.yml Add gitlab CI configuration to run luacheck automatically il y a 2 mois
.luacheckrc Fix remaining luacheck warnings il y a 2 mois
CHANGELOG.md Preparation for release il y a 1 mois
LICENSE-ccbysa4 Add license files il y a 2 mois
LICENSE-gplv3 Add license files il y a 2 mois
README.md Add license files il y a 2 mois
audio.lua Documentation pass, part 1 il y a 2 mois
autofill.lua Resolve TODOs il y a 1 mois
biome_api.lua Documentation pass, part 1 il y a 2 mois
chunk_api.lua Refactor marker_lookup out of init.lua il y a 2 mois
commands.lua Remove testing command il y a 2 mois
formspec.lua Formspec background fixes il y a 1 mois
init.lua Add loading message to action log il y a 2 semaines
items.lua Fix luacheck warnings il y a 1 mois
map_api.lua Remove unused variable il y a 1 mois
map_formspec.lua Fix coordinates being handled incorrectly in some places il y a 2 mois
marker_api.lua Documentation pass, part 2 il y a 2 mois
material_api.lua Documentation pass, part 2 il y a 2 mois
mod.conf Documentation pass, part 2 il y a 2 mois
scanner.lua Fix bounds-checking on marker pages il y a 1 mois
screenshot.png Update screenshot: Make logo larger il y a 1 mois
screenshot.xcf Update screenshot: Make logo larger il y a 1 mois
settingtypes.txt Resolve TODOs il y a 1 mois
skin_api.lua table formspec fixes il y a 1 mois
storage.lua Add configuration settings il y a 2 mois
table.lua Formspec background fixes il y a 1 mois
util.lua Documentation pass, part 3 il y a 2 mois

README.md

Cartographer

A Minetest mod that provides the necessary framework for crafting maps of the local environment from various resources. The mod is structured as an API of sorts, to allow it to be used with any game where such concepts are sensible.

How to set up Cartographer

Since Cartographer is an API, it needs at least one additional mod in order to function in your world. There are example mods available for Minetest Game and Repixture, and you can make your own to extend these or support other games of your choosing.

The process of making such a mod is pretty straightforward:

  1. Register every biome in your game with cartographer, by calling cartographer.biomes.add, listing the biome, texture names to use for each detail level, and an optional min/max height for those textures to be used.
  2. Register items/item groups that provide “paper” and “pigment” for mapmaking, by calling cartographer.materials.register_by_name or cartographer.materials.register_by_group. You can optionally specify how much of a material to provide per-item, or let it provide 1 unit by default.
  3. Add crafting recipes or other ways of acquiring the following nodes:
    • cartographer:simple_table
    • cartographer:standard_table
    • cartographer:advanced_table
  4. When integrating into a game, you can use cartographer.skin (skin_api.lua) to re-skin this mod's UI with your own textures and better integrate the mod with your art direction.

It's worth looking in the code to see what other options the cartographer API offers. If your mod/game would benefit from another means of acquiring or displaying maps, you can use the API to create your own crafting systems and mapping items.

Contact

For questions, requests, and other communications regarding this work, you can contact the original creator at hugues.ross@gmail.com

License

Cartographer's code is licensed under the GNU General Public License v3.0. A copy of this license should be bundled with this work, if one was not provided then you can find the license here

Cartographer's visual/audio assets are licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. A copy of this license should be bundled with this work, if one was not provided then you can find the license here