Code simplification.
This commit is contained in:
parent
c9abf8243c
commit
6166d687b9
1 changed files with 4 additions and 6 deletions
10
actions.c
10
actions.c
|
@ -392,13 +392,11 @@ static int drink(token_t verb, token_t obj)
|
|||
return(8000);
|
||||
if (obj != BLOOD) {
|
||||
if (obj != 0 && obj != WATER)spk=110;
|
||||
if (spk == 110 || LIQUID() != WATER || !HERE(BOTTLE)) {
|
||||
RSPEAK(spk);
|
||||
return GO_CLEAROBJ;
|
||||
if (spk != 110 && LIQUID() == WATER && HERE(BOTTLE)) {
|
||||
game.prop[BOTTLE]=1;
|
||||
game.place[WATER]=0;
|
||||
spk=74;
|
||||
}
|
||||
game.prop[BOTTLE]=1;
|
||||
game.place[WATER]=0;
|
||||
spk=74;
|
||||
} else {
|
||||
DSTROY(BLOOD);
|
||||
game.prop[DRAGON]=2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue