do_owhere recursive
Author
Submitted by
Version
D/L
File Size
Date Added
Last Updated
Khonsu
Khonsu
2.23
80
3.99 KB
Apr 3, 2024
Description
This is a small change to the do_owhere function so that objects within objects are displayed when using the standard "where obj" command. This functionality mostly already existed within 'where obj Example:
where obj sword
( 1) [ 6007] Sword of the Phoenix -> invent [ 6049] Fordwyn
( 2) [ 7724] A black spade sword -> invent [ 7749] The Jack of Spades
( 3) [ 7724] A black spade sword -> invent [ 7750] The Queen of Spades
( 4) [ 7724] A black spade sword -> invent [ 7751] The King of Spades
( 5) [ 7728] Kaeburayn -> room [ 7721] Within the Rose Garden
( 6) [ 6007] Sword of the Phoenix -> object [ 11418] a bag-> object [ 2869] A cloth bag-> invent [ 0] Khonsu
( 7) [ 6007] Sword of the Phoenix -> overland [One] 223 669
( 8) [ 6007] Sword of the Phoenix -> invent [ 0] Khonsu
( 9) [ 2894] An Abecedarium longsword -> object [ 2869] A cloth bag-> overland [One] 220 669
Installation instructions are pretty simple, just replace your do_owhere and include the show_obj_location function in act_wiz.cpp. If you have made custom changes to your do_owhere you might want to review how this works instead of directly replacing it.
Revisions: 0
Rating:
| Download
| Comments(0)