Skip to content

Commit

Permalink
Merge pull request #112 from O5MO/master
Browse files Browse the repository at this point in the history
New texture for coal tile
  • Loading branch information
notnotmelon authored Jan 2, 2025
2 parents 064637d + a682804 commit 10ac840
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 21 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Version: 3.0.10
Date: ???
Changes:
- Fixed radars not being connectable to the circuit network
- Added new textures for asphalt and coal tile
---------------------------------------------------------------------------------------------------
Version: 3.0.9
Date: 2024-11-29
Expand Down
Binary file removed graphics/tiles/py-asphalt/concrete-inner-corner.png
Binary file not shown.
Binary file removed graphics/tiles/py-asphalt/concrete-o.png
Binary file not shown.
Binary file removed graphics/tiles/py-asphalt/concrete-outer-corner.png
Binary file not shown.
Binary file removed graphics/tiles/py-asphalt/concrete-side.png
Binary file not shown.
Binary file removed graphics/tiles/py-asphalt/concrete-u.png
Binary file not shown.
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added graphics/tiles/py-coal-tile/py-coal-tile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions prototypes/tiles/py-asphalt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,38 +36,38 @@ TILE {
collision_mask = {layers = {ground_tile = true}},
walking_speed_modifier = 3.25,
decorative_removal_probability = 1,
layer = 10,
layer = 9,
layer_group = "ground-artificial",
variants = {
material_background = {
picture = "__pyindustry__/graphics/tiles/py-asphalt/asphalt.png",
picture = "__pyindustry__/graphics/tiles/py-asphalt/py-asphalt.png",
count = 8,
scale = 0.5
},
transition = {
mask_layout = {
inner_corner = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/asphalt-inner-corner-mask.png",
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/py-asphalt-inner-corner-mask.png",
count = 8,
scale = 0.5
},
outer_corner = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/asphalt-outer-corner-mask.png",
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/py-asphalt-outer-corner-mask.png",
count = 8,
scale = 0.5
},
side = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/asphalt-side-mask.png",
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/py-asphalt-side-mask.png",
count = 8,
scale = 0.5
},
u_transition = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/asphalt-u-mask.png",
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/py-asphalt-u-mask.png",
count = 8,
scale = 0.5
},
o_transition = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/asphalt-o-mask.png",
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/py-asphalt-o-mask.png",
count = 4,
scale = 0.5
}
Expand Down
36 changes: 22 additions & 14 deletions prototypes/tiles/py-coal-tile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,40 @@ TILE {
collision_mask = {layers = {ground_tile = true}},
walking_speed_modifier = 3.25,
decorative_removal_probability = 1,
layer = 101,
layer = 10,
layer_group = "ground-artificial",
variants = {
main = data.raw.tile["lab-dark-1"].variants.main,
material_background = {
picture = "__pyindustry__/graphics/tiles/py-coal-tile/py-coal-tile.png",
count = 8,
scale = 0.5
},
transition = {
overlay_layout = {
mask_layout = {
inner_corner = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/concrete-inner-corner.png",
count = 8
spritesheet = "__pyindustry__/graphics/tiles/py-coal-tile/py-coal-tile-inner-corner-mask.png",
count = 8,
scale = 0.5
},
outer_corner = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/concrete-outer-corner.png",
count = 8
spritesheet = "__pyindustry__/graphics/tiles/py-coal-tile/py-coal-tile-outer-corner-mask.png",
count = 8,
scale = 0.5
},
side = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/concrete-side.png",
count = 8
spritesheet = "__pyindustry__/graphics/tiles/py-coal-tile/py-coal-tile-side-mask.png",
count = 8,
scale = 0.5
},
u_transition = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/concrete-u.png",
count = 8
spritesheet = "__pyindustry__/graphics/tiles/py-coal-tile/py-coal-tile-u-mask.png",
count = 8,
scale = 0.5
},
o_transition = {
spritesheet = "__pyindustry__/graphics/tiles/py-asphalt/concrete-o.png",
count = 1
spritesheet = "__pyindustry__/graphics/tiles/py-coal-tile/py-coal-tile-o-mask.png",
count = 4,
scale = 0.5
}
}
}
Expand All @@ -74,5 +83,4 @@ TILE {
map_color = {r = 50, g = 50, b = 50, a = 1},
absorptions_per_second = {pollution = 0},
vehicle_friction_modifier = 0.6,
tint = {0.2, 0.2, 0.2}
}

0 comments on commit 10ac840

Please sign in to comment.