CAAD
https://foro.caad.es/

ROMPER CON
https://foro.caad.es/viewtopic.php?f=12&t=5265
Página 1 de 1

Autor:  victorbcn [ 09 Jun 2012 20:06 ]
Asunto:  ROMPER CON

tengo este código

Código:
Include Spanish by Sebastian Arg.
Instead of telling someone about something, try asking the noun about it. Instead of answering the noun that something, try asking the noun about it.

The celda is a room. The printed name is "Celda".
The description is "Estás en una celda. Cuatro paredes de cemento te rodean. " .

the puerta is here.
the barra is an object. It is carried by the player.

instead of attacking the puerta,
   say "Con las manos desnudas no puedes.".



romper puerta da un mensaje correcto, pero me gustaría poder romper la puerta con la barra.
¿Como se implementa "romper puerta con barra"?

Autor:  victorbcn [ 09 Jun 2012 20:26 ]
Asunto:  Re: ROMPER CON

solucionado:

Código:
Include Spanish by Sebastian Arg.
Instead of telling someone about something, try asking the noun about it. Instead of answering the noun that something, try asking the noun about it.

attackingConing is an action applying to two things.
understand "rompe [something] con [other things]" as attackingConing.
understand "rompe [something]" as attacking.

The celda is a room. The printed name is "Celda".
The description is "Estás en una celda. Cuatro paredes de cemento te rodean. " .

the puerta is here. It is female.
the barra is an object. It is female. It is carried by the player.

instead of attacking the puerta:
   say "Con las manos desnudas no puedes.".
   
instead of attackingConing the puerta:
   if second noun is barra begin;
      say "Rompes la puerta con la barra";
   end if.
   

Página 1 de 1 Todos los horarios son UTC + 1 hora
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/