Jump to content

Recommended Posts

  • Premium

by putting a space between | and the letters.

  • Love 2

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

  • Premium
Just now, damcej said:

Very easy, work!

Thanks!

Glad to help!

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

Or much funny like this:

	if itemVnum in (50011, 50012, 50013):
		pItem_list = {
			50011 : ["[i]", "TextLine 1!", "TextLine 2!", "TextLine 3!", "TextLine 4!"], # bla bla bla
			50012 : ["[i]", "TextLine 1!", "TextLine 2!", "TextLine 3!", "TextLine 4!"],	
			50013 : ["[i]", "TextLine 1!", "TextLine 2!", "TextLine 3!", "TextLine 4!"]}							
					
		self.AppendSpace(5)	
		for i in xrange(len(pItem_list[itemVnum])):
			self.AppendTextLine(pItem_list[itemVnum][i], self.SPECIAL_POSITIVE_COLOR)

 

  • Love 3
Link to comment
Share on other sites

  • Premium
2 minutes ago, VegaS said:

Or much funny like this:


	if itemVnum in (50011, 50012, 50013):
		pItem_list = {
			50011 : ["[i]", "TextLine 1!", "TextLine 2!", "TextLine 3!", "TextLine 4!"], # bla bla bla
			50012 : ["[i]", "TextLine 1!", "TextLine 2!", "TextLine 3!", "TextLine 4!"],	
			50013 : ["[i]", "TextLine 1!", "TextLine 2!", "TextLine 3!", "TextLine 4!"]}							
					
		self.AppendSpace(5)	
		for i in xrange(len(pItem_list[itemVnum])):
			self.AppendTextLine(pItem_list[itemVnum][i], self.SPECIAL_POSITIVE_COLOR)

 

Yes that's correct, but the item_desc already supports it by using the | command! No need to modify the py's.

 

  • Love 1

 

"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."

Syreldar

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 4

      Feeding game source to LLM

    2. 0

      Quest 6/7 Problem

    3. 5

      Effect weapons

    4. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    5. 3

      Crystal Metinstone

    6. 4

      Feeding game source to LLM

    7. 113

      Ulthar SF V2 (TMP4 Base)

    8. 4

      Feeding game source to LLM

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.