Fluidbox minimum_temperature and maximum_temperature not working?

Place to get help with not working mods / modding interface.
Romner_set
Inserter
Inserter
Posts: 30
Joined: Thu Mar 07, 2019 4:25 pm
Contact:

Fluidbox minimum_temperature and maximum_temperature not working?

Post by Romner_set »

I'm trying to make a new kind of pipe that can transport fluids with really high temperatures (millions of °C), and limit the vanilla pipes to fluids with less than 1500°C. Whatever I do, all fluids can enter all pipes. Not at all sure what's wrong.

Here's my code adding the pipes (not the whole file):

Code: Select all

local pipe = util.table.deepcopy(data.raw["pipe"]["pipe"])
pipe.name = "rfp-pipe"
pipe.minable.result = "rfp-pipe"
pipe.fluid_box.minimum_temperature = 10000000
tintPictures(pipe.pictures, {r = 1, g = 0.5, b = 0, a = 1})

local pipeToGround = util.table.deepcopy(data.raw["pipe-to-ground"]["pipe-to-ground"])
pipeToGround.name = "rfp-pipe-to-ground"
pipeToGround.minable.result = "rfp-pipe-to-ground"
pipeToGround.fluid_box.minimum_temperature = 10000000
tintPictures(pipeToGround.pictures, {r = 1, g = 0.5, b = 0, a = 1})
tintPictures(mapMany(pipeToGround.fluid_box.pipe_covers, function (p) return p.layers; end), {r = 1, g = 0.5, b = 0, a = 1})

local pump = util.table.deepcopy(data.raw["pump"]["pump"])
pump.name = "rfp-pump"
pump.minable.result = "rfp-pump"
pump.fluid_box.minimum_temperature = 10000000
tintPictures(pump.animations, {r = 1, g = 0.5, b = 0, a = 1})
tintPictures(mapMany(pump.fluid_box.pipe_covers, function (p) return p.layers; end), {r = 1, g = 0.5, b = 0, a = 1})

data.raw["pipe"]["pipe"].fluid_box.maximum_temperature = 1500

data:extend({pipe, pipeToGround, pump})
Honktown
Smart Inserter
Smart Inserter
Posts: 1042
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Honktown »

Temperature might only apply to things which can become "active": assemblers, steam engines, etc. Try setting a maximum as well, and you can enter numbers in scientific notation: 1e6 = 1000000
I have mods! I guess!
Link
Romner_set
Inserter
Inserter
Posts: 30
Joined: Thu Mar 07, 2019 4:25 pm
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Romner_set »

Honktown wrote: Sun May 31, 2020 1:15 am Temperature might only apply to things which can become "active": assemblers, steam engines, etc.
That doesn't seem to be the case, tried it with a furnace prototype and all fluids can enter it anyways.
Honktown wrote: Sun May 31, 2020 1:15 am Try setting a maximum as well
Tried it before I posted, didn't work.
Honktown
Smart Inserter
Smart Inserter
Posts: 1042
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Honktown »

See about if ending it in .0 or using scientific notation does anything. There's an impossibly small chance something weird is going on with how the number is interpreted.

The config file also has verbose-logging and check-unused-prototype-data, which may hint if something isn't right.
I have mods! I guess!
Link
Romner_set
Inserter
Inserter
Posts: 30
Joined: Thu Mar 07, 2019 4:25 pm
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Romner_set »

Honktown wrote: Mon Jun 01, 2020 12:07 pm See about if ending it in .0 or using scientific notation does anything. There's an impossibly small chance something weird is going on with how the number is interpreted.

The config file also has verbose-logging and check-unused-prototype-data, which may hint if something isn't right.
Neither of those work. I also tried to put it as a string ("1500" instead of 1500) and max_temperature instead of maximum_temperature. None of those worked either. What config file do you mean?
Honktown
Smart Inserter
Smart Inserter
Posts: 1042
Joined: Thu Oct 03, 2019 7:10 am
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Honktown »

Romner_set wrote: Mon Jun 01, 2020 1:05 pm
Honktown wrote: Mon Jun 01, 2020 12:07 pm See about if ending it in .0 or using scientific notation does anything. There's an impossibly small chance something weird is going on with how the number is interpreted.

