Search found 35 matches

by evandro_6565
Tue Feb 20, 2024 4:37 pm
Forum: Questions, reviews and ratings
Topic: Can't build on Landfill
Replies: 3
Views: 703

Re: landfills

I checked the mode on the mod portal website and noticed that there is this problem in the discussion box

I don't know if I solved the problem well, I'll do some tests to see if I didn't leave it with bugs
by evandro_6565
Tue Feb 20, 2024 4:18 pm
Forum: Questions, reviews and ratings
Topic: Can't build on Landfill
Replies: 3
Views: 703

Re: landfills

I found the problem and it is in Transport-Drones-On-Asphalt mode and I started disabling the modes from the list of modes that appeared in the editor and started testing them all. Here is a snippet of the code -- inspired by drone-roads local arci_prefix = "Arci-asphalt" --"Arci-&quo...
by evandro_6565
Mon Feb 19, 2024 3:37 pm
Forum: Questions, reviews and ratings
Topic: Can't build on Landfill
Replies: 3
Views: 703

Can't build on Landfill

I remember that in the game you could place entities on landfills. but some mod is changing this, I wanted to know which entity property I can change. because a message "Cannot build on landfill" always appears
by evandro_6565
Wed Dec 14, 2022 10:14 pm
Forum: Modding help
Topic: update
Replies: 0
Views: 445

update

Does anyone know how to optimize the recipe search for a specific mode instead of listing the whole list in data.raw
by evandro_6565
Thu Nov 24, 2022 7:39 am
Forum: Modding help
Topic: next-upgrade
Replies: 2
Views: 984

Re: next-upgrade

DaveMcW wrote: ↑Wed Nov 23, 2022 1:44 am

Code: Select all

data.raw["furnace"]["mulcher-3"].collision_box = table.deepcopy( data.raw["furnace"]["mulcher-2"].collision_box )
:D thank you it worked
by evandro_6565
Tue Nov 22, 2022 10:16 pm
Forum: Modding help
Topic: next-upgrade
Replies: 2
Views: 984

next-upgrade

can someone help me i created a new entity and this error appeared with the update
error.png
error.png (24.4 KiB) Viewed 982 times
by evandro_6565
Sun Oct 30, 2022 6:39 pm
Forum: Modding help
Topic: pipe connections
Replies: 6
Views: 1127

Re: pipe connections

the problem was collision_box, selection_box
and pipe_connections = {{ type = "input", position = {1, 0} }}

I changed the entity to assembler and observed the values ​​in the selection_box in relation to the tiles :)
by evandro_6565
Sun Oct 30, 2022 4:26 pm
Forum: Modding help
Topic: pipe connections
Replies: 6
Views: 1127

Re: pipe connections

{ type = "storage-tank", name = "fish-tank-pump", icon = "__update-fish__/graphics/icons/fish-farm-icon.png", icon_size = 32, flags = {},--{"placeable-player", "player-creation"}, minable = {mining_time = 0.5, result = "fish-tank-pump"}, m...
by evandro_6565
Sun Oct 30, 2022 3:32 pm
Forum: Modding help
Topic: pipe connections
Replies: 6
Views: 1127

Re: pipe connections

I set a high value to test and this message continues
by evandro_6565
Sun Oct 30, 2022 3:24 pm
Forum: Modding help
Topic: pipe connections
Replies: 6
Views: 1127

Re: pipe connections

The pipe connection offset is the X and Y distance from the *center of the entity* to the center of *the tile where a pipe can be placed to connect to it*. So if you have a 2x2 entity, a valid connection offset would be {1.5, 0.5}, placing the pipe on one half of the right side. when you say entity...
by evandro_6565
Sun Oct 30, 2022 2:30 pm
Forum: Modding help
Topic: pipe connections
Replies: 6
Views: 1127

pipe connections

can someone help me with this code

Code: Select all

fluid_box =
  {
    base_area = 150,
    pipe_covers = pipecoverspictures(),
    filter = "water",
    pipe_connections = 
    {
      { position = {0.64, -0.12} },
    },
    hide_connection_info = true,
  },
bug.png
bug.png (28.02 KiB) Viewed 1127 times
by evandro_6565
Sun Oct 16, 2022 8:24 pm
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

do you know how to block the player from mining an entity... i want the entity to remain operable but the player cannot mine Maybe you can use this? https://lua-api.factorio.com/latest/LuaEntity.html#LuaEntity.minable Or some players seem to listen for the mine event, and then clone the entity agai...
by evandro_6565
Sun Oct 16, 2022 7:50 pm
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

do you know how to block the player from mining an entity... i want the entity to remain operable but the player cannot mine
by evandro_6565
Sun Oct 16, 2022 11:32 am
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area


try testing again

the message has been withdrawn
by evandro_6565
Sat Oct 15, 2022 2:08 pm
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

I've never seen that before. I would just click `Contact Support` and try to get it fixed somehow :) I already sent a message today and I'll have to wait "Due to the high volume of support calls, it may take up to seven business days for our support engineers to respond." I already tried ...
by evandro_6565
Sat Oct 15, 2022 10:29 am
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

evandro_6565 wrote: ↑Sat Oct 15, 2022 10:28 am
Stringweasel wrote: ↑Sat Oct 15, 2022 6:38 am
evandro_6565 wrote: ↑Fri Oct 14, 2022 11:20 pm here is my repository,
I think your profile and/or repository is set to private because I can't open the page :)
I have this problem, I don't know how to solve it. I think it's because of that
sm.png
sm.png (26.68 KiB) Viewed 2544 times
by evandro_6565
Sat Oct 15, 2022 10:28 am
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

Stringweasel wrote: ↑Sat Oct 15, 2022 6:38 am
evandro_6565 wrote: ↑Fri Oct 14, 2022 11:20 pm here is my repository,
I think your profile and/or repository is set to private because I can't open the page :)
I have this problem, I don't know how to solve it. I think it's because of that
by evandro_6565
Fri Oct 14, 2022 11:20 pm
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

here is my repository, I couldn't do the division of the table tab.car, tab.entity but I removed those loops and only the one from the flib was left
by evandro_6565
Fri Oct 14, 2022 10:31 am
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

worked, returning boolean true value :)


do you know the code to create this hole through this script
as.png
as.png (587.87 KiB) Viewed 2595 times
by evandro_6565
Thu Oct 13, 2022 12:41 pm
Forum: Modding help
Topic: on_player_selected_area
Replies: 39
Views: 5515

Re: on_player_selected_area

about the "for_n_of" loop i was using table.remove and i noticed that the loop is stopping :( and i reread the flib article and i noticed this do you know how to remove without stopping the loop DO NOT delete entires from tbl from within callback, this will break the iteration. Use the de...

Go to advanced search