Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest event_summer_2018 begin
- state start begin
- when 9215.chat."Lato" with game.get_event_flag("event_summer_2018") == 1 begin
- local s = select("Chcę przejść ", "Nie dzięki")
- if s == 2 then
- return
- elseif s == 1 then
- pc.warp(2113500, 3278800)
- end
- end
- when kill with not npc.is_pc() and game.get_event_flag("event_summer") == 1 begin
- if pc.get_map_index() == 10 then
- local los = number(1, 100)
- if los <= 5 then
- pc.give_item2(120345, 1)
- end
- end
- if pc.get_map_index() != 1 and
- pc.get_map_index() != 3 and
- pc.get_map_index() != 4 and
- pc.get_map_index() != 5 and
- pc.get_map_index() != 21 and
- pc.get_map_index() != 23 and
- pc.get_map_index() != 24 and
- pc.get_map_index() != 25 and
- pc.get_map_index() != 41 and
- pc.get_map_index() != 43 and
- pc.get_map_index() != 44 and
- pc.get_map_index() != 45 and
- pc.get_map_index() != 112 and
- pc.get_map_index() != 209 and
- pc.get_map_index() != 103 and
- pc.get_map_index() != 105 and
- pc.get_map_index() != 110 and
- pc.get_map_index() != 111 and
- pc.get_map_index() != 81 and
- pc.get_map_index() != 113 and
- pc.get_map_index() != 118 and
- pc.get_map_index() != 119 and
- pc.get_map_index() != 120 and
- pc.get_map_index() != 121 and
- pc.get_map_index() != 122 and
- pc.get_map_index() != 123 and
- pc.get_map_index() != 124 and
- pc.get_map_index() != 128 and
- pc.get_map_index() != 181 and
- pc.get_map_index() != 182 and
- pc.get_map_index() != 183 and
- pc.get_map_index() != 199 and
- pc.get_map_index() != 237 then
- local los = number(1, 100)
- if los <= 5 then
- pc.give_item2(120344, 1)
- end
- end
- if npc.get_race() == 964 then
- local los_item = {
- {27992,250},
- {27992,500},
- {27992,750},
- {27992,1000},
- {71052,1},
- {43013,1},
- {43023,1},
- {71044,5},
- {71045,5},
- {120338,1},
- {120339,1},
- {30193,5},
- {70029,5},
- {50037,5},
- {50011,5},
- {50034,5},
- {71018,2},
- {71020,2},
- {71019,2},
- {71107,1},
- {51002,1},
- {71134,4},
- {120185,2},
- {120186,2},
- {120165,1},
- {120166,1},
- {120167,1}
- }
- los = number(1, 27)
- pc.give_item2(los_item[los][1],los_item[los][2])
- los1 = number(1, 27)
- pc.give_item2(los_item[los1][1],los_item[los1][2])
- los2 = number(1, 27)
- pc.give_item2(los_item[los2][1],los_item[los2][2])
- pc.give_item2(120344,5)
- local n =number(1,100)
- if n < 6 then
- game.drop_item(71106, 1)
- end
- end
- if npc.get_race() == 963 then
- if pc.get_level() < 150 then
- local los_item = {
- {27992,250},
- {27992,500},
- {27992,750},
- {27992,1000},
- {71052,1},
- {43013,1},
- {43023,1},
- {71044,5},
- {71045,5},
- {120338,1},
- {120339,1},
- {30193,5},
- {70029,5},
- {50037,5},
- {50011,5},
- {50034,5},
- {71018,2},
- {71020,2},
- {71019,2},
- {71107,1},
- {51002,1},
- {71134,4},
- {120185,2},
- {120186,2},
- {120165,1},
- {120166,1},
- {120167,1}
- }
- los = number(1, 27)
- pc.give_item2(los_item[los][1],los_item[los][2])
- los1 = number(1, 27)
- pc.give_item2(los_item[los1][1],los_item[los1][2])
- los2 = number(1, 27)
- pc.give_item2(los_item[los2][1],los_item[los2][2])
- pc.give_item2(120344,5)
- local n =number(1,100)
- if n < 6 then
- game.drop_item(71106, 1)
- end
- end
- end
- if npc.get_race() == 965 then
- local los_item = {
- {27992,100},
- {27992,150},
- {27992,300},
- {27992,500},
- {71052,1},
- {43013,1},
- {43023,1},
- {71044,5},
- {71045,5},
- {120337,1},
- {120106,2},
- {120107,2},
- {120108,2},
- {120109,2},
- {120110,2},
- {50037,5},
- {50011,5},
- {50034,5},
- {71018,2},
- {71019,2},
- {71020,2},
- {120182,5},
- {120184,5}
- }
- los = number(1, 23)
- pc.give_item2(los_item[los][1],los_item[los][2])
- los1 = number(1, 23)
- pc.give_item2(los_item[los1][1],los_item[los1][2])
- los2 = number(1, 23)
- pc.give_item2(los_item[los2][1],los_item[los2][2])
- local n =number(1,100)
- if n < 6 then
- game.drop_item(71106, 1)
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement