Search found 197 matches

by pleegwat
Sun Apr 24, 2022 6:40 pm
Forum: Modding help
Topic: Equation to convert value
Replies: 10
Views: 312

Re: Equation to convert value

yaim904 wrote:
Sun Apr 24, 2022 8:57 am
coderpatsy wrote:
Sun Apr 24, 2022 3:16 am
your calculations are wrong

Code: Select all

36288000 / ( 60 ^ 3 ) = 216000
The meaning of the ^ operator varies from platform to platform. Yours applies xor; you just calculated 36288000/63.
by pleegwat
Mon Apr 11, 2022 4:49 pm
Forum: Modding discussion
Topic: Licensing question about interactions between mods
Replies: 13
Views: 399

Re: Licensing question about interactions between mods

Sounds like something more suited for a lawyer, we can really only speculate here. Although I'm pretty sure that that is not a thing. You can't ask people not to modify your things, you can only ask them to not redistribute said modifications. In your example: Well, the mod would not be modified, o...
by pleegwat
Sat Feb 05, 2022 1:33 pm
Forum: News
Topic: Friday Facts #367 - Expansion news
Replies: 178
Views: 44550

Re: Friday Facts #367 - Expansion news

Flying?

Or under water?
by pleegwat
Sun Nov 21, 2021 11:13 am
Forum: Ideas and Requests For Mods
Topic: Mod request/idea - Water strider
Replies: 4
Views: 537

Re: Mod request/idea - Water strider

Hydrodynamic legs for the shallows and a watertight (floating) pod for the deep?
by pleegwat
Sat Oct 02, 2021 5:08 pm
Forum: Releases
Topic: Version 1.1.41
Replies: 10
Views: 9534

Re: Version 1.1.41

Would it make sense to perform such consistency checks in the background, rather than as a blocking part of the save process? No. Consistency check is a read operation and while it is happening data must not change for any reasons, including game update. But if you can run the consistency check dir...
by pleegwat
Sat Oct 02, 2021 4:56 pm
Forum: Releases
Topic: Version 1.1.41
Replies: 10
Views: 9534

Re: Version 1.1.41

Would it make sense to perform such consistency checks in the background, rather than as a blocking part of the save process?
by pleegwat
Tue Jun 22, 2021 3:46 pm
Forum: Modding interface requests
Topic: Passenger count for vehicles
Replies: 5
Views: 730

Re: Passenger count for vehicles

Okay maybe more than two occupants is unnecessary, but being able to say "driver only" would be nice. It is a possibility to split into 2 bools, 'allow_drivers' and 'allow_passengers'. It wouldn't be so simple, but possible If this does happen, I would suggest allowing for a passenger onl...
by pleegwat
Sun Apr 04, 2021 7:57 pm
Forum: Modding help
Topic: Decomposed ingredients list (total raw)
Replies: 6
Views: 843

Re: Decomposed ingredients list (total raw)

The idea is you store that you haven't processed the wooden chest yet, so you recursively determine the fuel value of a wooden chest before returning to whatever you were doing.
by pleegwat
Sun Apr 04, 2021 12:42 pm
Forum: Modding help
Topic: Decomposed ingredients list (total raw)
Replies: 6
Views: 843

Re: Decomposed ingredients list (total raw)

However, it seems to be quite complicated to get a list of all items that may contain wood (and the total amount of wood) -- especially as the game builds such a list by itself anyway. Is there any shortcut I could use? No, the only way is to build the list yourself. I'm trying to do that now! Not ...
by pleegwat
Wed Dec 30, 2020 12:03 pm
Forum: Modding help
Topic: Roboport recharging animations (colors)
Replies: 6
Views: 835

Re: Roboport recharging animations (colors)

Further research: What happens with 2 modded roboports with different visualisation?
by pleegwat
Sat Nov 14, 2020 2:13 pm
Forum: News
Topic: Friday Facts #363 - 1.1 is getting close
Replies: 178
Views: 66225

Re: Friday Facts #363 - 1.1 is getting close

Could the belt line tool be combined with setting cursor size to lay multiple parallel belts at the same time?
by pleegwat
Mon Nov 02, 2020 10:07 pm
Forum: Modding help
Topic: Changing pivot point of inserter arm?
Replies: 10
Views: 1032

Re: Changing pivot point of inserter arm?

And if you lower the pipes themselves as well?
by pleegwat
Sat Oct 24, 2020 6:40 pm
Forum: News
Topic: Friday Facts #361 - Train stop limit, Tips and tricks
Replies: 163
Views: 48201

Re: Friday Facts #361 - Train stop limit, Tips and tricks

Round robin seems like a very bad idea if you have both producers and consumers of the good spread across the map, as it would cause trains to visit far-away stations because it is 'their turn' rather than preferring close ones, causing more material to be in transit and more network congestion. If ...
by pleegwat
Sat Oct 24, 2020 3:16 pm
Forum: Modding help
Topic: Rotatable labs?
Replies: 12
Views: 1045

Re: Rotatable labs?

How about pass-through steam connections on all sides, like on the uranium miner? Of course this simplifies the player's routing puzzle as well since they would no longer need to route a separate pipe through each lab.
by pleegwat
Tue Aug 25, 2020 4:42 pm
Forum: Modding discussion
Topic: Would this be possible?
Replies: 3
Views: 577

Re: Would this be possible?

Note there are tricks you can do to perform some of these: Addition is done by connecting multiple wires (possibly isolating signals via +0 or *1) Subtraction via multiply by -1 and addition. Squaring is straightforward via (each * each). Multiplication can be done as ((A + B)² - A² - B²) / 2; make ...
by pleegwat
Thu Aug 13, 2020 6:33 pm
Forum: Modding help
Topic: Tenders.
Replies: 11
Views: 1242

Re: Tenders.

mrvn wrote:
Thu Aug 13, 2020 3:43 pm
Since water has no fuel value the water locomotive wouldn't consume any
Though historically there were locomotives which ran on only (superheated) water

https://en.wikipedia.org/wiki/Fireless_locomotive#Steam
by pleegwat
Mon Aug 10, 2020 3:33 pm
Forum: News
Topic: Friday Facts #358 - Alien decoratives & Polluted water
Replies: 71
Views: 18308

Re: Friday Facts #358 - Alien decoratives & Polluted water

Currently solar panel yield is calculated surface-wide. Accounting for smog would necessitate moving it to per-chunk, or recalculating the baseline yield for the surface whenever the pollution in a chunk with solar panels changes.
by pleegwat
Fri Apr 24, 2020 3:32 pm
Forum: Ideas and Requests For Mods
Topic: Ammo Level Indicator
Replies: 3
Views: 761

Re: Ammo Level Indicator

If you feed the turret from a chest, you could then use the circuit network to read the amount of ammo in the chest. Does mean there's an amount of ammo you're not seeing, and there's more ammo in the system.
by pleegwat
Fri Apr 17, 2020 3:51 pm
Forum: News
Topic: Friday Facts #343 - Environmental particle effects
Replies: 51
Views: 12519

Re: Friday Facts #343 - Environmental particle effects

valneq wrote:
Fri Apr 17, 2020 3:47 pm
I really like the vegetation crawling out of the gaps in the tiles – makes it feel more aged and alive.
In that case, shouldn't the vegetation be initially removed and come back up through the cracks over time? Of course to a lesser degree the more often the path is used.
by pleegwat
Fri Feb 21, 2020 3:46 pm
Forum: Modding help
Topic: Desync-safe generated coordinates list?
Replies: 5
Views: 717

Re: Desync-safe generated coordinates list?

You can make it slightly faster by eliminating the math.sqrt() (sorting on the square of the distance instead) since that's equivalent.

Go to advanced search