How do I change type and graphics for the raw-fish?

How do I change type and graphics for the raw-fish? - What Is This Is All Real Text With Yellow Background

Factorio uses Lua to mod, and I had a question about it.

I'm trying to override raw-fish so it changes the type and graphics, but I can't find anything online on how to do it. When I try loading the game with the mod installed, it shows the error:

"Error while loading item prototype "raw-fish" (capsule: Prototype "raw-fish" registered twice"

Any help will be appreciated, as I'm fairly new to modding in general.



Best Answer

I think the error is from the name you're giving to your item which is exactly the same as the original. You should try to give an other name instead to override it, or to modify the original Raw-Fish ?

This topic on the official game's website is about a similar problem you have. You can test some solutions and apply the one that fits the most in your case.




Pictures about "How do I change type and graphics for the raw-fish?"

How do I change type and graphics for the raw-fish? - Alphabet Letter Text on Black Background
How do I change type and graphics for the raw-fish? - Closeup Photo of Assorted-color Alphabets
How do I change type and graphics for the raw-fish? - Gray Motorcycle Chain Form Number 8





Iron Chef Morimoto on How To Prepare Fish for Sushi




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Aleksandar Pasaric, Magda Ehlers, Magda Ehlers, Miguel Á. Padriñán