It seems to be a problem with the clips. Here is the error message from one I created a while ago:
> clone 44magclip
/realms/alexander/weapons/44magclip.c line 6: Undefined function ShowAmmo
---
*Error in loading object '/realms/alexander/weapons/44magclip'
Object: /cmds/creators/clone at line 21
'<function>' at /secure/save/creators/a/alexander (<function>) at /:0
'cmdAll' at /secure/save/creators/a/alexander (/lib/command.c) at line 93
'cmd' at /cmds/creators/clone at line 21
'CATCH' at /cmds/creators/clone at line 21
Trace written to /log/catch
Error in cloning object: *Error in loading object '/realms/alexander/weapons/44magclip'
#include <lib.h>
#include <vendor_types.h>
inherit "/lib/clip";
int CheckClip() {
write("" + ShowAmmo() + " rounds in clip.");
return 1;
}
void create(){
::create();
SetKeyName("44magclip");
SetId(({"clip","magazine"}));
SetAdjectives(({"44mag","ammunition","ammo","44 cal magnum","clip"}));
SetShort("44mag clip");
SetLong("This is an extended combat magazine for an AutoMag pistol. "+
"\nIt can hold up to 32 rounds.\n");
SetCaliber(44);
SetMaxAmmo(32);
SetAmmoType("acp");
SetBaseCost("silver",20);
SetVendorType(VT_TREASURE);
SetInventory(([
"/realms/alexander/weapons/round44" : 32
]));
}
void init() {
::init();
add_action ("CheckClip", "check");
}
I guess ShowAmmo has been removed?
A.T
(-)