moved actions to action.c; implemented wielding