Page 1 of 1
Butchering another mod - prototype error
Posted: Mon Jun 25, 2018 10:30 am
by Guybrush08
Hello
My first attempt at making a mod - I just want thewater and air pumps from bobs plates - I thought I had taken everything I needed.
I am getting an error on startup to do with protoypes not found in the base game.
Any help would be really appreciated.
I can copy the code into the threat here if needed
Re: Butchering another mod - prototype error
Posted: Mon Jun 25, 2018 3:48 pm
by darkfrei
data.lua is:
Code: Select all
require("prototypes.item")
require("prototypes.recipe")
require("prototypes.entity")
data.lua must be:
Code: Select all
require("prototypes.entity.pumps")
require("prototypes.item.item")
require("prototypes.recipe.item-recipe")
Re: Butchering another mod - prototype error
Posted: Mon Jun 25, 2018 5:04 pm
by Guybrush08
Thank you
That solved that problem
I am now getting this
I have got this in my prototypes/category.lua
Code: Select all
data:extend(
{
{
type = "recipe-category",
name = "air-pump"
},
{
type = "recipe-category",
name = "water-pump"
},
}
)
Re: Butchering another mod - prototype error
Posted: Mon Jun 25, 2018 5:54 pm
by orzelek
I would be a bit careful about "butchering" like that.
Bob's license for his mods might forbid that kind of mod stripping unless you want it for personal use only without any distribution.
Re: Butchering another mod - prototype error
Posted: Mon Jun 25, 2018 6:58 pm
by Guybrush08
This is literally just for me - wont be going on the portal.
I've had a good look around and cant find any pumps on other mods that do the same things barring using creative mod and I dont want to.