Loading

error with {}

  1. overwriteContent(processer, {
  2.     name = "big-processing-machine",
  3.     max_health = 1500,
  4.     crafting_categories = {"big-processing-machine"},
  5.     energy_usage = "500kW",
  6.     source_inventory_size = 3,
  7.     result_inventory_size = 4,
  8.     crafting_speed = 4,
  9.     collision_box = {{-2.2, -2.2}, {2.2, 2.2}},
  10.     selection_box = {{-2.5, -2.5}, {2.5, 2.5}},
  11.     icon =  "__hardCrafting__/graphics/icons/big-processing-machine.png",
  12.     working_sound = data.raw["furnace"]["electric-furnace"].working_sound,
  13.     open_sound  = data.raw["furnace"]["electric-furnace"].open_sound,
  14.     close_sound  = data.raw["furnace"]["electric-furnace"].close_sound,
  15.     animation = {
  16.         filename = "__hardCrafting__/graphics/entity/big-processing-machine/big-processing-machine.png",
  17.         priority = "high",
  18.         width = 184,
  19.         height = 188,
  20.         frame_count = 1,
  21.         line_length = 1,
  22.         shift = {0.515625, -0.40625}
  23.     },
  24.     working_visualisations =
  25.         {
  26.             {
  27.                 animation =
  28.                 {
  29.                 filename = "__hardCrafting__/graphics/entity/big-processing-machine/crusher-anim.png",
  30.                 priority = "high",
  31.                 width = 23,
  32.                 height = 14,
  33.                 frame_count = 12,
  34.                 line_length = 12,
  35.                 shift = {-0.78125, 1.90625}
  36.                 }
  37.             },
  38.             {
  39.                 animation =
  40.                 {
  41.                   filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-1.png",
  42.                   priority = "high",
  43.                   width = 19,
  44.                   height = 13,
  45.                   frame_count = 4,
  46.                   animation_speed = 0.5,
  47.                   shift = {-1.4375, 0.328125}
  48.                 }
  49.             },
  50.             {
  51.                 animation =
  52.                 {
  53.                   filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-2.png",
  54.                   priority = "high",
  55.                   width = 12,
  56.                   height = 9,
  57.                   frame_count = 4,
  58.                   animation_speed = 0.5,
  59.                   shift = {1.04688, -1.23438}
  60.                 }
  61.             },
  62.             {
  63.                 animation =
  64.                 {
  65.                   filename = "__base__/graphics/entity/electric-furnace/electric-furnace-propeller-2.png",
  66.                   priority = "high",
  67.                   width = 12,
  68.                   height = 9,
  69.                   frame_count = 4,
  70.                   animation_speed = 0.5,
  71.                   shift = {-0.703125, -0.890625}
  72.                 }
  73.             }
  74.         }      
  75. })

Comments