addiction get_next( JsonIn &jin ) const { JsonObject jo = jin.get_object(); return addiction( addiction_type( jo.get_string( "type" ) ), jo.get_int( "intensity" ) ); }
void profession::add_addiction(add_type type,int intensity) { _starting_addictions.push_back(addiction(type,intensity)); }