07.05.2013 Views

MODVS VIVENDI - SPAC - Club de Aventuras AD

MODVS VIVENDI - SPAC - Club de Aventuras AD

MODVS VIVENDI - SPAC - Club de Aventuras AD

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TUTORIAL<br />

}<br />

return 1;<br />

}<br />

return 0;<br />

}<br />

if (co<strong>de</strong>0,j=1:j0 <strong>de</strong>vuelve el número <strong>de</strong> palabras escritas,num_words = parse-->0;<br />

{!mnfo<br />

thisword = WordAddress(j);<br />

thislength = WordLength(j);<br />

if ( thisword -> 0 >= 'a' && thisword -> 0 0=='j' && thisword->1=='a' && thisword->2=='r' && thisword->3=='r' && thisword->4=='a')<br />

{if(variable1==0)variable1=1;}<br />

if(thisword->0=='l' && thisword->1=='e' && thisword->2=='c' && thisword->3=='h' && thisword->4=='e')<br />

{if(variable1==1)variable1=2;else variable1=3;}<br />

} !blucle<br />

}!mnfo<br />

!Resumen:<br />

!Si el jugador ha escrito jarra antes que leche, variable1 valdrá 2<br />

!Si el jugador ha escrito leche antes que jarra, variable1 valdrá 3<br />

!Si el jugador ha escrito jarra, pero no leche, variable1 valdrá 1<br />

];<br />

!###########################################<br />

object limbo "limbo"<br />

with<br />

! Esto no sirve para nada, es para evitar un error si no <strong>de</strong>claramos<br />

! al menos una vez la propiedad prioritario<br />

prioritario 0,<br />

;<br />

object habitacion "habitacion"<br />

with<br />

<strong>de</strong>scription "...",<br />

has light;<br />

<strong>SPAC</strong> – Octubre 2010 / 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!