• 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!

enter/next line in description

andu

Sold 649 scripts, 25 maps and 9 events!
Joined
Aug 7, 2009
Messages
978
Solutions
17
Reaction score
373
GitHub
olrios
Twitch
jamagowy
How to make enter/next line in description?
I tried to use this:
Code:
"\n"
but don't work in items.xml ;/

Items.xml eg:
Code:
<item id="8888" article="a" name="master archer's armor">
	<attribute key="armor" value="15"/>
[COLOR="Red"]	<attribute key="[B]description[/B]" value="(Mana +10% [B]\n[/B] health +10% [B]\n[/B] protection from drunk)."/>[/COLOR]
...
shows that as this:
Code:
[I]You see a master archer's armor (arm: 15).
It weights 100 oz.
(Mana +10% \n health +10% \n protection from drunk).[/I]

what is wrong?
 
Last edited:
You shouldn't have to do that, if the item has those attributes, it will already be in the description.
 
I'm not sure if this is even possible.
It's possible :)

You shouldn't have to do that, if the item has those attributes, it will already be in the description.
TFS 3.6.0 pl1 dont shows all attributes of items in descriptions.

\n works in other cases but i dont know why it not work in items.xml
 

Similar threads

Back
Top