projects
/
rogue-pphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add README.
[rogue-pphs.git]
/
romance.c
diff --git
a/romance.c
b/romance.c
index
7d92edc
..
f1daa06
100644
(file)
--- a/
romance.c
+++ b/
romance.c
@@
-3,7
+3,7
@@
*
* @(#)romance.c 3.2 (Berkeley) 6/15/81
*
*
* @(#)romance.c 3.2 (Berkeley) 6/15/81
*
- * Rogue: Exploring the
Dungeons of Doom
+ * Rogue: Exploring the
Cavern of Cuties
* Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman
* All rights reserved.
*
* Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman
* All rights reserved.
*
@@
-74,6
+74,7
@@
int ydelta, xdelta;
"The %s is sick of your crap.",
};
msg(rndchoice(msgs), killname(tp->t_type));
"The %s is sick of your crap.",
};
msg(rndchoice(msgs), killname(tp->t_type));
+ wake_monster(tp->t_pos.y, tp->t_pos.x);
}
else
{
}
else
{
@@
-111,12
+112,13
@@
int ydelta, xdelta;
return;
liking = count_bits_set(
return;
liking = count_bits_set(
- hash(
(op->o_type << 4) ^
op->o_which) & tp->t_stats.s_ont) - 1;
- if (
liking == 0
+ hash(
op->o_type *
op->o_which) & tp->t_stats.s_ont) - 1;
+ if (
(liking == 0 || liking == -1)
|| liking > 0 && tp->t_stats.s_int <= MAYBE_INTERESTED)
{
const char *msgs[] = {
"The %s ignores %s",
|| liking > 0 && tp->t_stats.s_int <= MAYBE_INTERESTED)
{
const char *msgs[] = {
"The %s ignores %s",
+ "The %s doesn't care for %s",
"The %s isn't interested in %s",
};
msg(rndchoice(msgs), killname(tp->t_type), inv_name(op, TRUE));
"The %s isn't interested in %s",
};
msg(rndchoice(msgs), killname(tp->t_type), inv_name(op, TRUE));
@@
-126,12
+128,12
@@
int ydelta, xdelta;
{
const char *msgs[] = {
"The %s accepts %s.",
{
const char *msgs[] = {
"The %s accepts %s.",
- "The %s takes %s.",
+ "The %s
smiles and
takes %s.",
};
msg(rndchoice(msgs), killname(tp->t_type), inv_name(op, TRUE));
tp->t_stats.s_int += liking * 10;
}
};
msg(rndchoice(msgs), killname(tp->t_type), inv_name(op, TRUE));
tp->t_stats.s_int += liking * 10;
}
- else
if (liking < 0)
+ else
{
const char *msgs[] = {
"The %s throws away %s.",
{
const char *msgs[] = {
"The %s throws away %s.",
@@
-140,6
+142,7
@@
int ydelta, xdelta;
};
msg(rndchoice(msgs), killname(tp->t_type), inv_name(op, TRUE));
tp->t_stats.s_int -= liking * 2;
};
msg(rndchoice(msgs), killname(tp->t_type), inv_name(op, TRUE));
tp->t_stats.s_int -= liking * 2;
+ wake_monster(tp->t_pos.y, tp->t_pos.x);
}
/*
}
/*
@@
-187,7
+190,7
@@
embrace()
msg("You wrap your arms around yourself.");
return;
}
msg("You wrap your arms around yourself.");
return;
}
- else if (tp->t_stats.s_int <
INTERESTED
)
+ else if (tp->t_stats.s_int <
READY
)
{
if (tp->t_stats.s_int > 0)
tp->t_stats.s_int /= 2;
{
if (tp->t_stats.s_int > 0)
tp->t_stats.s_int /= 2;