fix typo in filename
remove unused fields
add type comments
comment fix
give returns false if there is not room in the players inventory
refactor AbstractScriptManager to ScriptManager
refactor mode to policy