Skip to content

Commit

Permalink
nexelit tile
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Aug 28, 2023
1 parent 6085bf5 commit 071eccc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 30 deletions.
Binary file modified graphics/icons/py-nexelit.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 added graphics/tiles/py-nexelit/hr-py-nexelit.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 modified graphics/tiles/py-nexelit/py-nexelit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 8 additions & 30 deletions prototypes/tiles/py-nexelit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ITEM {
type = "item",
name = "py-nexelit",
icon = "__pyindustry__/graphics/icons/py-nexelit.png",
icon_size = 32,
icon_size = 64,
flags = {},
subgroup = "py-tiles",
order = "a-nexelit",
Expand All @@ -36,35 +36,6 @@ ENTITY {
walking_speed_modifier = 3.5,
decorative_removal_probability = 1,
layer = 61,
variants = {
main = {
{
picture = "__pyindustry__/graphics/tiles/py-nexelit/py-nexelit.png",
count = 1,
size = 1
}
},
inner_corner = {
picture = "__pyindustry__/graphics/tiles/py-asphalt/concrete-inner-corner.png",
count = 8
},
outer_corner = {
picture = "__pyindustry__/graphics/tiles/py-asphalt/concrete-outer-corner.png",
count = 8
},
side = {
picture = "__pyindustry__/graphics/tiles/py-asphalt/concrete-side.png",
count = 8
},
u_transition = {
picture = "__pyindustry__/graphics/tiles/py-asphalt/concrete-u.png",
count = 8
},
o_transition = {
picture = "__pyindustry__/graphics/tiles/py-asphalt/concrete-o.png",
count = 1
}
},
walking_sound = {
{
filename = "__pyindustry__/sounds/iron-foot-01.ogg",
Expand All @@ -87,3 +58,10 @@ ENTITY {
pollution_absorption_per_second = 0,
vehicle_friction_modifier = 0.6
}

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

0 comments on commit 071eccc

Please sign in to comment.