me.TR(me);
me.TD(me, 1, 0.5, e = makeXonoticCommandButton(_("* object info"), '0 0 0', "sandbox object_info object; toggleconsole", 0));
me.TD(me, 1, 0.5, e = makeXonoticCommandButton(_("* mesh info"), '0 0 0', "sandbox object_info mesh; toggleconsole", 0));
- me.TDempty(me, 1);
+ me.TD(me, 1, 0.5, e = makeXonoticCommandButton(_("* attachment info"), '0 0 0', "sandbox object_info attachments; toggleconsole", 0));
+ me.TDempty(me, 0.5);
me.TD(me, 1, 0.5, e = makeXonoticCommandButton(_("Show help"), '1 0 0', "sandbox help; toggleconsole", 0));
me.TD(me, 1, 1.5, e = makeXonoticTextLabel(0, _("* is the object you are facing")));
print_to(self, "^7\"^2object_info ^3value^7\" shows public information about the object");
print_to(self, "^3object ^7- prints general information about the object, such as owner and creation / editing date");
print_to(self, "^3mesh ^7- prints information about the object's mesh, including skeletal bones");
+ print_to(self, "^3attachments ^7- prints information about the object's attachments");
print_to(self, "^7The ^1drag object ^7key can be used to grab and carry objects. Players can only grab their own objects");
return TRUE;
print_to(self, strcat("^2SANDBOX - INFO: ^7Object mesh is \"^3", e.model, "^7\" at animation frame ^3", ftos(e.frame), " ^7containing the following tags: ", s));
return TRUE;
case "attachments":
- // should show the same info as "mesh" but for attachments
+ // this should show the same info as 'mesh' but for attachments
entity head;
for(head = world; (head = find(head, classname, "object")); )
{