Jump to content

M2 Give Basic Weapon


Recommended Posts

  • Administrateur

Temps estimé : ~ 3 minutes

 

 

Pré-requis

 

Quête

Révélation
quest M2Start begin
	state start begin
		when login begin

			local R = {M2SF.start.kingdom_1, M2SF.start.kingdom_2, M2SF.start.kingdom_3}
			notice_all(M2SF.start.say_1..pc.get_name()..M2SF.start.say_2..R[pc.getempire()]..M2SF.start.say_3)

			set_state(__START__)
		end
	end
	
	state __START__ begin
		when letter begin
			send_letter(M2SF.start.title_1)
		end
	
		when button or info begin
			say_title(pc.name)
			say(M2SF.start.say_4)
			wait()
			say_title(pc.name)
			say(M2SF.start.say_5)

			if pc.job == 0 then

				pc.give_item2(10, 1)
				pc.give_item2(3000, 1)
				pc.give_item2(11200, 1)
				pc.give_item2(12200, 1)
			elseif pc.job == 1 then

				pc.give_item2(10, 1)
				pc.give_item2(1000, 1)
				pc.give_item2(11400, 1)
				pc.give_item2(12340, 1)
				pc.give_item2(2000, 1)
				pc.give_item2(8000, 200)
			elseif pc.job == 2 then

				pc.give_item2(10, 1)
				pc.give_item2(11600, 1)
				pc.give_item2(12480, 1)
			elseif pc.job == 3 then

				pc.give_item2(7000, 1)
				pc.give_item2(11800, 1)
				pc.give_item2(12620, 1)
			end

			pc.give_gold(1)
			pc.give_item2(50187, 1)

			pc.give_item2(13000, 1)
			pc.give_item2(14000, 1)
			pc.give_item2(16000, 1)
			pc.give_item2(17000, 1)
			pc.give_item2(15000, 1)

			set_state(__COMPLETE__)
		end
	end

	state __COMPLETE__ begin
	end
end

 

 

Translate.lua

Révélation
M2SF = {}
M2SF.start = {}
M2SF.start.kingdom_1 = "Shinsoo"
M2SF.start.kingdom_2 = "Chunjo"
M2SF.start.kingdom_3 = "Jinno"
M2SF.start.title_1 = "M2 Project ?!"
M2SF.start.say_1 = "Oooh ?! Bienvenue à "
M2SF.start.say_2 = " du Royaume "
M2SF.start.say_3 = "..."
M2SF.start.say_4 = "[ENTER]Les grands sages ont décidé de vous aider pour[ENTER]le début de l'aventure et vous on fait grâce de[ENTER]plusieurs présents. Ils vous offrent quelques[ENTER]pièces d'équipements pour bien débuter ![ENTER]"
M2SF.start.say_5 = "[ENTER]Alors qu'attendez vous ? Bonne chance ![ENTER]"

 

 

Cordialement,

ASIKOO

  • Hmmm... 1

logo.png

 

miaw-network.png
 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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.