-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodmain.lua
More file actions
84 lines (67 loc) · 3.63 KB
/
modmain.lua
File metadata and controls
84 lines (67 loc) · 3.63 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
-- Hamlet Script Bug Fixes
-- Copyright (C) 2024 ziwbi
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
local modenv = env
GLOBAL.setfenv(1, GLOBAL)
if not IsDLCEnabled(PORKLAND_DLC) then
return
end
local component_postinits = {
"banditmanager",
"inventory",
"periodicthreat",
}
local prefab_postinits = {
"banditmap",
"gnatmound",
"hippopotamoose",
"lotus",
"piko",
"pugalisk_util",
"snake",
"teatrees",
}
local stategraph_postinits = {
"hippopotamoose",
"ironlord",
"pangolden",
}
for _, component in pairs(component_postinits) do
modenv.modimport(string.format("postinit/components/%s.lua", component))
end
for _, prefab in pairs(prefab_postinits) do
modenv.modimport(string.format("postinit/prefabs/%s.lua", prefab))
end
for _, stategraph in pairs(stategraph_postinits) do
modenv.modimport(string.format("postinit/stategraphs/SG%s.lua", stategraph))
end
modenv.modimport("postinit/recipes.lua")
--[[ Component Bug Fixes ]]--
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/masked-pig-leaves-oincs-at-0-0-0-r45921/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/depths-worms-attacks-spawn-inside-slanty-shanty-r44744/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/oincs-arent-properly-consumed-if-placed-in-a-chest-r43644/
--[[ Prefab Bug Fixes ]]--
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/gnat-mound-is-burnable-r45938/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/hippopotamoose-changes-state-while-jumping-across-landwater-r43998/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/platapines-might-not-spawn-at-the-right-position-r44002/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/piko-keeps-combat-target-forever-r43839/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/pikos-dont-get-stunned-when-dropped-r43845/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/wrong-animation-symbol-for-pikos-burning-and-freezing-animation-r43847/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/pugalisk-can-get-stuck-in-ground-r44266/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/snakes-dont-go-home-when-the-entity-sleeps-r43999/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/wrong-respawn-timer-for-pikos-r43848/
--[[ Stategraph Bug Fixes ]]--
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/player-wouldnt-exit-work-state-automatically-while-using-the-living-artifact-r44627/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/onmissother-event-does-not-trigger-with-hippopotamooses-leap-attack-r44676/
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/wrong-stategraph-name-for-pangolden-r43840/
--[[ Other Bug Fixes ]]--
--- https://forums.kleientertainment.com/klei-bug-tracker/dont-starve/deco_plantholder_winterfeasttree-and-deco_plantholder_winterfeasttreeofsadness-cant-be-crafted-r45905/