Jump to content

Shisui

Former Staff
  • Posts

    977
  • Joined

  • Last visited

  • Days Won

    15
  • Feedback

    0%

Posts posted by Shisui

  1. Tuesday, January 13, 2015 , my house was ransacked , the robbers took all the money in the house ( money to pay bills for food, a month's salary and money for ongoing specialization course ) and all gold jewelry . I can say from expertise police revealed that criminals have used appropriate keys , beware !! At this announcement appeal to citizens who want and are able to help, I do not think we will recover any of the lost goods , but any help is welcome . If you want to help us  , you can make a donation directly to my BRD account RO90BRDE170SV79976891700  . Good health to all!

    Well, here's a thing we don't see very often.  :D  :D  :D  :D

  2. Maybe this?

     

    quest fortune_telling begin
    	state start begin
    		when oldwoman.chat."I heard, you are a fortune teller." begin
    			if pc.level<=20 then
    				say_title("Old Woman:")
    				say("")
    				say("Your face tells me, that you are not living for")
    				say("too long. Why do you want to know your destiny")
    				say("? So you have any problems? Your destiny needs")
    				say("a lot of training. Return later on.")
    				say("")
    				say("")
    				return
    			end
    
    			if get_time()-pc.getqf("time") < 8*60*60 then
    				local passed_time = get_time() - pc.getqf("time")
    				say_title("Old Woman:")
    				say("")
    				say("Do you really want to live your life, like the")
    				say("fortune teller told you? You should not take the")
    				say("predictions seriously. The really important")
    				say("things are your attitudes and mine. If both are")
    				say("positive, nothing goes wrong. If you still want")
    				say("to know your fortune return tomorrow.")
    				say("")
    				say("")
    				say("")
    				wait()
    				local idx = pc.getqf("idx")
    				if idx!=0 then
    					say_title("Old Woman:")
    					say("")
    					say("Information: Your prediction says:")
    					say("")
    					say(locale.fortune_words[idx][1])
    					wait()
    					if pc.getqf("talisman") == 0 and special.fortune_telling[idx][5] > 0 then
    						local talisman_cost = special.fortune_telling[idx][5]
    						wait()
    						say_title("Old Woman:")
    						say("")
    						say("You will be unlucky and you have not bought")
    						say("the talisman against the evil yet..")
    						say("Are you interested in buying my talisman of")
    						say("opulence?")
    						say("")
    						local s = select("Yes, I want to buy it.","No, thanks.")
    							if s == 1 then
    								if pc.gold < talisman_cost then
    									say_title("Old Woman:")
    									say("")
    									say("I may be friendly, but I can not sell it for free.")
    									say("If you want to avoid bad luck and infelicity,")
    									say("you will pay the price, the talisman is worth.")
    									say("")
    									say("")
    									pc.setqf("talisman", 0)
    								else
    									pc.give_item2(70052,1)
    									pc.changegold(-talisman_cost)
    									pc.setqf("talisman", 1)
    								end
    							else
    							end
    						end
    					end
    				end
    			local gold = 7777
    			say_title("Old Woman:")
    			say("")
    			say("You are too young for breathing so deeply!")
    			say("Do you want to know your fortune? Told by a ")
    			say("harmonic and mysterious force.")
    			say("")
    			local s = select("Tell me the fortune", "Don¡¯t tell me the fortune")
    			if s == 2 then
    				say_title("Old Woman:")
    				say("")
    				say("Right.")
    				say("That is right, follow your own path and try to")
    				say("do your best is important. Good luck.")
    				say("")
    				return
    			end
    			
    			local n = number(1, 10000)
    			local i
    			local idx
    			for i = 1, table.getn(special.fortune_telling) do
    				if n<=special.fortune_telling[i][1] then
    					idx = i
    					break
    				else
    					n = n - special.fortune_telling[i][1]
    				end
    			end
    			i = idx
    			say(locale.fortune_words[i][2])
    			local t = {}
    			n = 0
    			local j
    			for j = 2,4 do
    				if special.fortune_telling[i][j] != 0 then
    					n=n+1
    					t[n] = j
    				end
    			end
    			if n > 0 then
    				n = number(1, n)
    				__give_char_priv(t[n]-1, special.fortune_telling[i][t[n]])
    			end
    			pc.setqf("time", get_time())
    			pc.setqf("idx", i)
    			if special.fortune_telling[i][5]>0 then
    				wait()
    				say(locale.fortune_words[i][3])
    				local talisman_cost = special.fortune_telling[i][5]
    				local s = select("Yes, I would like one.","No, thanks.")
    				if s == 1 then
    					if pc.gold < talisman_cost then
    						say("I may be friendly, but I cannot sell it for free.")
    						say("If you want to avoid bad luck and infelicity,")
    						say("you will pay the price, the talisman is worth.")
    						say("")
    						say("")
    						say("It costs"..gold.." Yang.")
    						say("")
    						pc.setqf("talisman", 0)
    					else
    						pc.give_item2(70052,1)
    						pc.changegold(-talisman_cost)
    						pc.setqf("talisman", 1)
    					end
    				elseif s == 2 then
    					say_title("Old Woman:")
    					say("")
    					say("You are going? Perhaps you are right. Bad luck and")
    					say("sorrow are part of the life. Be careful and")
    					say("farewell. If you change your mind, come back")
    					say("to me.")
    					say("")
    					pc.setqf("talisman", 0)
    				end
    			end
    		end -- end_of_when
    	end -- end_of_state
    end -- end_of_quest
    

    • Love 2
  3. You can try this

    quest cambio_raza begin
    state start begin
    
      when id_item.use begin
       say_title("Cambio de Raza")
       say("Con este mágico objeto podrás cambiar la raza")
       say("de tu personaje.")
       say("Tu pj tendrá otro aspecto y habilidades distintas.")
       say("ATENCIÓN: Debes guardar todo tu equipo antes de")
       say("hacer el cambio. Tu personaje podría bugearse.")
       say("Ademas, debes volver a entrar a tu cuenta para que")
       say("todos los cambios sean realizados.")
       say("")
       say_reward("¿Quieres cambiar la raza de tu personaje?")
       say("")
       local main_set = select ("Si","No")
      
    	if main_set == 2 then
    	 return
    	end
      
    	if main_set == 1 then
    	 say_title("Cambio de Raza")
    	 say("¿Cual quieres que sea la nueva raza para tu")
    	 say("personaje?")
    	 say("")
    	 local razzacambiasex = select ("Guerrero","Ninja","Sura","Shaman","Cancelar")
    	
    	  if razzacambiasex == 1 then
    	   say_title("Cambio de Raza")
    	   say("¿Cual quieres que sea el sexo de tu personaje?")
    	   say("")
    	   local sexwar = select ("Hombre","Mujer","Cancelar")
    	  
    		if sexwar == 1 then
    		 pc.polymorph("4")
    		 pc.change_sex()
             
    		elseif sexwar == 2 then
    		 pc.polymorph("4")
    		 pc.change_sex()
    		 pc.polymorph("20032")
    		 pc.polymorph("1")
    		 pc.change_sex()
    		 pc.polymorph("20032")
    	  
    		elseif sexwar == 3 then
    		 return
    		end
    	  elseif razzacambiasex == 2 then
    	   say_title("Cambio de Raza")
    	   say("¿Cual quieres que sea el sexo de tu personaje?")
    	   say("")
    	   local sexninja = select ("Hombre","Mujer","Cancelar")
    	  
    		if sexninja == 2 then
    		 pc.polymorph("5")
    		 pc.change_sex()
          
    		elseif sexninja == 1 then
    		 pc.polymorph("5")
    		 pc.change_sex()
    		 pc.polymorph("20032")
    		 pc.polymorph("1")
    		 pc.change_sex()
    		 pc.polymorph("20032")
             
    		elseif sexninja == 3 then
    		 return
    		end
    	
    	  elseif razzacambiasex == 3 then
    	   say_title("Cambio de Raza")
    	   say("¿Cual quieres que sea el sexo de tu personaje?")
    	   say("")
    	   local sexsura = select ("Hombre","Mujer","Cancelar")
    		if sexsura == 1 then		  
    		 pc.polymorph("6")
    		 pc.change_sex()
    
    		elseif sexsura == 2 then
    		 pc.polymorph("6")
    		 pc.change_sex()
    		 pc.polymorph("20032")
    		 pc.polymorph("1")
    		 pc.change_sex()
    		 pc.polymorph("20032")
          
    		elseif sexsura == 3 then
    		 return
    		end
    	
    	  elseif razzacambiasex == 4 then
    	   say_title("Cambio de Raza")
    	   say("¿Cual quieres que sea el sexo de tu personaje?")
    	   say("")
    	   local sexshamy = select ("Hombre","Mujer","Cancelar")
    		if sexshamy == 2 then		  
    		 pc.polymorph("7")
    		 pc.change_sex()
    
    		elseif sexshamy == 1 then
    		 pc.polymorph("7")
    		 pc.change_sex()
    		 pc.polymorph("20032")
    		 pc.polymorph("1")
    		 pc.change_sex()
    		 pc.polymorph("20032")
    	  
    		elseif sexshamy == 3 then
    		 return
    		end
    	
    	  elseif razzacambiasex == 5 then
    	   return
    	  end
    	
    	end
      end
    end
    end
    

    Is spanish but got easy translate and those guys seems it feedback it well 

    [i DIDNT MAKE IT]

    Thank you very much, it worked.

    Just need a litle changes in functions.

     

    Regards.

×
×
  • 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.