Oxygen Not Included
Customize Buildings (more capacity, less dupes)
Can I make a travel tube out of plastic and glass/diamond through this mod?
I hope the travel tube needs two materials: plastic and glass/diamond ,It has the same melting point as glass/diamond.(like a liquid meter valve made of refined metal and plastic,and It has the same melting point as refined metal),Can I implement this function through this mod?

I don't know English. This is translated through translation software. Sorry.
Автор останньої редакції: Phoenix; 15 черв. 2022 о 8:33
< >
Показані коментарі 14 із 4
Fumihiko  [розробник] 15 черв. 2022 о 8:56 
Yes. Enable "BuildingAdvancedGlobalFlag" 建筑高级设置总开关

This will add Glass and Ice to the secondary material selector. To also use diamond, you need to replace the value of MaterialOverride 材料覆盖 from
"Glass Ice"
to
"Glass Ice Diamond"

Does that work for you?
No, it didn't achieve the effect I wanted.It puts glass, ice, and plastic in one option.

what i did:


Switch the game language to English
Remove all mods except "Customize Buildings"
Click the "Reset to mod preset" button
Start a new game
Turn on sandbox mode

Then I found glass, ice and plastic in the same row, as shown below(
Attach code for "CustomizeBuildings.json")

Can you help me confirm which step I did wrong?

https://imgur.com/a/QrpJADw
Fumihiko  [розробник] 17 черв. 2022 о 3:00 
Oh. I misread what you want. That's possible too. Although the secondary material has no impact on the result. It's primarly for balancing.

I posted my config file here: https://github.com/Truinto/ONI-Modloader-SimpleMods/tree/master/Mods/Customize%20Buildings/example%20advanced%20material%20selection

There is also an explanation, but it's a bit complicated. Assuming you play in chinese language: Note that the config files are language dependend.
You could delete strings_zh.pot so the mod defaults to english, which will allow it to load the english config. Or you apply the correct values in the chinese config file. It takes me a bit of effort, but if you need help converting into chinese config, let me know.

Btw, thanks a lot for using a translator. Makes it a lot easier for me :p2cube:
I did it. It worked:steamthumbsup:

I used the correspondence in the strings_zh.pot file to replace the string of the program.The CustomizeBuildings_zh.json file can also be run in the Chinese version

Thank you for making this mod and your patient answers.It brings me a lot of happiness:steamhappy:
< >
Показані коментарі 14 із 4
На сторінку: 1530 50