Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

OperateAreas

Forgive me for my poor English! Short description With this Mod, you can now perform AND, OR, XOR operations on the areas to generate new ones! [img]https://steamuserimages-a.akamaihd.net/ugc/2444970270075333489/EF0179C82C9C822AE653A0A8E7FB24079204B717/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] [img]https://steamuserimages-a.akamaihd.net/ugc/2444970270075333270/286786486A66972E72EB9476CA9E4EB16755F334/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] [img]https://steamuserimages-a.akamaihd.net/ugc/2444970270075333064/343ACACBCC80DEE568E45099837C650C550D8EAF/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] An example For example, if you have an area A that prohibits elephants from entering your food storage area, and another area B that represents a safe zone within the wall; However, soemthing happed, and now you want elephants to be inside the wall and at the sam time prohibited from entering the food storage area! At this point, the only foolish solution is to redraw an area C ... However, more situations have arisen. Your food storage area has expanded! At this point, not only do you need to modify area A, but you also need to modify area C at the same time ... Too much trouble! Is there any way to automatically complete this task? this mod is what you need! How to use Features [list] [*] Multiple operators: Currently supports three types of operators: AND, OR, XOR [*] [u] Virtual Area (Linked Area) [/u]: Create some virtual areas (or referred to as [u] "Linked Area" [/u]) to represent the AND, OR, XOR results of the active area. They are not real areas, they are virtual areas. [*] Linking (binding) and unlinking: Only when you link (bind) the [u] Linked Area [/u] to the [u] real area [/u], will they affect the scope of the real area. Therefore, you can cancel the link between the [u] Linked Area [/u] and the [u] real area [/u] at any time to restore the [u] real area [/u] to normal. In addition, you can also subscribe to or unsubscribe from this mod at any time, and the only loss is that your [u] Linked Area settings[/u] may be lost. [*] Complex operation: The participants in the operation can be the actual [u] area [/u] or the [u] Linked Area [/u], which means you can implement some complex logic. [*] Automatic maintenance: When any changes occur in any [u] real area [/u] or [u] Linked Area [/u], the results of AND, OR, XOR operations will be automatically updated. [/list] Steps [list] [*] After subscribing to Mod, on the [u] Manage Areas [/u] window, you can see a new button [u] Manage Linked Area [/u]. Click to enter the [u] Linked Area [/u] management. [img]https://steamuserimages-a.akamaihd.net/ugc/2444970270075332495/B1743BDC25BF5975D40DA9141C7DC0AE4BA3C852/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] [*] Create a new [u] Linked area [/u], set the areas participating in the operation and the [u] type of operation [/u]. [img]https://steamuserimages-a.akamaihd.net/ugc/2444970270075332921/E938E6E735B2E938375949851F2806E1E8BE8AA0/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] [img]https://steamuserimages-a.akamaihd.net/ugc/2444970270075332717/D7FA9D773377132D4DA5171BC6BE2E7EB932CF53/?imw=5000&imh=5000&ima=fit&impolicy=Letterbox&imcolor=%23000000&letterbox=false[/img] [*] Click [u] Link to New Area [/u], which will create a new area and automatically link (bind) with the current [u] Linked Area [/u]. [/list] Issues [list] [*] The maximum limit for the [u]Linked area [/u] is 10 (this is because I am not yet familiar with the game's UI code); In addition, if some mods are subscribed to so that the maximum limit of [u] area [/u] is not 10, the position of the [u] Manage LinkedArea [/u] button may be incorrect (this is also because I am not familiar with the game's UI code), or it may not be. [*] When setting complex area operation logic, circular references should not occur. If area A is the operand of area B, then area B can no longer be used as the operand of area A; One area cannot become one's own computational object as well; You can see some [u] Ban [/u] in the setting window to prevent you from doing such operations. [/list] From Author Hello everyone, I am Liaoy. This is my first time creating a Mod for Rimworld. I hope you guys can enjoy it! Please leave a message in the comments for any questions! Have fun! And forgive me for my poor English again !!! ~~~ Translation needed !!!~~~

Зависимости мода

Логотип мода

Harmony

Загрузить 936.4 KB