Skip to content

Commit

Permalink
limestone tile
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Aug 28, 2023
1 parent 9f3e2de commit 37e3fb9
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 42 deletions.
Binary file added graphics/tiles/py-limestone/hr-py-limestone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file removed graphics/tiles/py-limestone/py-limestone-o.png
Binary file not shown.
Binary file not shown.
Binary file removed graphics/tiles/py-limestone/py-limestone-side.png
Binary file not shown.
Binary file removed graphics/tiles/py-limestone/py-limestone-u.png
Binary file not shown.
Binary file added graphics/tiles/py-limestone/py-limestone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed graphics/tiles/py-limestone/py-limestone1.png
Binary file not shown.
Binary file removed graphics/tiles/py-limestone/py-limestone2.png
Binary file not shown.
Binary file removed graphics/tiles/py-limestone/py-limestone4.png
Binary file not shown.
50 changes: 8 additions & 42 deletions prototypes/tiles/py-limestone.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,48 +39,7 @@ ENTITY {
collision_mask = {"ground-tile"},
walking_speed_modifier = 2.5,
decorative_removal_probability = 1,
layer = 61,
variants = {
main = {
{
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone1.png",
count = 16,
size = 1
},
{
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone2.png",
count = 4,
size = 2,
probability = 0.39
},
{
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone4.png",
count = 4,
size = 4,
probability = 1
}
},
inner_corner = {
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone-inner-corner.png",
count = 8
},
outer_corner = {
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone-outer-corner.png",
count = 8
},
side = {
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone-side.png",
count = 8
},
u_transition = {
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone-u.png",
count = 8
},
o_transition = {
picture = "__pyindustry__/graphics/tiles/py-limestone/py-limestone-o.png",
count = 1
}
},
layer = 55,
walking_sound = {
{
filename = "__base__/sound/walking/concrete-01.ogg",
Expand All @@ -104,3 +63,10 @@ ENTITY {
pollution_absorption_per_second = 0,
vehicle_friction_modifier = 0.75
}

add_material_background(
data.raw.tile['py-limestone'],
'__pyindustry__/graphics/tiles/py-limestone/py-limestone.png',
'__pyindustry__/graphics/tiles/py-limestone/hr-py-limestone.png',
4
)

0 comments on commit 37e3fb9

Please sign in to comment.