mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Tweaks Travis to compile all PoI maps in order to allow the compiler to find certain problems such as missing paths. This is needed because PoIs are loaded at runtime as opposed to being compiled like traditional maps, making them a bit prone to problems. Travis should help find those problems before they reach the live server by failing PRs which add a broken PoI map or break any existing PoI maps. For regular use, the PoIs will not be compiled unless done so manually by the developer.
23 lines
842 B
Plaintext
23 lines
842 B
Plaintext
// This causes PoI maps to get 'checked' and compiled, when undergoing a unit test.
|
|
// This is so Travis can validate PoIs, and ensure future changes don't break PoIs, as PoIs are loaded at runtime and the compiler can't catch errors.
|
|
// When adding a new PoI, please add it to this list.
|
|
#if MAP_TEST
|
|
#include "farm1.dmm"
|
|
#include "spider1.dmm"
|
|
#endif
|
|
|
|
/datum/map_template/surface
|
|
name = "Surface Content"
|
|
desc = "Used to make the surface by 17% less boring."
|
|
|
|
// To be added: Templates for surface exploration when they are made.
|
|
|
|
/datum/map_template/surface/farm1
|
|
name = "Farm 1"
|
|
desc = "A small farm tended by a farmbot."
|
|
mappath = 'maps/submaps/surface_submaps/farm1.dmm'
|
|
|
|
/datum/map_template/surface/spider1
|
|
name = "Spider Nest 1"
|
|
desc = "A small spider nest, in the forest."
|
|
mappath = 'maps/submaps/surface_submaps/spider1.dmm' |