forked from DST-Hamlet/PorkLand
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodworldgenmain.lua
More file actions
33 lines (25 loc) · 839 Bytes
/
modworldgenmain.lua
File metadata and controls
33 lines (25 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
local modimport = modimport
GLOBAL.setfenv(1, GLOBAL)
local IsTheFrontEnd = rawget(_G, "TheFrontEnd") and rawget(_G, "IsInFrontEnd") and IsInFrontEnd()
if IsTheFrontEnd then
modimport("main/strings")
end
modimport("scripts/map/locations/porkland")
modimport("scripts/map/startlocations/porkland")
modimport("scripts/map/tasksets/porklandset")
modimport("scripts/map/levels/porkland")
if IsTheFrontEnd then return end
require("map/pl_lockandkey")
modimport("main/toolutil")
modimport("main/tileutil")
modimport("main/tuning")
modimport("main/tiledefs")
modimport("postinit/map/object_layout")
modimport("postinit/map/task")
modimport("postinit/map/level")
modimport("postinit/map/node")
modimport("postinit/map/forest_map")
require("map/pl_layouts")
require("map/pl_boons")
require("map/pl_traps")
require("map/tasks/porkland")