Jump to content

Recommended Posts

  • Honorable Member

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
https://metin2.dev/topic/13857-itemdesc-help/#findComment-78712
Share on other sites

  • Honorable Member
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
https://metin2.dev/topic/13857-itemdesc-help/#findComment-78714
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
https://metin2.dev/topic/13857-itemdesc-help/#findComment-78715
Share on other sites

  • Honorable Member
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
https://metin2.dev/topic/13857-itemdesc-help/#findComment-78716
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.