Skip to content

Commit 3fa79b2

Browse files
committed
feat(1.1): Update the Ultracube mod-fix to handle 1.1 too.
1 parent 2d72379 commit 3fa79b2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Yafc/Data/Mod-fixes/Ultracube.data-updates.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,13 @@ if data.raw.lab.lab then
3131
data.raw.lab.lab.inputs = {}
3232
end
3333

34+
-- For 1.1, update Technology.cube-construct-forbidden-ziggurat to a trigger tech instead.
35+
if data.raw.technology["cube-construct-forbidden-ziggurat"].unit then
36+
data.raw.technology["cube-construct-forbidden-ziggurat"].unit = nil
37+
data.raw.technology["cube-construct-forbidden-ziggurat"].research_trigger = {
38+
entity = { name = "cube-forbidden-ziggurat" },
39+
type = "build-entity"
40+
}
41+
end
42+
3443
return ...;

0 commit comments

Comments
 (0)