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

Solved Monster who dropps a book with text in it??

tosse12

Panchira Project Member
Joined
Jun 10, 2007
Messages
864
Reaction score
9
Location
Sweden
Okey, the title says almost everything ^_^
But to give you more explaination:
I want to make a monster drop a special book (ID 1976 - Gemmed book), that contains some text.

I know how to add this item to the monster I want to drop it, BUT I don't know how to add the text in it.
If this is possible, please tell me how to fix it (Tried to find some thread about this but, as usally, I sux at searching, so if there is any thread that have solved this, please link it for me).

Thanks in advance!
 
Last edited:
Any way to like add a new line, ya know to format the text make it look nice

"Thanks for playing!

Hope you have a great time, check out the boat captains to find new interesting hunting places

sincerely
#"
 
Lol, not trying to be rude, but I would not ask without having at least tried what solution was given...

Heres code:
Code:
<item id="8707" chance="100000" text="First line \n Second line"/>

Here's output
First line \n Second line
(Also tried other "/" doesn't work either)

Also tried as was stated in this solution I Googled

and I also tried a [CDATA] tag, but the file would not reload, it doesn't work in OTs.

Really, any help on this would be appreciated. I honestly tried my best.
 
I'm still wondering about this.

Thanks

Or is there a better way to do it in LUA with line returns and all? (like giving it to them in the first items chest.)
 
Back
Top