Extended Vanilla: Personal Equipment


A complete overhaul to the personal equipment, this mod adds several tiers and types equipments and armors that are fully customizable, and even some custom ones, like personal assembling units and backpacks. You can change almost every base parameter of all the types of equipment the mod has to offer.

Content
a month ago
0.15 - 2.0
42.6K
Combat Armor

g No longer compatible with Bob's Personal Equipment

a month ago
(updated a month ago)

Hello,

I use Bob's Personal Equipment in tandem with Extended Vanilla: Personal Equipment, and for the last 6 months they have worked together beautifully, however after a recent mod update from EV:PE I can no longer load my game. I know you're not responsible for BPE however the error occurred after your update 6 days ago.

Failed to load mods: The given sprite rectangle (left_top=0x0, right_bottom=120x120) is outside the actual sprite size (left_top=0x0, right_bottom=120x64).
If this is being used as an icon you may need to define the icon_size property.
See the log file for more information.: ev-assets/graphics/icons/personal-roboport-mk2-equipment.png

I fix it, see below

a month ago

I solved the issue. Make a new file in BetterPowerArmorGrid, call it data-updates.lua

Paste this into the file

local icon_path = "ev-assets/graphics/icons/personal-roboport-mk2-equipment.png"
local icon_size = 64

local icon_patch = data.raw.item["personal-roboport-mk2-equipment"]
if icon_patch then
icon_patch.icon = icon_path
icon_patch.icon_size = icon_size
icon_patch.icons = nil
end

local equip_patch = data.raw["roboport-equipment"]["personal-roboport-mk2-equipment"]
if equip_patch then
equip_patch.icon = icon_path
equip_patch.icon_size = icon_size
equip_patch.icons = nil
end

local recipe_patch = data.raw.recipe["personal-roboport-mk2-equipment-recycling"]
if recipe_patch then
recipe_patch.icon = icon_path
recipe_patch.icon_size = icon_size
recipe_patch.icons = nil
end

Use my code, I don't care, just fix the mod please.

a month ago
(updated a month ago)

@Witherfox thanks.

First line without markdown formatting:
local icon_path = "__ev-assets__/graphics/icons/personal-roboport-mk2-equipment.png"

New response