forked from CN-DST-DEVELOPER/scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfalloffdefs.lua
More file actions
41 lines (36 loc) · 1.2 KB
/
falloffdefs.lua
File metadata and controls
41 lines (36 loc) · 1.2 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
local TileManager = require("tilemanager")
mod_protect_TileManager = false
TileManager.AddFalloffTexture(
FALLOFF_IDS.FALLOFF,
{
name = "falloff",
noise_texture = "images/square.tex",
should_have_falloff = TileGroups.LandTilesNotDock,
should_have_falloff_result = true,
neighbor_needs_falloff = TileGroups.LandTilesNotDock,
neighbor_needs_falloff_result = false
}
)
TileManager.AddFalloffTexture(
FALLOFF_IDS.DOCK_FALLOFF,
{
name = "dock_falloff",
noise_texture = "images/square.tex",
should_have_falloff = TileGroups.DockTiles,
should_have_falloff_result = true,
neighbor_needs_falloff = TileGroups.TransparentOceanTiles,
neighbor_needs_falloff_result = true
}
)
TileManager.AddFalloffTexture(
FALLOFF_IDS.OCEANICE_FALLOFF,
{
name = "oceanice_falloff",
noise_texture = "images/square.tex",
should_have_falloff = TileGroups.OceanIceTiles,
should_have_falloff_result = true,
neighbor_needs_falloff = TileGroups.TransparentOceanTiles,
neighbor_needs_falloff_result = true,
}
)
mod_protect_TileManager = true