Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- })
- data:extend({
- (function()
- local pump = table.deepcopy(data.raw["pump"]["pump"])
- pump.name = "plastic-pump"
- pump.icon = "__better-plastic-pipes__/graphics/icon/pump.png"
- pump.minable = { mining_time = 0.1, "plastic-pump" }
- pump.resistances =
- {
- {
- type = "fire",
- percent = -50
- },
- {
- type = "impact",
- percent = -20
- },
- {
- type = "physical",
- percent = -50
- },
- {
- type = "acid",
- percent = 95
- }
- }
- pump.fluid_animation = nil
- pump.glass_pictures = nil
- pump.graphics_set = {}
- pump.graphics_set.animation =
- {
- north =
- {
- filename = "__better-plastic-pipes__/graphics/entity/pump/pump-north.png",
- width = 96,
- height = 128,
- frame_count = 32,
- line_length = 8,
- animation_speed = 0.5
- },
- east =
- {
- filename = "__better-plastic-pipes__/graphics/entity/pump/pump-east.png",
- width = 128,
- height = 96,
- frame_count = 32,
- line_length = 8,
- animation_speed = 0.5
- },
- south =
- {
- filename = "__better-plastic-pipes__/graphics/entity/pump/pump-south.png",
- width = 96,
- height = 128,
- frame_count = 32,
- line_length = 8,
- animation_speed = 0.5
- },
- west =
- {
- filename = "__better-plastic-pipes__/graphics/entity/pump/pump-east.png",
- width = 128,
- height = 96,
- frame_count = 32,
- line_length = 8,
- animation_speed = 0.5
- }
- }
- return pump
- end)()
Advertisement
Add Comment
Please, Sign In to add comment