1
0
DDNet_Server/data/editor/grass_main.rules
Your Name ff5da79d57 init
2023-04-14 23:38:34 +08:00

677 lines
7.7 KiB
Plaintext
Executable File

[Default]
Index 1
#top
Index 16
Pos 0 -1 EMPTY
#right
Index 21
Pos 1 0 EMPTY
#bottom
Index 52
Pos 0 1 EMPTY
#left
Index 20
Pos -1 0 EMPTY
#corner top-right
Index 5
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
#corner top-left
Index 4
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
#corner bottom-left
Index 36
Pos 0 1 EMPTY
Pos -1 0 EMPTY
#corner bottom-right
Index 37
Pos 0 1 EMPTY
Pos 1 0 EMPTY
#inside corner top-right
Index 54
Pos -1 1 EMPTY
Pos -1 0 FULL
Pos 0 1 FULL
#inside corner top-left
Index 53
Pos 1 1 EMPTY
Pos 1 0 FULL
Pos 0 1 FULL
#inside corner bottom-left
Index 49
Pos 1 -1 EMPTY
Pos 1 0 FULL
Pos 0 -1 FULL
#inside corner bottom-right
Index 48
Pos -1 -1 EMPTY
Pos -1 0 FULL
Pos 0 -1 FULL
#right bottom
Index 22
Pos -1 0 EMPTY
Pos -1 1 FULL
Pos 0 1 FULL
#left bottom
Index 38
Pos 1 0 EMPTY
Pos 1 1 FULL
Pos 0 1 FULL
#top corner right 2
Index 33
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
Pos 1 1 FULL
#top corner left 2
Index 32
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
Pos -1 1 FULL
NewRun
#random bones
Index 2
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 3
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 66
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 67
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 68
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
NewRun
#random big bones
Index 64
Pos 0 0 INDEX 1
Pos 1 0 INDEX 1
Pos 0 1 INDEX 1
Pos 1 1 INDEX 1
Pos -1 0 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 0 2 NOTINDEX -1
Pos 2 0 NOTINDEX -1
Random 300
NewRun
#remove overlaps
Index 1
Pos 0 0 INDEX 64
Pos -1 0 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos -1 -1 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos 0 -1 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos 1 -1 INDEX 64
NewRun
#fill bones
Index 65
Pos -1 0 INDEX 64
Index 80
Pos 0 -1 INDEX 64
Index 81
Pos -1 -1 INDEX 64
[Grass]
Index 1
#top
Index 16
Pos 0 -1 EMPTY
#right
Index 17
Pos 1 0 EMPTY
#bottom
Index 18
Pos 0 1 EMPTY
#left
Index 19
Pos -1 0 EMPTY
#corner top-right
Index 33
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
#corner top-left
Index 32
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
#corner bottom-left
Index 35
Pos 0 1 EMPTY
Pos -1 0 EMPTY
#corner bottom-right
Index 34
Pos 0 1 EMPTY
Pos 1 0 EMPTY
#inside corner top-right
Index 51
Pos -1 1 EMPTY
Pos -1 0 FULL
Pos 0 1 FULL
#inside corner top-left
Index 50
Pos 1 1 EMPTY
Pos 1 0 FULL
Pos 0 1 FULL
#inside corner bottom-left
Index 49
Pos 1 -1 EMPTY
Pos 1 0 FULL
Pos 0 -1 FULL
#inside corner bottom-right
Index 48
Pos -1 -1 EMPTY
Pos -1 0 FULL
Pos 0 -1 FULL
NewRun
#random bones
Index 2
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 3
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 66
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 67
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 68
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
NewRun
#random big bones
Index 64
Pos 0 0 INDEX 1
Pos 1 0 INDEX 1
Pos 0 1 INDEX 1
Pos 1 1 INDEX 1
Pos -1 0 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 0 2 NOTINDEX -1
Pos 2 0 NOTINDEX -1
Random 300
NewRun
#remove overlaps
Index 1
Pos 0 0 INDEX 64
Pos -1 0 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos -1 -1 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos 0 -1 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos 1 -1 INDEX 64
NewRun
#fill bones
Index 65
Pos -1 0 INDEX 64
Index 80
Pos 0 -1 INDEX 64
Index 81
Pos -1 -1 INDEX 64
[Dirt]
Index 1
#top
Index 52 YFLIP
Pos 0 -1 EMPTY
#right
Index 21
Pos 1 0 EMPTY
#bottom
Index 52
Pos 0 1 EMPTY
#left
Index 20
Pos -1 0 EMPTY
#corner top-right
Index 37 YFLIP
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
#corner top-left
Index 36 YFLIP
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
#corner bottom-left
Index 36
Pos 0 1 EMPTY
Pos -1 0 EMPTY
#corner bottom-right
Index 37
Pos 0 1 EMPTY
Pos 1 0 EMPTY
#inside corner top-right
Index 54
Pos -1 1 EMPTY
Pos -1 0 FULL
Pos 0 1 FULL
#inside corner top-left
Index 53
Pos 1 1 EMPTY
Pos 1 0 FULL
Pos 0 1 FULL
#inside corner bottom-left
Index 53 YFLIP
Pos 1 -1 EMPTY
Pos 1 0 FULL
Pos 0 -1 FULL
#inside corner bottom-right
Index 54 YFLIP
Pos -1 -1 EMPTY
Pos -1 0 FULL
Pos 0 -1 FULL
NewRun
#random bones
Index 2
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 3
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 66
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 67
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
Index 68
Pos 0 0 INDEX 1
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 250
NewRun
#random big bones
Index 64
Pos 0 0 INDEX 1
Pos 1 0 INDEX 1
Pos 0 1 INDEX 1
Pos 1 1 INDEX 1
Pos -1 0 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 0 2 NOTINDEX -1
Pos 2 0 NOTINDEX -1
Random 300
NewRun
#remove overlaps
Index 1
Pos 0 0 INDEX 64
Pos -1 0 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos -1 -1 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos 0 -1 INDEX 64
Index 1
Pos 0 0 INDEX 64
Pos 1 -1 INDEX 64
NewRun
#fill bones
Index 65
Pos -1 0 INDEX 64
Index 80
Pos 0 -1 INDEX 64
Index 81
Pos -1 -1 INDEX 64
[Cave]
Index 13
#top
Index 26
Pos 0 -1 EMPTY
#right
Index 25
Pos 1 0 EMPTY
#bottom
Index 10
Pos 0 1 EMPTY
#left
Index 24
Pos -1 0 EMPTY
#corner top-right
Index 9
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
#corner top-left
Index 8
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
#corner bottom-left
Index 40
Pos 0 1 EMPTY
Pos -1 0 EMPTY
#corner bottom-right
Index 41
Pos 0 1 EMPTY
Pos 1 0 EMPTY
#inside corner top-right
Index 12
Pos -1 1 EMPTY
Pos -1 0 FULL
Pos 0 1 FULL
#inside corner top-left
Index 11
Pos 1 1 EMPTY
Pos 1 0 FULL
Pos 0 1 FULL
#inside corner bottom-left
Index 27
Pos 1 -1 EMPTY
Pos 1 0 FULL
Pos 0 -1 FULL
#inside corner bottom-right
Index 28
Pos -1 -1 EMPTY
Pos -1 0 FULL
Pos 0 -1 FULL
NewRun
#random bones
Index 29
Pos 0 0 INDEX 13
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 150
Index 42
Pos 0 0 INDEX 13
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 150
Index 43
Pos 0 0 INDEX 13
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 150
Index 44
Pos 0 0 INDEX 13
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 150
Index 45
Pos 0 0 INDEX 13
Pos 0 1 NOTINDEX -1
Pos 0 -1 NOTINDEX -1
Pos 1 0 NOTINDEX -1
Pos -1 0 NOTINDEX -1
Random 150
[Freeze]
Index 110
Index 108
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
Index 109
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
Index 124
Pos -1 0 EMPTY
Pos 0 1 EMPTY
Index 125
Pos 0 1 EMPTY
Pos 1 0 EMPTY
Index 110
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
Pos 0 1 EMPTY
Pos 1 0 EMPTY
[Unfreeze]
Index 78
Index 76
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
Index 77
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
Index 92
Pos -1 0 EMPTY
Pos 0 1 EMPTY
Index 93
Pos 0 1 EMPTY
Pos 1 0 EMPTY
Index 78
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
Pos 0 1 EMPTY
Pos 1 0 EMPTY
[Tele]
Index 142
Index 140
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
Index 141
Pos 0 -1 EMPTY
Pos 1 0 EMPTY
Index 156
Pos -1 0 EMPTY
Pos 0 1 EMPTY
Index 157
Pos 0 1 EMPTY
Pos 1 0 EMPTY
Index 142
Pos 0 -1 EMPTY
Pos -1 0 EMPTY
Pos 0 1 EMPTY
Pos 1 0 EMPTY
Index 1
Pos 0 0 INDEX 64
Pos 1 0 INDEX 80
Index 1
Pos 0 0 INDEX 80
Pos 1 -1 INDEX 80
Index 1
Pos 0 0 INDEX 81
Pos 0 -1 INDEX 80