• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

RME: How do "Friend" work?

Alkenyx

Member
Joined
Jun 6, 2014
Messages
91
Solutions
1
Reaction score
14
Location
Germany
Hello everyone.

How do the
Lua:
<friend name=""/>
-thing exactly work?
I want to use item 413 and block 10164's (earth) autoborder.
Lua:
<friend name="all"/>
works but it blocks 22749's (stone floor) autoborder as well.
How can I avoid it?
 

zbizu

Legendary OT User
Joined
Nov 22, 2010
Messages
3,187
Solutions
23
Reaction score
2,346
Location
Poland
GitHub
Zbizu
Friend means that they don't border towards each other. Similar behaviour to situation when both brushes have same z-order (priority).
 
OP
OP
Alkenyx

Alkenyx

Member
Joined
Jun 6, 2014
Messages
91
Solutions
1
Reaction score
14
Location
Germany
Oh dear. This was too ez at all.
So I've just used the brush name instead of the group name.
Works with:
Lua:
<brush name="drab tiled stone floor" type="ground" server_lookid="413" z-order="1">
    <item id="413" chance="10"/>
    <friend name="earth mountain"/>
</brush>

Thanks for the help.
 

pink_panther

Premium User
Premium User
Joined
Sep 10, 2016
Messages
755
Solutions
9
Reaction score
323
Location
Kazordoon
Np.

I have all sets of config files

For example I have a version of the grounds and borders files with only Dirt and Earth Mountain borders, so when I can select a massive area and "Fix Borders" and not have to worry about all the other overlapping bordering being fucked up in the process.

I think it's impossible to have 100% perfect auto-borders, some areas just have custom bordering, some tiles just do not match up properly. Always requires little tweaks if you want to use border magic.
 
Top