Jaidyn Ann
8e9e279d9e
That is, whenever the game is restarted, the maps are freshly-copied, thanks to our dear deep-copier METACOPY.
22 lines
585 B
Common Lisp
22 lines
585 B
Common Lisp
(ql:quickload '(alexandria cl-tiled assoc-utils str uiop))
|
|
(load "packages.lisp")
|
|
(load "util.lisp")
|
|
(load "overworld.util.lisp")
|
|
(load "overworld.tiled.lisp")
|
|
|
|
|
|
(defun local-path (subpath)
|
|
(format nil "~A~A" (uiop:getcwd) subpath))
|
|
|
|
|
|
(mapcar
|
|
(lambda (map-name)
|
|
(🌍.…::save-map-to-file
|
|
(local-path (format nil "res/maps/~A.tmx.lisp" map-name))
|
|
(overworld.tiled:load-map (local-path (format nil "res/maps/~A.tmx" map-name)))
|
|
":FLORA-SEARCH-AURORA"
|
|
(format nil "*~A-map-plist*" map-name)))
|
|
'("casino" "outdoors" "flashback-casino" "flashback-school"))
|
|
|
|
(quit)
|