Skip to content

Commit

Permalink
Quest do Arruaceiro agora checa os items no storage
Browse files Browse the repository at this point in the history
É uma feature que to devendo a um tempo já
a habilidade de checar se tem algum dos items necessários para a quest
no armazém. Agora tá aí
closes #161
Infelizmente não testei porque meu PC não instala Perl nem a pau
  • Loading branch information
Nipodemos committed Jun 3, 2019
1 parent 65688cb commit 11b9c8a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion classes/gatuno__arruaceiro__desordeiro/quest-c-2.pm
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,19 @@ automacro virarArruaceiro_etapa3_coletarItens {
$qtdUnha = &invamount (957)
$qtdOsso = &invamount (932)
$qtdMandibula = &invamount (958)


log = Checando se tenho Erva Azul no armazém
pegarItemDoArmazenSeTiver "Erva Azul" 7

log = Checando se tenho Unha Apodrecida no armazém
pegarItemDoArmazenSeTiver "Unha Apodrecida" 10

log = Checando se tenho Osso no armazém
pegarItemDoArmazenSeTiver "Osso" 10

log = Checando se tenho Mandíbula Horrenda no armazém
pegarItemDoArmazenSeTiver "Mandíbula Horrenda" 10

if ( $qtdErvaAzul < 6 ) { #primeiro a coletar: Erva Azul
[
do conf lockMap cmd_fild02
Expand Down

0 comments on commit 11b9c8a

Please sign in to comment.