Search found 22 matches

by Phenix0cs
Tue Feb 09, 2016 12:49 pm
Forum: Mods
Topic: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)
Replies: 12
Views: 23981

Re: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)

Yes, there was a bug in 0.2.0, it's been fixed in 0.3.0 . For the second issue, I need more details please, can you post a screenshot and/or a save file? It could be "normal" in the sense that I don't control bot behavior and what I do is create a pattern where the bot receive requests in ...
by Phenix0cs
Tue Feb 02, 2016 10:22 pm
Forum: Modding help
Topic: Changing Speed Based Conditionally
Replies: 8
Views: 19549

Re: Changing Speed Based Conditionally

kiba wrote:Because it modify ALL movement bonus of every hoverboard?
yes
kiba wrote:As long as players can do all the things in a car, I won't care too much.
Actions are limited in a car, this is why i suggested the exoskeleton approach.
by Phenix0cs
Tue Feb 02, 2016 7:47 pm
Forum: Modding help
Topic: Changing Speed Based Conditionally
Replies: 8
Views: 19549

Re: Changing Speed Based Conditionally

I think the simplest approach is to make an equipment similar to exoskeleton.

You can copy the exosketon from your factorio folder and modify it in your mod.
/factorio/data/base/prototypes/equipment
by Phenix0cs
Tue Feb 02, 2016 6:28 pm
Forum: Mods
Topic: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)
Replies: 12
Views: 23981

Re: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)

New version available (0.3.0).
Fixed blueprints.
Robots no longer bring too much items.
by Phenix0cs
Tue Feb 02, 2016 4:43 pm
Forum: Modding help
Topic: Changing Speed Based Conditionally
Replies: 8
Views: 19549

Re: Changing Speed Based Conditionally

Just got an idea while working on my mod.

Equipment has an energy field that is RW.

So i guess it would be possible to set it at 0 when not on copper-floor.
by Phenix0cs
Tue Feb 02, 2016 2:30 pm
Forum: Modding help
Topic: Changing Speed Based Conditionally
Replies: 8
Views: 19549

Re: Changing Speed Based Conditionally

There is a few things you could try (I didnt try any): - Modify data.raw.entity["overboard"].movement_bonus on the fly (is not an option if you want to support multiplayer) - Insert a dummy equipment in armor, I dont if it work when armor is full, maybe if you can set size to 0 (probably w...
by Phenix0cs
Wed Jan 27, 2016 6:12 pm
Forum: Mods
Topic: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)
Replies: 12
Views: 23981

Re: [MOD 0.12.11+] Smarters Chests (requester/storage hybrid)

My first language is french, so I make mistakes sometimes lol. I'm working on the next version where priorities will change a bit from 0.2.0. For the basic, it send requests for one tick every 100 ticks. It force requests for some cases where it's needed for functionality reasons. If you want to kno...
by Phenix0cs
Wed Jan 27, 2016 3:08 pm
Forum: Modding help
Topic: Detect blueprint making [Resolved]
Replies: 5
Views: 14758

Re: Detect blueprint making

Thanks rk84, with your hints I was able to figure out how to do it.

Code: Select all

function put_item(event)
   if game.player.cursor_stack.valid_for_read and 
   game.player.cursor_stack.name == "blueprint" then
      -- code goes here
   end
end

script.on_event({defines.events.on_put_item}, put_item)
by Phenix0cs
Tue Jan 26, 2016 8:49 pm
Forum: Mods
Topic: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)
Replies: 12
Views: 23981

Re: [MOD 0.12.11+] Smarters Chests (requester/storage hybrid)

With version 0.2.0 it work.

If something (not mentioned in know issue) is not working correctly post it here.

And thanks, plz give me your feedback when you have tried it.

More features to come :)
by Phenix0cs
Tue Jan 26, 2016 3:04 pm
Forum: Modding help
Topic: Detect blueprint making [Resolved]
Replies: 5
Views: 14758

Re: Detect blueprint making

