A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Nemesis bulletin boards: LPC bulletin board, note 5

/obj/chest.c (Quicksilver, Nov 11 1993, 24)
The chest in /obj/chest.c is not what it should be i think...
I did inherit it and found out it doesn't allow you to put things in it.
I made a copy and inserted 2 lines, should work properly now.
You can have a look at it in ~quicksilver/pub/chest.c
Perhaps someone with write-access would like to put it in the /obj -dir ?
Nice coding to all of you..
                             ];) Quick

Addendum: more than 2 decades later an answer: the new obj/chest and
the answer below :-) \Kiri

Here you can discuss LPC issues like how to code this and that,
who has coded something like this or how that works etc.
As there are no real "secrets" on this board it is now
available via https://nemesis.de/lpc/board/10/ , too.
The board contains 23 notes:
  1. forcing and removing files (Shadowfax, Jul 29 1993, 29)
  2. Re: Has someone coded chairs already? (Ping, Oct 23 1993, 30)
  3. How does under_water work? (Jhudsui, Oct 28 1993, 28)
  4. Request for "query_action()" in living.c (Kilroy, Oct 29 1993, 25)
  5. /obj/chest.c (Quicksilver, Nov 11 1993, 24)
  6. Amulet of Blinding ? (Mambres, Nov 11 1993, 22)
  7. Re: Amulet of Blinding ? (Poe, Nov 20 1993, 48)
  8. P_DESTRUCT_WHEN_SOLD (Mambres, Dec 4 1993, 22)
  9. set_items(({ "sky"... (Mambres, Jan 12 1994, 24)
  10. Howto add default items to a standard shop? (Berny, Dec 23 2001, 30)
  11. Use of this_player()->more(...) (Teddy, May 11 2002, 29)
  12. Re: Howto add default items to a standard shop? (Teddy, May 13 2002, 29)
  13. Re: Use of this_player()->more(...) (Kiri, May 22 2016, 62)
  14. Re: missing string efuns... (Kiri, Aug 15 2016, 62)
  15. Re: Request for "query_action()" in living.c (Kiri, Aug 15 2016, 62)
  16. Re: How does under_water work? (Kiri, Aug 15 2016, 62)
  17. Re: /obj/chest.c (Kiri, Aug 15 2016, 62)
  18. Re: Has someone coded chairs already? (Kiri, Aug 15 2016, 62)
  19. Re: P_DESTRUCT_WHEN_SOLD (Kiri, Aug 16 2016, 62)
  20. Re: forcing and removing files (Kiri, Aug 17 2016, 62)
  21. New support for feelings with monsters (Teddy, Jan 28 2017, 50)
  22. Re: set_items(({ "sky"... (Kiri, Nov 17 2017, 62)
  23. P_AREA property (Teddy, Nov 26 2017, 50)

This page was generated in LPC

Imprint / Impressum