The config file also has verbose-logging and check-unused-prototype-data, which may hint if something isn't right.
Neither of those work. I also tried to put it as a string ("1500" instead of 1500) and max_temperature instead of maximum_temperature. None of those worked either. What config file do you mean?
From a base install on Windows it is %APPDATA%/Factorio/config/config.ini (one can copy and paste that into the start menu search and it opens the file), in ~/ (home) somewhere on Linux distros. Semicolons are comments, so copy/paste an uncommented line or just backspace and set the two values to true. The log can spit out a lot of extra stuff, which can help identify unused/deprecated things... not sure if it will say anything about the pipes.
I have mods! I guess!
Link
Romner_set
Inserter
Inserter
Posts: 30
Joined: Thu Mar 07, 2019 4:25 pm
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Romner_set »

Enabled those and found nothing unusual in the log file.

Code: Select all

   0.001 2020-06-02 14:52:04; Factorio 0.18.29 (build 52522, win64, steam)
   0.001 Operating system: Windows 10 (version 1903) 
   0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.001 Write data path: C:/Users/Skotnica/AppData/Roaming/Factorio [65576/487834MB]
   0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.009 System info: [CPU: AMD Ryzen 5 2600 Six-Core Processor, 12 cores, RAM: 7330/16331 MB, page: 11209/32715 MB, virtual: 4331/134217727 MB, extended virtual: 0 MB]
   0.010 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.016 Available displays: 1
   0.016  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1660 Ti {0x05, [0,0], 1920x1080, 32bit, 144Hz}
   0.061 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.062 Verbose GraphicsInterfaceDX11.cpp:263: DXGI 1.5 detected, Allow tearing is supported
   0.063  Adapter [0]: NVIDIA GeForce GTX 1660 Ti {10de-2182} (26.21.14.4575)
   0.064  Adapter [1]: Microsoft Basic Render Driver {1414-8c} (10.0.18362.356)
   0.286 Initialised Direct3D[0]: NVIDIA GeForce GTX 1660 Ti; id: 10de-2182; driver: nvldumdx.dll 26.21.14.4575
   0.286   D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 3,flip-discard,-,-,-,none
   0.286   [Local Video Memory] Budget: 5092MB, CurrentUsage: 4MB, Reservation: 0/2695MB
   0.286   [Non-Local Vid.Mem.] Budget: 7349MB, CurrentUsage: 0MB, Reservation: 0/3878MB
   0.286   Tiled resources: Tier 2
   0.286   Unified Memory Architecture: No
   0.286   BGR 565 Supported: Yes
   0.286   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.286 Graphics settings preset: very-high
   0.286   Dedicated video memory size 5991 MB
   0.323 Verbose PipelineStateObject.cpp:85: Time to load shaders: 0.036421 seconds.
   0.329 Desktop composition is active.
   0.329 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: high-quality] [Color: 32bit]
   0.329                   [Max threads (load/render): 32/12] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.359 DSound: Starting _dsound_update thread
   0.360 DSound: Enter _dsound_update; tid=1324
   0.446 Loading mod core 0.0.0 (data.lua)
   0.569 Loading mod base 0.18.29 (data.lua)
   0.679 Verbose PipelineStateObject.cpp:77: Time to load shaders in background: 0.355734 seconds.
   0.913 Loading mod RealisticFusionPower 0.3.0 (data.lua)
   1.114 Loading mod base 0.18.29 (data-updates.lua)
   1.294 Checksum for core: 3316124904
   1.294 Checksum of base: 3555910100
   1.294 Checksum of debugadapter: 0
   1.294 Checksum of RealisticFusionPower: 2807711548
   1.526 Finished checking unused prototype data in 0.005314 seconds. Number of properties that were used: 149120
   1.538 Prototype list checksum: 3327566633
   1.541 Verbose ModManager.cpp:554: Time to load mods: 1.10082
   1.598 Loading sounds...
   1.745 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.745 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1591025949
   1.914 Initial atlas bitmap size is 16384
   1.949 Created atlas bitmap 16384x16380 [none]
   1.953 Created atlas bitmap 16384x13588 [none]
   1.954 Created atlas bitmap 8192x3720 [decal]
   1.955 Created atlas bitmap 16384x5280 [low-object]
   1.956 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.957 Created atlas bitmap 16384x5776 [terrain, mipmap, linear-minification, linear-mip-level]
   1.957 Created atlas bitmap 4096x2848 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.957 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   1.958 Created atlas bitmap 4096x3088 [mipmap]
   1.958 Created atlas bitmap 4096x2160 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.958 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.959 Created atlas bitmap 4096x2652 [alpha-mask]
   1.962 Created atlas bitmap 16384x15960 [shadow, linear-magnification, alpha-mask]
   1.962 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   1.967 Verbose TextureProcessor.cpp:1140: GPU accelerated compression test: Time 4.622 ms; YCoCg_DXT PSNR: 35.83, BC3 PSNR: 33.82
   1.967 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.794 Parallel Sprite Loader initialized (threads: 11)
   9.913 Sprites loaded
   9.946 Generated mipmaps (4) for atlas [3] of size 16384x5280   
   9.957 Generated mipmaps (3) for atlas [4] of size 8192x3744   
   9.979 Generated mipmaps (3) for atlas [5] of size 16384x5776   
   9.990 Generated mipmaps (3) for atlas [6] of size 4096x2848   
  10.001 Generated mipmaps (3) for atlas [7] of size 4096x1600   
  10.040 Generated mipmaps (3) for atlas [8] of size 4096x3088   
  10.052 Generated mipmaps (5) for atlas [9] of size 4096x2160   
  10.063 Generated mipmaps (3) for atlas [13] of size 8192x2352   
  10.069 Custom mipmaps uploaded.
  10.069 Verbose AtlasSystem.cpp:910: Atlas memory size: 1186.37MB; 0.00MB (virtual)
  10.069 Verbose AtlasSystem.cpp:911: Size of sprites outside of atlas: 0.13MB
  10.142 Factorio initialised
  10.168 Verbose SteamContext.cpp:553: SteamUserStats initialized.
  16.736 Loading blueprint storage: Local timestamp 1573990145, Cloud timestamp 1573990144
  16.785 Verbose BlueprintLibrary.cpp:65: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 96; timestamp = 1573990145; records: (id: 0, 11; label: "Base-in-a-Book 4. Main Bus", preview: false, empty: false; book [id: 0, 6; label: "4. Main Bus - Full line", preview: false, empty: false] [id: 0, 7; label: "4. Main Bus - Half line", preview: false, empty: false] [id: 0, 8; label: "4. Main Bus - Middle Half line", preview: false, empty: false] [id: 0, 9; label: "4. Main Bus - Half line One sided", preview: false, empty: false] [id: 0, 10; label: "4. Main Bus - 4x4 Balancer", preview: false, empty: false]) (id: 0, 19; label: "Starter Furnace Setup", preview: false, empty: false; book [id: 0, 14; label: "Full Belt", preview: false, empty: false] [id: 0, 15; label: "Start", preview: false, empty: false] [id: 0, 16; label: "Extension-S", preview: false, empty: false] [id: 0, 17; label: "Extension-M", preview: false, empty: false] [id: 0, 18; label: "Extension-L", preview: false, empty: false]) (id: 0, 25; label: "Starter Furnace Setup - Vanilla", preview: false, empty: false; book [id: 0, 20; label: "Full Belt", preview: false, empty: false] [id: 0, 21; label: "Start", preview: false, empty: false] [id: 0, 22; label: "Extension-S", preview: false, empty: false] [id: 0, 23; label: "Extension-M", preview: false, empty: false] [id: 0, 24; label: "Extension-L", preview: false, empty: false]) (id: 0, 29; label: "Tileable Nuclear Setup [Realistic Reactors, Fluid Must Flow, Storage Tank MK2]", preview: false, empty: false; book [id: 0, 26; label: "2R Start", preview: false, empty: false] [id: 0, 27; label: "2R Extension", preview: false, empty: false] [id: 0, 28; label: "4R Extension", preview: false, empty: false]) (id: 0, 95; label: "Yellow Belt balancer", preview: false, empty: false; book [id: 0, 30; label: "1 to 1", preview: false, empty: false] [id: 0, 31; label: "1 to 2", preview: false, empty: false] [id: 0, 32; label: "1 to 3", preview: false, empty: false] [id: 0, 33; label: "1 to 4", preview: false, empty: false] [id: 0, 34; label: "1 to 5", preview: false, empty: false] [id: 0, 35; label: "1 to 6", preview: false, empty: false] [id: 0, 36; label: "1 to 7", preview: false, empty: false] [id: 0, 37; label: "1 to 8", preview: false, empty: false] [id: 0, 38; label: "2 to 1", preview: false, empty: false] [id: 0, 39; label: "2 to 2", preview: false, empty: false] [id: 0, 40; label: "2 to 3 (Long)", preview: false, empty: false] [id: 0, 41; label: "2 to 3 (Wide)", preview: false, empty: false] [id: 0, 42; label: "2 to 4", preview: false, empty: false] [id: 0, 43; label: "2 to 5", preview: false, empty: false] [id: 0, 44; label: "2 to 6", preview: false, empty: false] [id: 0, 45; label: "2 to 7", preview: false, empty: false] [id: 0, 46; label: "2 to 8", preview: false, empty: false] [id: 0, 47; label: "3 to 1", preview: false, empty: false] [id: 0, 48; label: "3 to 2", preview: false, empty: false] [id: 0, 49; label: "3 to 3", preview: false, empty: false] [id: 0, 50; label: "3 to 4", preview: false, empty: false] [id: 0, 51; label: "3 to 5", preview: false, empty: false] [id: 0, 52; label: "3 to 6", preview: false, empty: false] [id: 0, 53; label: "3 to 7", preview: false, empty: false] [id: 0, 54; label: "3 to 8", preview: false, empty: false] [id: 0, 55; label: "4 to 1", preview: false, empty: false] [id: 0, 56; label: "4 to 2", preview: false, empty: false] [id: 0, 57; label: "4 to 3", preview: false, empty: false] [id: 0, 58; label: "4 to 4", preview: false, empty: false] [id: 0, 59; label: "4 to 5", preview: false, empty: false] [id: 0, 60; label: "4 to 6", preview: false, empty: false] [id: 0, 61; label: "4 to 7", preview: false, empty: false] [id: 0, 62; label: "4 to 8", preview: false, empty: false] [id: 0, 63; label: "5 to 1", preview: false, empty: false] [id: 0, 64; label: "5 to 2", preview: false, empty: false] [id: 0, 65; label: "5 to 3", preview: false, empty: false] [id: 0, 66; label: "5 to 4", preview: false, empty: false] [id: 0, 67; label: "5 to 5", preview: false, empty: false] [id: 0, 68; label: "5 to 6", preview: false, empty: false] [id: 0, 69; label: "5 to 7", preview: false, empty: false] [id: 0, 70; label: "5 to 8", preview: false, empty: false] [id: 0, 71; label: "6 to 1", preview: false, empty: false] [id: 0, 72; label: "6 to 2", preview: false, empty: false] [id: 0, 73; label: "6 to 3", preview: false, empty: false] [id: 0, 74; label: "6 to 4", preview: false, empty: false] [id: 0, 75; label: "6 to 5", preview: false, empty: false] [id: 0, 76; label: "6 to 6", preview: false, empty: false] [id: 0, 77; label: "6 to 7", preview: false, empty: false] [id: 0, 78; label: "6 to 8", preview: false, empty: false] [id: 0, 79; label: "7 to 1", preview: false, empty: false] [id: 0, 80; label: "7 to 2", preview: false, empty: false] [id: 0, 81; label: "7 to 3", preview: false, empty: false] [id: 0, 82; label: "7 to 4", preview: false, empty: false] [id: 0, 83; label: "7 to 5", preview: false, empty: false] [id: 0, 84; label: "7 to 6", preview: false, empty: false] [id: 0, 85; label: "7 to 7", preview: false, empty: false] [id: 0, 86; label: "7 to 8", preview: false, empty: false] [id: 0, 87; label: "8 to 1", preview: false, empty: false] [id: 0, 88; label: "8 to 2", preview: false, empty: false] [id: 0, 89; label: "8 to 3", preview: false, empty: false] [id: 0, 90; label: "8 to 4", preview: false, empty: false] [id: 0, 91; label: "8 to 5", preview: false, empty: false] [id: 0, 92; label: "8 to 6", preview: false, empty: false] [id: 0, 93; label: "8 to 7", preview: false, empty: false] [id: 0, 94; label: "8 to 8", preview: false, empty: false]) (id: 0, 4; label: "", preview: false, empty: false; single) (id: 0, 12; label: "", preview: false, empty: false; single)
  16.895 Loading level.dat: 1337304 bytes.
  16.896 Info Scenario.cpp:188: Map version 0.18.29-0
  16.918 Verbose Scenario.cpp:231: Loading level.dat finished: 0.021435 seconds.
  16.919 Loading blueprint storage: Local timestamp 1573990145, Cloud timestamp 1573990144
  16.960 Verbose BlueprintLibrary.cpp:65: Loaded external blueprint storage: playerIndex = 0, nextRecordID = 96; timestamp = 1573990145; records: (id: 0, 11; label: "Base-in-a-Book 4. Main Bus", preview: false, empty: false; book [id: 0, 6; label: "4. Main Bus - Full line", preview: false, empty: false] [id: 0, 7; label: "4. Main Bus - Half line", preview: false, empty: false] [id: 0, 8; label: "4. Main Bus - Middle Half line", preview: false, empty: false] [id: 0, 9; label: "4. Main Bus - Half line One sided", preview: false, empty: false] [id: 0, 10; label: "4. Main Bus - 4x4 Balancer", preview: false, empty: false]) (id: 0, 19; label: "Starter Furnace Setup", preview: false, empty: false; book [id: 0, 14; label: "Full Belt", preview: false, empty: false] [id: 0, 15; label: "Start", preview: false, empty: false] [id: 0, 16; label: "Extension-S", preview: false, empty: false] [id: 0, 17; label: "Extension-M", preview: false, empty: false] [id: 0, 18; label: "Extension-L", preview: false, empty: false]) (id: 0, 25; label: "Starter Furnace Setup - Vanilla", preview: false, empty: false; book [id: 0, 20; label: "Full Belt", preview: false, empty: false] [id: 0, 21; label: "Start", preview: false, empty: false] [id: 0, 22; label: "Extension-S", preview: false, empty: false] [id: 0, 23; label: "Extension-M", preview: false, empty: false] [id: 0, 24; label: "Extension-L", preview: false, empty: false]) (id: 0, 29; label: "Tileable Nuclear Setup [Realistic Reactors, Fluid Must Flow, Storage Tank MK2]", preview: false, empty: false; book [id: 0, 26; label: "2R Start", preview: false, empty: false] [id: 0, 27; label: "2R Extension", preview: false, empty: false] [id: 0, 28; label: "4R Extension", preview: false, empty: false]) (id: 0, 95; label: "Yellow Belt balancer", preview: false, empty: false; book [id: 0, 30; label: "1 to 1", preview: false, empty: false] [id: 0, 31; label: "1 to 2", preview: false, empty: false] [id: 0, 32; label: "1 to 3", preview: false, empty: false] [id: 0, 33; label: "1 to 4", preview: false, empty: false] [id: 0, 34; label: "1 to 5", preview: false, empty: false] [id: 0, 35; label: "1 to 6", preview: false, empty: false] [id: 0, 36; label: "1 to 7", preview: false, empty: false] [id: 0, 37; label: "1 to 8", preview: false, empty: false] [id: 0, 38; label: "2 to 1", preview: false, empty: false] [id: 0, 39; label: "2 to 2", preview: false, empty: false] [id: 0, 40; label: "2 to 3 (Long)", preview: false, empty: false] [id: 0, 41; label: "2 to 3 (Wide)", preview: false, empty: false] [id: 0, 42; label: "2 to 4", preview: false, empty: false] [id: 0, 43; label: "2 to 5", preview: false, empty: false] [id: 0, 44; label: "2 to 6", preview: false, empty: false] [id: 0, 45; label: "2 to 7", preview: false, empty: false] [id: 0, 46; label: "2 to 8", preview: false, empty: false] [id: 0, 47; label: "3 to 1", preview: false, empty: false] [id: 0, 48; label: "3 to 2", preview: false, empty: false] [id: 0, 49; label: "3 to 3", preview: false, empty: false] [id: 0, 50; label: "3 to 4", preview: false, empty: false] [id: 0, 51; label: "3 to 5", preview: false, empty: false] [id: 0, 52; label: "3 to 6", preview: false, empty: false] [id: 0, 53; label: "3 to 7", preview: false, empty: false] [id: 0, 54; label: "3 to 8", preview: false, empty: false] [id: 0, 55; label: "4 to 1", preview: false, empty: false] [id: 0, 56; label: "4 to 2", preview: false, empty: false] [id: 0, 57; label: "4 to 3", preview: false, empty: false] [id: 0, 58; label: "4 to 4", preview: false, empty: false] [id: 0, 59; label: "4 to 5", preview: false, empty: false] [id: 0, 60; label: "4 to 6", preview: false, empty: false] [id: 0, 61; label: "4 to 7", preview: false, empty: false] [id: 0, 62; label: "4 to 8", preview: false, empty: false] [id: 0, 63; label: "5 to 1", preview: false, empty: false] [id: 0, 64; label: "5 to 2", preview: false, empty: false] [id: 0, 65; label: "5 to 3", preview: false, empty: false] [id: 0, 66; label: "5 to 4", preview: false, empty: false] [id: 0, 67; label: "5 to 5", preview: false, empty: false] [id: 0, 68; label: "5 to 6", preview: false, empty: false] [id: 0, 69; label: "5 to 7", preview: false, empty: false] [id: 0, 70; label: "5 to 8", preview: false, empty: false] [id: 0, 71; label: "6 to 1", preview: false, empty: false] [id: 0, 72; label: "6 to 2", preview: false, empty: false] [id: 0, 73; label: "6 to 3", preview: false, empty: false] [id: 0, 74; label: "6 to 4", preview: false, empty: false] [id: 0, 75; label: "6 to 5", preview: false, empty: false] [id: 0, 76; label: "6 to 6", preview: false, empty: false] [id: 0, 77; label: "6 to 7", preview: false, empty: false] [id: 0, 78; label: "6 to 8", preview: false, empty: false] [id: 0, 79; label: "7 to 1", preview: false, empty: false] [id: 0, 80; label: "7 to 2", preview: false, empty: false] [id: 0, 81; label: "7 to 3", preview: false, empty: false] [id: 0, 82; label: "7 to 4", preview: false, empty: false] [id: 0, 83; label: "7 to 5", preview: false, empty: false] [id: 0, 84; label: "7 to 6", preview: false, empty: false] [id: 0, 85; label: "7 to 7", preview: false, empty: false] [id: 0, 86; label: "7 to 8", preview: false, empty: false] [id: 0, 87; label: "8 to 1", preview: false, empty: false] [id: 0, 88; label: "8 to 2", preview: false, empty: false] [id: 0, 89; label: "8 to 3", preview: false, empty: false] [id: 0, 90; label: "8 to 4", preview: false, empty: false] [id: 0, 91; label: "8 to 5", preview: false, empty: false] [id: 0, 92; label: "8 to 6", preview: false, empty: false] [id: 0, 93; label: "8 to 7", preview: false, empty: false] [id: 0, 94; label: "8 to 8", preview: false, empty: false]) (id: 0, 4; label: "", preview: false, empty: false; single) (id: 0, 12; label: "", preview: false, empty: false; single)
  16.960 Verbose Scenario.cpp:309: Entities setup finished: 0.042050 seconds.
  16.966 Checksum for script C:/Users/Skotnica/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1638281914
  16.967 Checksum for script __debugadapter__/control.lua: 3809488605
  16.968 Verbose Scenario.cpp:353: Map setup finished: 0.072744 seconds.
  16.969 Verbose AppManager.cpp:635: Time to create game: 0.701921 seconds.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14301
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Rseding91 »

They only apply when the pipe has a specific fluid filter.
If you want to get ahold of me I'm almost always on Discord.
Romner_set
Inserter
Inserter
Posts: 30
Joined: Thu Mar 07, 2019 4:25 pm
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Romner_set »

Rseding91 wrote: Tue Jun 02, 2020 3:13 pm They only apply when the pipe has a specific fluid filter.
That's a shame, it means that what I wanted to do is practically impossible. Would it be possible to apply them regardless of the fluid filter or is that a similar problem to this? And couldn't that be implemented by adding some kind of fluid_category to the fluid prototype and a fluid_category_filter to the fluid boxes prototype and then allowing only fluids with the same fluid category enter the fluid box?
User avatar
Yokmp
Inserter
Inserter
Posts: 29
Joined: Tue Aug 23, 2016 10:30 am
Contact:

Re: Fluidbox minimum_temperature and maximum_temperature not working?

Post by Yokmp »

Klonan wrote: Sat Oct 07, 2017 6:04 pm So specifying a list/array of different accepted fluids isn't supported in the fluidbox at all, and would currently murder performance if it was hacked in (going through a whole list of accepted types for all filtered inputs etc.)
In theory the only time a check is needed is when it changes the fluid type. And if a pipe never runs dry on its own then checks can be further reduced by only checking if it chenges from nothing to something. Also if placing a new pipe to an existing empty one a check can be ignored if they are the same entity.
I don't know how factorio works internally but i guess you're using some sort of event system?
Romner_set wrote: Tue Jun 02, 2020 3:25 pm ...
And couldn't that be implemented by adding some kind of fluid_category to the fluid prototype and a fluid_category_filter to the fluid boxes prototype and then allowing only fluids with the same fluid category enter the fluid box?
This would just move the existing problem from one point to another because then the category instead of the temperature must be checked.

The more i think about it the more i see that this is a rather complex problem.
Can we then have at least some method like i mentioned above at machines? they have "fixed" fluid_boxes which would reduce the complexity of such a system.
Post Reply

Return to “Modding help”