If it help understand, I will show how i manage to keep requests when the chest is destroyed. So when I detect that the chest died, I restore the requester slots then destroy the linked entity and cleanup links. function entity_died(event) if event.entity.name == "logistic-chest-storage2-ui&quo...
by Phenix0cs
Tue Jan 26, 2016 2:43 pm
Forum: Mods
Topic: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)
Replies: 12
Views: 23981

Re: [MOD 0.12.11+] Smarters Chests (requester/storage hybrid)

New version available.
Fix many UI issues.
Changed graphics to differentiate from storage chest.
by Phenix0cs
Tue Jan 26, 2016 2:34 am
Forum: Modding help
Topic: Detect blueprint making [Resolved]
Replies: 5
Views: 14758

Re: Detect blueprint making

I know that, but my mod need to disable requests most of the running time.
What I'm looking for is a state that indicate that a blueprint is in the making, I can create my own event if needed.
by Phenix0cs
Mon Jan 25, 2016 8:48 pm
Forum: Modding help
Topic: Detect blueprint making [Resolved]
Replies: 5
Views: 14758

Detect blueprint making [Resolved]

I made a mod that offer a hybrid chest requester/provider. My issue is that i need to detect when a blueprint is in the making, so it can keep requests in the blueprint. Does anyone know a way to detect when a blueprint is made? My mod: https://forums.factorio.com/forum/viewtopic.php?f=97&t=1943...
by Phenix0cs
Sat Jan 23, 2016 10:32 pm
Forum: Ideas and Requests For Mods
Topic: RepairChest Mod
Replies: 33
Views: 18377

Re: RepairChest Mod

I just posted a mod that I think do what you are looking for.
It add possibility to configure requests to storage chests.

https://forums.factorio.com/forum/vie ... 97&t=19438
by Phenix0cs
Sat Jan 23, 2016 7:47 pm
Forum: Ideas and Requests For Mods
Topic: [Request] Logistic Factories
Replies: 1
Views: 6372

Re: [Request] Logistic Factories

I just posted a mod that I think do what you asked.

https://forums.factorio.com/forum/vie ... 97&t=19438
by Phenix0cs
Sat Jan 23, 2016 7:42 pm
Forum: Mods
Topic: [MOD 0.12.11+] Smarter Chests (requester/storage hybrid)
Replies: 12
Views: 23981

[MOD 0.12.11+] Smarter Chests (requester/storage hybrid)

Type: Mod Name: Smarter Chests Description: Add a hybrid chest (requester/storage). Web: https://github.com/Phenix0cs/Smarter-chests License: The MIT License (MIT) Version: 0.3.0 Release: 2016-02-02 Tested-With-Factorio-Version: 0.12.20 Category: Gameplay Tags: Chests, Robots, Logistic Download-Url:...
by Phenix0cs
Tue Jan 19, 2016 5:48 pm
Forum: Modding help
Topic: Requester methods and fields?
Replies: 8
Views: 8678

Re: Requester methods and fields?

Yes, I had found the info mentioned but I expected Inheritance, since I'm more used to OO programming. Now I'm looking to add functions to do what I need using the methods and fields provided. I'm learning how to make custom events to trigger functions when a field change. New language and new API, ...
by Phenix0cs
Sun Jan 17, 2016 10:04 pm
Forum: Modding help
Topic: Requester methods and fields?
Replies: 8
Views: 8678

Re: Requester methods and fields?

Ok i understood that.

So what you are saying is that there is no other fields and/or methods specific to requesters?
by Phenix0cs
Sun Jan 17, 2016 9:58 pm
Forum: Modding help
Topic: Requester methods and fields?
Replies: 8
Views: 8678

Re: Requester methods and fields?

Klonan, that's the same i got but that's only for entity.

I need the same for requester, which is not on the wiki.
by Phenix0cs
Sun Jan 17, 2016 9:38 pm
Forum: Modding help
Topic: Requester methods and fields?
Replies: 8
Views: 8678

Requester methods and fields?

I cant find the way to get the methods and fields of requesters. The best I got was entity methods and fields. Here is the code I used. script.on_event({defines.events.on_built_entity, defines.events.on_robot_built_entity}, function(event) if event.created_entity.name == "logistic-chest-request...

Go to advanced search