Files
nethack/include
nethack.rankin 66f95ef37c Heart of Ahriman hack (trunk only)
From a four year old news posting:  hero was levitating via #invoke
on the Heart of Ahriman, then dropping that artifact yielded:
  You drop a gray stone named The Heart of Ahriman.
  You float gently to the floor.
  A gray stone named The Heart of Ahriman hits the floor.
That might be strictly correct, assuming that both hero and stone fall at
the same speed; if the stone was dropped from perhaps waist height then
the hero's feet would touch first.  But it looks strange, like a cartoon
where something hangs in midair until someone notices that it should fall.

     Removing the artifact from inventory causes the #invoke property to
toggle off.  Unfortunately it has to be done here before the object can
be placed at its destination.  Modifying message order seemed unviable;
this fix fiddles with the Levitation property in order to defer hero's
descent until after object handling is finished.  Now same setup gives:
  You drop a gray stone named The Heart of Ahriman.
  A gray stone named The Heart of Ahriman hits the floor.
  You float gently to the floor.
  You see here a gray stone named The Heart of Ahriman.
2007-06-03 01:05:43 +00:00
..
2002-01-18 02:50:06 +00:00
2002-01-05 21:05:47 +00:00
2006-10-17 23:55:42 +00:00
2006-10-08 21:37:58 +00:00
2007-03-03 05:07:53 +00:00
2006-10-01 21:17:38 +00:00
2007-06-03 01:05:43 +00:00
2002-01-05 21:05:47 +00:00
2007-01-19 03:02:05 +00:00
2002-01-05 21:05:47 +00:00
2006-04-14 16:23:56 +00:00
2005-03-13 05:29:01 +00:00
2007-04-30 02:18:03 +00:00
2007-04-08 04:35:19 +00:00
2007-04-01 01:20:57 +00:00
2006-09-21 01:46:15 +00:00
2007-01-09 05:29:17 +00:00
2006-07-10 02:10:22 +00:00
2006-01-06 05:46:03 +00:00
2002-01-05 21:05:48 +00:00
2006-10-17 23:55:42 +00:00
2006-02-12 06:24:25 +00:00
2006-10-02 13:15:50 +00:00
2005-01-02 20:55:41 +00:00
2006-10-26 23:30:00 +00:00
2006-10-08 21:37:58 +00:00
2006-10-02 13:15:50 +00:00
2005-01-23 19:39:01 +00:00
2007-01-18 04:16:03 +00:00
2006-10-17 23:55:42 +00:00
2006-03-02 05:54:04 +00:00
2007-03-18 03:26:43 +00:00