Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
Read-only T_BOOK
|
Author |
Message |
tleilax
Journeyman
Posts: 56
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Jun 2012
Reputation: 0
|
Read-only T_BOOK
Hello,
how do I make the book read-only? Also, how do I make new line on the same page (something like <br>)?
Seems like it changed a lot since 55i. Thanks.
Code:
[ITEMDEF i_book_test]
DEFNAME=i_book_test
ID=i_book_sm
TYPE=T_BOOK
RESOURCES=1 i_book_sm
WEIGHT=5
VALUE=500
CATEGORY=Decoration - Virtues
SUBSECTION=Virtue Items
DESCRIPTION=Book of Truth
ON=@Create
AUTHOR test
BODY test text
(This post was last modified: 02-15-2018 06:27 AM by tleilax.)
|
|
02-15-2018 06:23 AM |
|
|
darksun84
Sir Spamalot
Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35
|
RE: Read-only T_BOOK
Set more1 = 0800 after you have finished to write the text.
Every time you use BODY you add one page, for adding a new line in the same page you have to tab the text :\
for example
body = "hello test" // Page 1 (actually body.0) First line is Hello second line is test
body = "fine bye bye" //Page 2 (body.1) First line is fine bye second line is empty third line is bye (Because there are two tabs)
Well the forum strips the tabs
Here again:
Code:
body = "hello test" // Page 1 (actually body.0) First line is Hello second line is test
body = "fine bye bye" //Page 2 (body.1) First line is fine bye second line is empty third line is bye (Because there are two tabs)
(This post was last modified: 02-15-2018 08:01 AM by darksun84.)
|
|
02-15-2018 08:00 AM |
|
|
User(s) browsing this thread: 1 Guest(s)