diff --git a/graphics/entity/ores/particle/gold-ore-particle-1.png b/graphics/entity/ores/particle/gold-ore-particle-1.png new file mode 100644 index 0000000..c6817dc Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-1.png differ diff --git a/graphics/entity/ores/particle/gold-ore-particle-2.png b/graphics/entity/ores/particle/gold-ore-particle-2.png new file mode 100644 index 0000000..403a5d8 Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-2.png differ diff --git a/graphics/entity/ores/particle/gold-ore-particle-3.png b/graphics/entity/ores/particle/gold-ore-particle-3.png new file mode 100644 index 0000000..b2bc37b Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-3.png differ diff --git a/graphics/entity/ores/particle/gold-ore-particle-4.png b/graphics/entity/ores/particle/gold-ore-particle-4.png new file mode 100644 index 0000000..9e312f6 Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-4.png differ diff --git a/graphics/entity/ores/particle/gold-ore-particle-shadow-1.png b/graphics/entity/ores/particle/gold-ore-particle-shadow-1.png new file mode 100644 index 0000000..1a5bdea Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-shadow-1.png differ diff --git a/graphics/entity/ores/particle/gold-ore-particle-shadow-2.png b/graphics/entity/ores/particle/gold-ore-particle-shadow-2.png new file mode 100644 index 0000000..963104d Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-shadow-2.png differ diff --git a/graphics/entity/ores/particle/gold-ore-particle-shadow-3.png b/graphics/entity/ores/particle/gold-ore-particle-shadow-3.png new file mode 100644 index 0000000..e44c241 Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-shadow-3.png differ diff --git a/graphics/entity/ores/particle/gold-ore-particle-shadow-4.png b/graphics/entity/ores/particle/gold-ore-particle-shadow-4.png new file mode 100644 index 0000000..a5f8e6e Binary files /dev/null and b/graphics/entity/ores/particle/gold-ore-particle-shadow-4.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-1.png b/graphics/entity/ores/particle/hr-gold-ore-particle-1.png new file mode 100644 index 0000000..a28f4a9 Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-1.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-2.png b/graphics/entity/ores/particle/hr-gold-ore-particle-2.png new file mode 100644 index 0000000..d4f804b Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-2.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-3.png b/graphics/entity/ores/particle/hr-gold-ore-particle-3.png new file mode 100644 index 0000000..3d15b44 Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-3.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-4.png b/graphics/entity/ores/particle/hr-gold-ore-particle-4.png new file mode 100644 index 0000000..10e80ac Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-4.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-1.png b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-1.png new file mode 100644 index 0000000..e82bf50 Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-1.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-2.png b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-2.png new file mode 100644 index 0000000..74b0246 Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-2.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-3.png b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-3.png new file mode 100644 index 0000000..9830282 Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-3.png differ diff --git a/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-4.png b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-4.png new file mode 100644 index 0000000..1d8ce95 Binary files /dev/null and b/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-4.png differ diff --git a/prototypes/gold-ore.lua b/prototypes/gold-ore.lua index 093403a..b1fb102 100644 --- a/prototypes/gold-ore.lua +++ b/prototypes/gold-ore.lua @@ -3,6 +3,151 @@ local noise = require('noise'); local util = require("data-util"); +data:extend( +{ + { + type = "optimized-particle", + name = "gold-ore-particle", + flags = {"not-on-map"}, + life_time = 180, + pictures = + { + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-1.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-1.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + }, + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-2.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-2.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + }, + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-3.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-3.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + }, + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-4.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-4.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + } + }, + shadows = + { + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-shadow-1.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-1.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + }, + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-shadow-2.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-2.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + }, + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-shadow-3.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-3.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + }, + { + filename = "__bzgold__/graphics/entity/ores/particle/gold-ore-particle-shadow-4.png", + priority = "extra-high", + width = 16, + height = 16, + frame_count = 1, + hr_version = + { + filename = "__bzgold__/graphics/entity/ores/particle/hr-gold-ore-particle-shadow-4.png", + priority = "extra-high", + width = 32, + height = 32, + frame_count = 1, + scale = 0.5 + } + } + } + } +} +) + data:extend({ { type = "autoplace-control", @@ -26,7 +171,7 @@ data:extend({ minable = { hardness = 1, - mining_particle = "copper-ore-particle", + mining_particle = "gold-ore-particle", mining_time = 1, results = { {type="item", name="gold-ore", amount=1, probability=.25},