Skip to content

Commit

Permalink
Tile the munched tree in snow as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Sep 19, 2021
1 parent 1b8229a commit 03f36bf
Show file tree
Hide file tree
Showing 6 changed files with 219 additions and 30 deletions.
Binary file modified mods/hv/bits/terrain/trees.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions mods/hv/bits/terrain/trees.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FrameSize: 20,20
FrameAmount: 16
FrameAmount: 15
Offset: 0,0
Author: Daniel Cook, Matthias Mailänder
Author: Daniel Cook
License: CC-BY-3.0-US
Binary file added mods/hv/bits/terrain/treesmnch.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions mods/hv/bits/terrain/treesmnch.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FrameSize: 20,20
FrameAmount: 15
Offset: 0,0
Author: Daniel Cook, Pawel Dzierzanowski
License: CC-BY-3.0-US
111 changes: 91 additions & 20 deletions mods/hv/rules/terrain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -331,15 +331,86 @@ Grass:
LaysTerrain:
Template: 121

TreeMudSnow:
TreeMudSnow1:
Inherits: ^TreeMud
LaysTerrain:
Template: 1305
Template: 1420

TreeMudSnow2:
Inherits: TreeMudSnow
Inherits: ^TreeMud
LaysTerrain:
Template: 1421

TreeMudSnow3:
Inherits: ^TreeMud
LaysTerrain:
Template: 1422

TreeMudSnow4:
Inherits: ^TreeMud
LaysTerrain:
Template: 1423

TreeMudSnow5:
Inherits: ^TreeMud
LaysTerrain:
Template: 1424

TreeMudSnow6:
Inherits: ^TreeMud
LaysTerrain:
Template: 1425

TreeMudSnow7:
Inherits: ^TreeMud
LaysTerrain:
Template: 1426

TreeMudSnow8:
Inherits: ^TreeMud
LaysTerrain:
Template: 1427

TreeMudSnow9:
Inherits: ^TreeMud
LaysTerrain:
Template: 1428

TreeMudSnow10:
Inherits: ^TreeMud
LaysTerrain:
Template: 1429

TreeMudSnow11:
Inherits: ^TreeMud
LaysTerrain:
Template: 1430

TreeMudSnow12:
Inherits: ^TreeMud
LaysTerrain:
Template: 1431

TreeMudSnow13:
Inherits: ^TreeMud
LaysTerrain:
Template: 1432

TreeMudSnow14:
Inherits: ^TreeMud
LaysTerrain:
Template: 1433

TreeMudSnow15:
Inherits: ^TreeMud
LaysTerrain:
Template: 1434

TreeMudSnow16:
Inherits: ^TreeMud
LaysTerrain:
Offset: 0,1
Template: 1424

Snow:
Inherits: ^TreeMud
Expand All @@ -351,21 +422,21 @@ TREES1:
Tree:
Template: 1287
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow1

TREES2:
Inherits: ^Tree
Tree:
Template: 1288
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow2

TREES3:
Inherits: ^Tree
Tree:
Template: 1289
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow3

TREES4:
Inherits: ^Tree
Expand All @@ -380,7 +451,7 @@ TREES4:
AppearsOnMapPreview:
Terrain: Plant
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow2
Actor: TreeMudSnow16
SpawnActorOnDeath@Ash:
Actor: TreeAsh

Expand All @@ -389,84 +460,84 @@ TREES5:
Tree:
Template: 1291
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow4

TREES6:
Inherits: ^Tree
Tree:
Template: 1292
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow
Actor: TreeMudSnow5

TREES7:
Inherits: ^Tree
Tree:
Template: 1293
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow6

TREES8:
Inherits: ^Tree
Tree:
Template: 1294
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow7

TREES9:
Inherits: ^Tree
Tree:
Template: 1295
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow8

TREES10:
Inherits: ^Tree
Tree:
Template: 1296
SpawnActorOnDeath@Crush:
Actor: Snow
Actor: TreeMudSnow9

TREES11:
Inherits: ^Tree
Tree:
Template: 1297
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow
Actor: TreeMudSnow10

TREES12:
Inherits: ^Tree
Tree:
Template: 1298
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow
Actor: TreeMudSnow11

TREES13:
Inherits: ^Tree
Tree:
Template: 1299
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow
Actor: TreeMudSnow12

TREES14:
Inherits: ^Tree
Tree:
Template: 1300
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow
Actor: TreeMudSnow13

TREES15:
Inherits: ^Tree
Tree:
Template: 1301
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow
Actor: TreeMudSnow14

TREES16:
Inherits: ^Tree
Tree:
Template: 1302
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow
Actor: TreeMudSnow15

TREES17:
Inherits: ^Tree
Expand All @@ -481,7 +552,7 @@ TREES17:
AppearsOnMapPreview:
Terrain: Plant
SpawnActorOnDeath@Crush:
Actor: TreeMudSnow2
Actor: TreeMudSnow16
SpawnActorOnDeath@Ash:
Actor: TreeAsh

Expand Down
129 changes: 121 additions & 8 deletions mods/hv/tileset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9841,14 +9841,6 @@ Templates:
Categories: Plant
Tiles:
0: Stone
Template@1305:
Id: 1305
Images: bits/terrain/trees.png
Frames: 15
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1306:
Id: 1306
Images: bits/terrain/grascliffend.png
Expand Down Expand Up @@ -10775,3 +10767,124 @@ Templates:
Categories: Road
Tiles:
0: Road
Template@1420:
Id: 1420
Images: bits/terrain/treesmnch.png
Frames: 0
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1421:
Id: 1421
Images: bits/terrain/treesmnch.png
Frames: 1
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1422:
Id: 1422
Images: bits/terrain/treesmnch.png
Frames: 2
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1423:
Id: 1423
Images: bits/terrain/treesmnch.png
Frames: 3
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1424:
Id: 1424
Images: bits/terrain/treesmnch.png
Frames: 4
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1425:
Id: 1425
Images: bits/terrain/treesmnch.png
Frames: 5
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1426:
Id: 1426
Images: bits/terrain/treesmnch.png
Frames: 6
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1427:
Id: 1427
Images: bits/terrain/treesmnch.png
Frames: 7
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1428:
Id: 1428
Images: bits/terrain/treesmnch.png
Frames: 8
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1429:
Id: 1429
Images: bits/terrain/treesmnch.png
Frames: 9
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1430:
Id: 1430
Images: bits/terrain/treesmnch.png
Frames: 10
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1431:
Id: 1431
Images: bits/terrain/treesmnch.png
Frames: 11
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1432:
Id: 1432
Images: bits/terrain/treesmnch.png
Frames: 12
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1433:
Id: 1433
Images: bits/terrain/treesmnch.png
Frames: 13
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant
Template@1434:
Id: 1434
Images: bits/terrain/treesmnch.png
Frames: 14
Size: 1,1
Categories: Snow, Plant
Tiles:
0: Plant

0 comments on commit 03f36bf

Please sign in to comment.