mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-20 15:21:29 +00:00
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
10 lines
442 B
Plaintext
10 lines
442 B
Plaintext
GLOBAL_VAR(create_turf_html)
|
|
/datum/admins/proc/create_turf(var/mob/user)
|
|
if(!GLOB.create_turf_html)
|
|
var/turfjs = null
|
|
turfjs = jointext(typesof(/turf), ";")
|
|
GLOB.create_turf_html = file2text('html/create_object.html')
|
|
GLOB.create_turf_html = replacetext(GLOB.create_turf_html, "null /* object types */", "\"[turfjs]\"")
|
|
|
|
user << browse(replacetext(GLOB.create_turf_html, "/* ref src */", UID()), "window=create_turf;size=425x475")
|