Skip to content

Commit

Permalink
Removed vanilla roboport animations to save VRAM.
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Jan 22, 2025
1 parent cfff486 commit 7300e42
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Date: ?
Changes:
- Migrated the internal name of the "railway-mk01" technology to "railway". Resolves https://github.com/pyanodon/pybugreports/issues/453
- Vanilla construction, logistic, and roboport are now hidden from factoriopedia.
- Removed vanilla roboport animations to save VRAM.
---------------------------------------------------------------------------------------------------
Version: 3.0.12
Date: 2025-1-20
Expand Down
10 changes: 10 additions & 0 deletions prototypes/updates/base-updates.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ if not mods["boblogistics"] then
ENTITY("logistic-robot"):set_fields {hidden = true}
ENTITY("roboport"):set_fields {hidden = true}

-- remove roboport animations to save VRAM
ENTITY("roboport").base = nil
ENTITY("roboport").base_patch = nil
ENTITY("roboport").frozen_patch = nil
ENTITY("roboport").base_animation = nil
ENTITY("roboport").door_animation_up = nil
ENTITY("roboport").door_animation_down = nil
ENTITY("roboport").recharging_animation = nil
ENTITY("roboport").integration_patch = nil

for recipe_name in pairs(data.raw.recipe) do
RECIPE(recipe_name)
:replace_ingredient("roboport", "py-roboport-mk01")
Expand Down

0 comments on commit 7300e42

Please sign in to comment.