Commit Graph

17 Commits

Author SHA1 Message Date
Tad Hardesty
b4ce7bc1f1 Validate map templates uploaded by admins (#39674)
* Move the preloader datum to its own file

* Prettify some of the map loader docs

* Use src rather than usr in map template verbs

* Cache parsed templates between upload and first use

* Validate map templates uploaded by admins before use

* Add href token to validation report links
2018-08-16 10:09:21 +02:00
Tad Hardesty
a72cd18ae1 Fix template preview being invisible on space turfs (#37971) 2018-05-25 14:34:45 +02:00
ninjanomnom
79217530aa Makes admin loaded shuttles work again 2018-04-15 02:56:07 -04:00
Leo
3b9b4e0755 Changes a bunch of hrefs to the proper defines (#26760) 2017-05-02 01:19:51 -06:00
Lzimann
5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Cyberboss
311ba7b7f0 Fixes admin uploaded map templates (#24581) 2017-03-02 15:12:40 +01:00
Cyberboss
1365ab99d8 Merges map templates and map loader (#24140)
* Reorganize the mapping code

* Finish this up

* Reee line endings

* FUCKING LINE ENDINGS

* LINARU ENDARU

* >PLS SET REPO LINE ENDINGS

* Comments

* Hoisted by my own travis.yml changes
2017-02-19 16:55:02 +13:00
YotaXP
03d38bf895 Adds a 'measureOnly' mode to the maploader code for templates. 2016-04-18 16:04:35 -04:00
AnturK
19e188322c Fixes uploaded templates. 2016-02-26 17:41:30 +01:00
AnturK
e22dddb50a Minor Improvements 2016-02-23 21:44:21 +01:00
AnturK
4e0db5664b Adds /turf/template_noop and /area/template_noop to dmm reader 2016-02-22 19:24:45 +01:00
AnturK
07432da284 Fixes off-by-one errors.
Adds template area preview
2016-02-22 19:09:31 +01:00
AnturK
ceb9af945c Removes typo.
Makes Load Template verb get turf after input.
2016-02-20 18:12:20 +01:00
AnturK
8999db80b4 Fixes shuttles loading improperly in templates
Adds template datum and preloader
2016-01-29 20:51:12 +01:00
Remie Richards
965b6642ad smarter extension detection 2015-12-23 20:34:31 +00:00
Remie Richards
67c71b5961 Allows admins to upload a map template to be used by themselves or other admins, does NOT persist between rounds. 2015-12-23 02:24:08 +00:00
Remie Richards
5f257aa8fe Admins with +DEBUG can now Load map files in the _map/templates folder where they (or their ghost) is standing. 2015-12-20 21:21:33 +00:00