Time: Mon Dec 15 22:12:44 2025 CST
Player:  (#-5459)

{{#3327, "get_content", #768, #3327, #-5459, 49}, {#648, "find_page", #101, #648, #-5459, 23}, {#648, "get", #101, #648, #-5459, 3}, {#650, "GET", #101, #650, #-5459, 64}}

#3327:get_content(this none this) "Copied from rooms/ (#1485):get_content by vender (#768) Wed Mar 7 13:29:44 2001 CST"; {path, headers, authorization} = args; if (length(path) != 1 || !valid(toobj(path[1]))) object = $player_start; else object = toobj(path[1]); endif page = {"Blackwood Browser on " + object.name + ""}; page = {@page, ""}; page = {@page, "Back to the Blackwood Interactive Map

"}; if ($object_utils:has_property(object, "description")) desc = object.description ? object.description | "(not set)"; else desc = "Doesn't have a description property!"; endif if (typeof(desc) == LIST) temp_desc = {}; for desc_line in (desc) temp_desc = {@temp_desc, desc_line + "
"}; endfor desc = temp_desc; else desc = {desc}; endif location = object.location; contents = object.contents; page = {@page, object.name + " (" + tostr(object) + ")
"}; if (valid(location)) locationstr = "Location: " + location.name + " (" + tostr(location) + ")"; else locationstr = ""; endif page = {@page, locationstr + "
"}; page = {@page, "Description:
", @desc, "
"}; counter = 1; maxcounter = length(contents); contentstr = ""; while (counter <= maxcounter) if (contents[counter] in players() && !(contents[counter] in connected_players())) else contentstr = contentstr + "" + contents[counter].name + " (" + tostr(tonum(contents[counter])) + ")
"; endif counter = counter + 1; endwhile if ($object_utils:has_property(object, "exits")) exitstr = "Exits:
"; counter = 1; while (counter <= length(object.exits)) exitstr = exitstr + "" + object.exits[counter].name + "
";
counter = counter + 1; endwhile else exitstr = ""; endif page = {@page, exitstr}; page = {@page, "Contents:
" + contentstr + "
"}; page = {@page, ""}; return {"text/html", page};