Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- quest consegna begin state start begin
- function getInfo(s)
- local info = {['livello']=100, -- livello per la consegna
- ['item']=10, -- valuedel item da consegnare
- ['quantità']=1 -- quantità di item da consegnare
- }
- return rawget(info, s)
- end
- when login or levelup with pc.get_level() >= consegna.getInfo('livello') begin
- pc.give_item2(consegna.getInfo('item'), consegna.getInfo('quantità'))
- set_state(__FINE__)
- end
- end
- state __FINE__ begin
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement