Search found 8 matches

by RavenlStl
Sat Aug 24, 2019 7:56 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Re: Some stuff i cant undestand

by 2 entities you mean 2 different items to craft or is the way for game to pick one of them depending on rotation?
by RavenlStl
Sat Aug 24, 2019 6:21 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Re: Some stuff i cant undestand

Ok, at this point my mind is blown away)) For me its undoable, but anyway thanks a lot for the help!
by RavenlStl
Sat Aug 24, 2019 5:56 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Re: Some stuff i cant undestand

Error while loading entity prototype "ship-container" (container): Key "filename" not found in poperty tree at ROOT.container.ship-container.picture


data:extend(
{
{
type = "container",
name = "ship-container",
icon = "__ShipContainer__/graphics/icons/ship-container.png",
icon_size = 64 ...
by RavenlStl
Sat Aug 24, 2019 5:40 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Re: Some stuff i cant undestand

Yeah its a mistypo,
but i got this two codes from different mods, and i really dont undertsnd how to cerrectly unite them and how to describe entity behavior.
by RavenlStl
Sat Aug 24, 2019 5:36 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Re: Some stuff i cant undestand

Now the real stuff...

I got this

data:extend(
{
{
type = "container",
name = "ship-container",
icon = "__ShipContainer__/graphics/icons/ship-container.png",
icon_size = 64,
flags = {"placeable-neutral", "player-creation"},
minable = {mining_time = 0.2, result = "ship-container ...
by RavenlStl
Sat Aug 24, 2019 5:34 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Re: Some stuff i cant undestand

Adamo wrote: Sat Aug 24, 2019 5:27 pm Did you add the recipe after you researched the tech? Try running /c game.player.force.reset_technology_effects() if you did.
Yep! Worked just fine! Thanks a lot!
by RavenlStl
Sat Aug 24, 2019 5:14 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Re: Some stuff i cant undestand


data:extend(
{
{
type = "item",
name = "ship-container",
icon = "__ShipContainer__/graphics/icons/ship-container.png",
icon_size = 32,
subgroup = "storage",
order = "aab",
place_result = "ship-container",
stack_size = 10
},
}
)



data:extend(
{
{
type = "recipe",
name = "ship ...
by RavenlStl
Sat Aug 24, 2019 4:33 pm
Forum: Modding help
Topic: Some stuff i cant undestand
Replies: 17
Views: 3300

Some stuff i cant undestand

First of all I'm sorry for my cry for help.

I'm trying to do a little mod of my own. It shoud be 1x2 chest i.e. ship container. A friend of mine helped with the graphics. Now i'm trying to make the code work. As usual for me i grab some other beautiful mods and frankensteinen them.
And so you know ...

Go to advanced search