capturetheflag/mods/ctf/ctf_map/ctf_map_core
ANAND 6b33820447
setup_maps.sh: Improve renaming of maps' screenshot textures
Screenshot textures would be renamed to "<mapname>_screenshot.png", making it explicit that this texture is a screenshot texture.

This fixes a potential bug wherein the screenshot texture could unintentionally override other textures if the map's name matches the texture name. e.g. moon.png - this would now be renamed to moon_screenshot.png.
2020-04-24 00:45:29 +05:30
..
maps@abb43286ca Update maps submodule 2020-04-21 13:22:25 +05:30
textures ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
barrier.lua ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
base.lua ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
chest.lua Add class items 2020-03-14 20:00:32 +00:00
emerge.lua ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
init.lua setup_maps.sh: Improve renaming of maps' screenshot textures 2020-04-24 00:45:29 +05:30
maps_catalog.lua setup_maps.sh: Improve renaming of maps' screenshot textures 2020-04-24 00:45:29 +05:30
meta_helpers.lua Add class items 2020-03-14 20:00:32 +00:00
mod.conf Add class items 2020-03-14 20:00:32 +00:00
nodes.lua ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
README.md ctf_map: Convert to modpack; split map maker into separate mod (#475) 2019-11-28 10:51:59 +05:30
schem_map.lua Automatically fix incorrect chest zones in map configs 2020-03-15 01:00:04 +00:00

CTF Map Core

This mod handles creating and loading maps.

Attributions

  • Indestructible nodes adapted from various mods in minetest_game.

Indestructible nodes

  • ctf_map_core provides indestructible nodes for most nodes from default, and all nodes from stairs.

  • All indestructible nodes have the same item name with the mod prefix being ctf_map: instead of their original prefixes (e.g. default:stone -> ctf_map:stone and stairs:stair_stone -> ctf_map:stair_stone) with the exception of wool, whose indestructible nodes have slightly different names from the original node names - ctf_map:wool_<color>. This is because the original nomenclature becomes meaningless if the modname prefix is changed.