[0.17.2] Bonus Menu doesnt update some Items

This subforum contains all the issues which we already resolved.
User avatar
LuziferSenpai
Filter Inserter
Filter Inserter
Posts: 373
Joined: Tue Jul 08, 2014 10:06 am
Contact:

[0.17.2] Bonus Menu doesnt update some Items

Post by LuziferSenpai »

Hey,

the Bonus Menu doesnt update some Items!

I added via a MOD a new Personal Laser using the category "laser-turret" and it doesnt show up in the Bonus Menu!

Code: Select all

local le = dc( data.raw["active-defense-equipment"]["personal-laser-defense-equipment"] )
le.name = temp
le.sprite.filename = MODNAME .. "/graphics/" .. temp .. ".png"
le.energy_source_buffer_capacity = "750kJ"
le.attack_parameters =
{
	type = "beam",
	cooldown = 20,
	range = 24,
	source_direction_count = 64,
	source_offset = {0, -3.423489 / 4},
	damage_modifier = 4,
	ammo_type =
	{
		category = "laser-turret",
		energy_consumption = "800kW",
		action =
		{
			type = "direct",
			action_delivery =
			{
				type = "beam",
				beam = "laser-beam",
				max_length = 24,
				duration = 20,
				source_offset = { 0, -1.31439 }
			}	
		}
	},
	sound =
	{
		{
			filename = MODNAME .. "/graphics/laser-beam-01.ogg",
			volume = 0.5
		},
		{
			filename = MODNAME .. "/graphics/laser-beam-02.ogg",
			volume = 0.5
		},
		{
			filename = MODNAME .. "/graphics/laser-beam-03.ogg",
			volume = 0.5
		}
	}
}
le.categories = { "Battle-Laser" }
factorio_2019-02-27_20-53-41.png
factorio_2019-02-27_20-53-41.png (593.59 KiB) Viewed 1913 times
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai

Rseding91
Factorio Staff
Factorio Staff
Posts: 14150
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.2] Bonus Menu doesnt update some Items

Post by Rseding91 »

Thanks for the report. It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”