[0.12.17] Wrong default request amount because of typo
Posted: Wed Nov 18, 2015 7:03 pm
by Gwynbleidd
I was looking at the prototype files in data/base/prototypes/item and noticed in equipment.lua that default_request_amount is typod as default_requiest_amount for personal batteries and shields. As far as I can tell the only place this particular typo is present is in equipment.lua.
equipment.lua
...
{
type = "item",
name = "energy-shield-equipment",
icon = "__base__/graphics/icons/energy-shield-equipment.png",
placed_as_equipment_result = "energy-shield-equipment",
flags = {"goes-to-main-inventory"},
subgroup = "equipment",
order = "b[shield]-a[energy-shield-equipment]",
stack_size = 50, default_requiest_amount = 10
},
{
type = "item",
name = "energy-shield-mk2-equipment",
icon = "__base__/graphics/icons/energy-shield-mk2-equipment.png",
placed_as_equipment_result = "energy-shield-mk2-equipment",
flags = {"goes-to-main-inventory"},
subgroup = "equipment",
order = "b[shield]-b[energy-shield-equipment-mk2]",
stack_size = 50, default_requiest_amount = 10
},
{
type = "item",
name = "battery-equipment",
icon = "__base__/graphics/icons/battery-equipment.png",
placed_as_equipment_result = "battery-equipment",
flags = {"goes-to-main-inventory"},
subgroup = "equipment",
order = "c[battery]-a[battery-equipment]",
stack_size = 50, default_requiest_amount = 10
},
{
type = "item",
name = "battery-mk2-equipment",
icon = "__base__/graphics/icons/battery-mk2-equipment.png",
placed_as_equipment_result = "battery-mk2-equipment",
flags = {"goes-to-main-inventory"},
subgroup = "equipment",
order = "c[battery]-b[battery-equipment-mk2]",
stack_size = 50, default_requiest_amount = 10
},
...
Re: [0.12.17] Wrong default request amount because of typo