SphereCommunity
custom book - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: custom book (/Thread-custom-book)



custom book - Kapa - 10-12-2014 12:21 AM

Hello, please tell me why this book after some time becomes empty and all writing is gone?

[ITEMDEF i_Potion_crafter]
DEFNAME=i_Potion_crafte
ID=i_book_lg_pub
NAME=Book of evil alchemist
TYPE=T_BOOK
RESOURCES=1 i_book_sm
WEIGHT=5
VALUE=50000
CATEGORY=kapos
SUBSECTION=alchemy
DESCRIPTION=alchemy book

ON=@Create
MORE1=b_sphere



[BOOK b_sphere]
PAGES=3
TITLE=Rare potions
AUTHOR=Burned Alchemist

[BOOK b_sphere 1]
Lava bomb,
115 Alchemy
20 Volcanic ash

[BOOK b_sphere 2]
Potion blood
100 Alchemy
2 Bloody ash


RE: custom book - Coruja - 10-12-2014 07:16 AM

the book b_sphere is already set on sphere_book.scp, probably you're getting some conflict problems
try rename it to b_potion_crafter and maybe it will work fine, because there's nothing wrong on your code (except the conflict on book name b_sphere)


RE: custom book - Kapa - 10-12-2014 06:33 PM

thanks for you help