[Quest Release]Starterset +

08/21/2010 00:27 sennah#1
this quest gives when players and gm's login for the first time some starting items.

If you like it, thank it =)

Features:
-Gives gm a diffrent item set.
-Gives players a diffrent item set.
-See the quest for more info

Things that can be better:
-

Installation:
Copy and paste the quest in a text editor.
Save it as: starterset.quest
upload it into your serverfiles
add the quest into hongkong_list
run sh make.sh
execute /reload q in game

NPC used:


Quest file:

PHP Code:
quest starterset begin
    state start begin
        when login with pc
.get_level() == 1 begin
            
if pc.is_gm() then
                say_title
("Welcome at "..locale.serverName..)
                
say("You recieved the gamemaster set!")
                
say("Don't abuse your powers or i'm gone kill you.")
                
say_reward("Use the rainbowstone to get P skills")
                
say_reward("Get your items in the GM shop")
                
say("")
                
say("Have fun!")
                
pc.give_item2("50512"1)                 -- Rainbowstone
                pc
.give_item2("72702"1)                 -- Windchaser+60
                pc
.give_item2("60003"1)                -- gm item
                pc
.change_money(100000000)                -- 100,000,000 Gold
                pc
.changealignment(200000)                -- give full alignment
                command
("level 127")                    -- level up to 127
                horse
.set_level(30)                        -- horse level 30
                npc
.open_shop(100)                        -- Open gm shop
            
else
                
pc.give_item2("27002"200)             -- Red Pots (M)            | 200x
                pc
.give_item2("22000"200)             -- Blue Pots (M)        | 200x
                pc
.give_item2("72702"1)                 -- Windchaser+60        1x
                pc
.give_item2("72037"10)                -- DragonGod Life         10x
                pc
.give_item2("72031"10)                -- Attack                   10x
                pc
.give_item2("72034"10)                -- Defense                10x
                pc
.give_item2("72040"10)                -- Intelligence            10x
                pc
.give_item2("70038"50)                -- Bravery Capes        50x
                pc
.give_item2("27115"15)                -- Purple Pots (L)         | 15x
                pc
.give_item2("27111"15)                -- Green Pots (M)         | 15x
                pc
.change_money(100000)                    -- 100,000 Gold
                horse
.advance()                            -- lvl 1 horse
                pc
.give_exp2 (701600)                    -- level up to 30
                say_title
("Welcome at <servername>)
                say("
You recieved the starters set!")
                say("
You are now level 30 and have a horse.")
                say("")
                say("
Have funthe <servernameteam!")
            end
        end
    end
end 
08/21/2010 01:24 dommi4#2
Different sets for gms and players!
Very Nice ;)
I saw you have released many good quests today!
Your at the best way to become a very good Questscripter!
08/21/2010 09:43 domexz#3
old everyone has a starterset!
08/21/2010 13:03 LxR'EsoZiaL#4
Quote:
Originally Posted by domexz View Post
old everyone has a starterset!
Quote:
Copy and paste the quest in a text editor.
Save it as: starterset.quest
upload it into your serverfiles
add the quest into hongkong_list
run sh make.sh
execute /reload q in game
in so eine Form gab es das noch nicht...
08/21/2010 13:39 PangerLenis#5
npc.open_shop(100) doesnt work :P
08/21/2010 13:41 sennah#6
you probably don't have a shop id 100 =)
08/21/2010 15:23 mufkeksy#7
das ist wenn man gm ist bekommt man ein eigenes starterset :)
10/21/2010 15:53 Dimitris8895#8
What do you mean run sh and make .sh?