Wrong file, try registeruserobject.cs
DTS
MissionRegObject( RpgItems, "sword", MissionCreateObject, sword, StaticShape, sword );
MissionRegObject( Phantom, "PhantomTree2", MissionCreateObject, PhantomStrangerTree2, StaticShape, PhantomStrangerTree2 );
DIS
missionRegDis(AK, tent);