Section 5 - Yerk el orco
[--------------------------------------------------
Yerk.
Yerk es un orco enorme. Una
alternativa a usar el icalante.
--------------------------------------------------]
Un yerk is an orco. It is in Pantano19. It is male.
The description of yerk is "[if the player is yerk]Tu actual portador no es precisamente de tu gusto. [end if]Este orco es... grande. Sí, ese adjetivo lo define por completo. Grande de tamaño, grande en ignorancia y grande en estupidez."
Cuerpo of yerk is yerk_muerto.
The printed name of yerk is "orco enorme".
Understand "enorme" as yerk.
The drive of yerk is 100. [ se mueve siempre ]
The turn frequency of yerk is 2. [pero se plantea cada turno]
The yerk is aimless. [aleatorio en principio]
[no hay puertas pero por si acaso]
The openingcapability of yerk is unlockedonly.
The reclosingcapability of yerk is leave.
Understand "portador" as yerk when the player is yerk.
[Empieza el juego patrullando]
Yerk is esperando.
[Ha sido poseido?]
Yerk can be antiguo poseso. Yerk is not antiguo poseso.
[No lo activamos al principio]
[ACCIONES de Yerk según estado]
[ESPERANDO]
This is the yerkEsperando rule:
if yerk is in the location and (the player is icalante or the player is nuhur):
say "[The yerk] se levanta con cara de muy pocos amigos.";
now yerk is persiguiendo;
now yerk is following;
activate yerk.
[PATRULLANDO]
This is the yerkPatrullando rule:
if yerk is in the location:
if the player is not an orco or yerk is antiguo poseso:
say "[The yerk] grita: 'J'sosk Zug!.' que asco de lengua.";
now yerk is persiguiendo;
now yerk is following;
now buscando of yerk is 0;
otherwise if the player is an orco:
if a random chance of 1 in 4 succeeds:
say "[one of][The yerk] grita: '[el portador]. Morhg mouhk. ¿[el portador]? Mouhk.' te sorprende que pueda decir tantas cosas juntas.[or][The yerk] mira al infinito durante algunos segundos. Se le cae la baba. La recoge con una de las manos y la mira. Meditaciones orcas, no cabe duda.[or][The yerk] mira una hoja, duda un momento, y la lame. Pone cara de desagrado. Imbécil.[or][The yerk] silba. ¿Una canción orca tal vez? En cualquier caso es un ruido desagradable.[at random]";
otherwise:
hacer que yerk haga de orco;
otherwise:
hacer que yerk haga de orco.
[PERSIGUIENDO]
This is the yerkPersiguiendo rule:
if yerk is in the location:
now buscando of yerk is 0;
if lobo is visible and lobo is contentado:
say "[The yerk] te ataca pero el lobo se interpone y lo hace recular.";
otherwise if icalante is visible and icalante is i_siguiendote:
say "[The yerk] te ataca pero el icalante se interpone y lo hace recular.";
otherwise:
say "[The yerk] te ataca haciendo un esfuerzo tan grande que casi parece cómico.";
if a random chance of 5 in 6 succeeds:
say "Pero falla. [The yerk] es menos peligroso de lo que parecía.";
otherwise:
say "Y de un solo golpe arranca la cabeza [if the player is nuhur]del pobre retrasado[otherwise if the player is an orco]de su antiguo compañero[otherwise]del simio naranja[end if].";
morir en el pantano;
otherwise:
increase buscando of yerk by 1;
if a random chance of buscando of yerk in 25 succeeds:
[Zhur se cansa a veces de perseguir]
now Yerk is patrullando;
now yerk is aimless.
[ GENERAL ]
Every turn:
if the player is not yerk and yerk is not muerto:
if yerk is patrullando:
follow yerkPatrullando rule;
otherwise if yerk is persiguiendo:
follow yerkPersiguiendo rule;
otherwise if yerk is esperando:
follow yerkEsperando rule.
[REACCIONES de Yerk según estado]